@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteRepositoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteRepositoryRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteRepositoryRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getForce()
The force option can be used to delete a repository that contains images.
|
String |
getRegistryId()
The Amazon Web Services account ID that's associated with the public registry that contains the repository to
delete.
|
String |
getRepositoryName()
The name of the repository to delete.
|
int |
hashCode() |
Boolean |
isForce()
The force option can be used to delete a repository that contains images.
|
void |
setForce(Boolean force)
The force option can be used to delete a repository that contains images.
|
void |
setRegistryId(String registryId)
The Amazon Web Services account ID that's associated with the public registry that contains the repository to
delete.
|
void |
setRepositoryName(String repositoryName)
The name of the repository to delete.
|
String |
toString()
Returns a string representation of this object.
|
DeleteRepositoryRequest |
withForce(Boolean force)
The force option can be used to delete a repository that contains images.
|
DeleteRepositoryRequest |
withRegistryId(String registryId)
The Amazon Web Services account ID that's associated with the public registry that contains the repository to
delete.
|
DeleteRepositoryRequest |
withRepositoryName(String repositoryName)
The name of the repository to delete.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRegistryId(String registryId)
The Amazon Web Services account ID that's associated with the public registry that contains the repository to delete. If you do not specify a registry, the default public registry is assumed.
registryId
- The Amazon Web Services account ID that's associated with the public registry that contains the repository
to delete. If you do not specify a registry, the default public registry is assumed.public String getRegistryId()
The Amazon Web Services account ID that's associated with the public registry that contains the repository to delete. If you do not specify a registry, the default public registry is assumed.
public DeleteRepositoryRequest withRegistryId(String registryId)
The Amazon Web Services account ID that's associated with the public registry that contains the repository to delete. If you do not specify a registry, the default public registry is assumed.
registryId
- The Amazon Web Services account ID that's associated with the public registry that contains the repository
to delete. If you do not specify a registry, the default public registry is assumed.public void setRepositoryName(String repositoryName)
The name of the repository to delete.
repositoryName
- The name of the repository to delete.public String getRepositoryName()
The name of the repository to delete.
public DeleteRepositoryRequest withRepositoryName(String repositoryName)
The name of the repository to delete.
repositoryName
- The name of the repository to delete.public void setForce(Boolean force)
The force option can be used to delete a repository that contains images. If the force option is not used, the repository must be empty prior to deletion.
force
- The force option can be used to delete a repository that contains images. If the force option is not used,
the repository must be empty prior to deletion.public Boolean getForce()
The force option can be used to delete a repository that contains images. If the force option is not used, the repository must be empty prior to deletion.
public DeleteRepositoryRequest withForce(Boolean force)
The force option can be used to delete a repository that contains images. If the force option is not used, the repository must be empty prior to deletion.
force
- The force option can be used to delete a repository that contains images. If the force option is not used,
the repository must be empty prior to deletion.public Boolean isForce()
The force option can be used to delete a repository that contains images. If the force option is not used, the repository must be empty prior to deletion.
public String toString()
toString
in class Object
Object.toString()
public DeleteRepositoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()