public class DeleteRepositoryRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
force
Force the deletion of the repository if it contains images.
|
private java.lang.String |
registryId
The AWS account ID associated with the registry that contains the
repository to delete.
|
private java.lang.String |
repositoryName
The name of the repository to delete.
|
NOOP
Constructor and Description |
---|
DeleteRepositoryRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteRepositoryRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getForce()
Force the deletion of the repository if it contains images.
|
java.lang.String |
getRegistryId()
The AWS account ID associated with the registry that contains the
repository to delete.
|
java.lang.String |
getRepositoryName()
The name of the repository to delete.
|
int |
hashCode() |
java.lang.Boolean |
isForce()
Force the deletion of the repository if it contains images.
|
void |
setForce(java.lang.Boolean force)
Force the deletion of the repository if it contains images.
|
void |
setRegistryId(java.lang.String registryId)
The AWS account ID associated with the registry that contains the
repository to delete.
|
void |
setRepositoryName(java.lang.String repositoryName)
The name of the repository to delete.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteRepositoryRequest |
withForce(java.lang.Boolean force)
Force the deletion of the repository if it contains images.
|
DeleteRepositoryRequest |
withRegistryId(java.lang.String registryId)
The AWS account ID associated with the registry that contains the
repository to delete.
|
DeleteRepositoryRequest |
withRepositoryName(java.lang.String repositoryName)
The name of the repository to delete.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String registryId
The AWS account ID associated with the registry that contains the repository to delete. If you do not specify a registry, the default registry is assumed.
private java.lang.String repositoryName
The name of the repository to delete.
private java.lang.Boolean force
Force the deletion of the repository if it contains images.
public void setRegistryId(java.lang.String registryId)
The AWS account ID associated with the registry that contains the repository to delete. If you do not specify a registry, the default registry is assumed.
registryId
- The AWS account ID associated with the registry that contains the
repository to delete. If you do not specify a registry, the
default registry is assumed.public java.lang.String getRegistryId()
The AWS account ID associated with the registry that contains the repository to delete. If you do not specify a registry, the default registry is assumed.
public DeleteRepositoryRequest withRegistryId(java.lang.String registryId)
The AWS account ID associated with the registry that contains the repository to delete. If you do not specify a registry, the default registry is assumed.
registryId
- The AWS account ID associated with the registry that contains the
repository to delete. If you do not specify a registry, the
default registry is assumed.public void setRepositoryName(java.lang.String repositoryName)
The name of the repository to delete.
repositoryName
- The name of the repository to delete.public java.lang.String getRepositoryName()
The name of the repository to delete.
public DeleteRepositoryRequest withRepositoryName(java.lang.String repositoryName)
The name of the repository to delete.
repositoryName
- The name of the repository to delete.public void setForce(java.lang.Boolean force)
Force the deletion of the repository if it contains images.
force
- Force the deletion of the repository if it contains images.public java.lang.Boolean getForce()
Force the deletion of the repository if it contains images.
public DeleteRepositoryRequest withForce(java.lang.Boolean force)
Force the deletion of the repository if it contains images.
force
- Force the deletion of the repository if it contains images.public java.lang.Boolean isForce()
Force the deletion of the repository if it contains images.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DeleteRepositoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()