public class BatchDeleteImageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Deletes specified images within a specified repository. Images are specified
with either the imageTag or imageDigest.
NOOP| Constructor and Description |
|---|
BatchDeleteImageRequest() |
| Modifier and Type | Method and Description |
|---|---|
BatchDeleteImageRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<ImageIdentifier> |
getImageIds()
A list of image ID references that correspond to images to delete.
|
String |
getRegistryId()
The AWS account ID associated with the registry that contains the image
to delete.
|
String |
getRepositoryName()
The repository that contains the image to delete.
|
int |
hashCode() |
void |
setImageIds(Collection<ImageIdentifier> imageIds)
A list of image ID references that correspond to images to delete.
|
void |
setRegistryId(String registryId)
The AWS account ID associated with the registry that contains the image
to delete.
|
void |
setRepositoryName(String repositoryName)
The repository that contains the image to delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchDeleteImageRequest |
withImageIds(Collection<ImageIdentifier> imageIds)
A list of image ID references that correspond to images to delete.
|
BatchDeleteImageRequest |
withImageIds(ImageIdentifier... imageIds)
A list of image ID references that correspond to images to delete.
|
BatchDeleteImageRequest |
withRegistryId(String registryId)
The AWS account ID associated with the registry that contains the image
to delete.
|
BatchDeleteImageRequest |
withRepositoryName(String repositoryName)
The repository that contains the image to delete.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setRegistryId(String registryId)
The AWS account ID associated with the registry that contains the image 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
image to delete. If you do not specify a registry, the default
registry is assumed.public String getRegistryId()
The AWS account ID associated with the registry that contains the image to delete. If you do not specify a registry, the default registry is assumed.
public BatchDeleteImageRequest withRegistryId(String registryId)
The AWS account ID associated with the registry that contains the image 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
image to delete. If you do not specify a registry, the default
registry is assumed.public void setRepositoryName(String repositoryName)
The repository that contains the image to delete.
repositoryName - The repository that contains the image to delete.public String getRepositoryName()
The repository that contains the image to delete.
public BatchDeleteImageRequest withRepositoryName(String repositoryName)
The repository that contains the image to delete.
repositoryName - The repository that contains the image to delete.public List<ImageIdentifier> getImageIds()
A list of image ID references that correspond to images to delete. The
format of the imageIds reference is
imageTag=tag or imageDigest=digest.
imageIds reference is
imageTag=tag or imageDigest=digest.public void setImageIds(Collection<ImageIdentifier> imageIds)
A list of image ID references that correspond to images to delete. The
format of the imageIds reference is
imageTag=tag or imageDigest=digest.
imageIds - A list of image ID references that correspond to images to delete.
The format of the imageIds reference is
imageTag=tag or imageDigest=digest.public BatchDeleteImageRequest withImageIds(ImageIdentifier... imageIds)
A list of image ID references that correspond to images to delete. The
format of the imageIds reference is
imageTag=tag or imageDigest=digest.
NOTE: This method appends the values to the existing list (if
any). Use setImageIds(java.util.Collection) or
withImageIds(java.util.Collection) if you want to override the
existing values.
imageIds - A list of image ID references that correspond to images to delete.
The format of the imageIds reference is
imageTag=tag or imageDigest=digest.public BatchDeleteImageRequest withImageIds(Collection<ImageIdentifier> imageIds)
A list of image ID references that correspond to images to delete. The
format of the imageIds reference is
imageTag=tag or imageDigest=digest.
imageIds - A list of image ID references that correspond to images to delete.
The format of the imageIds reference is
imageTag=tag or imageDigest=digest.public String toString()
toString in class ObjectObject.toString()public BatchDeleteImageRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.