@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<ImageIdentifier> |
getImageIds()
A list of image ID references that correspond to images to delete.
|
String |
getRegistryId()
The Amazon Web Services 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 Amazon Web Services 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.
|
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 Amazon Web Services account ID associated with the registry that contains the image to delete.
|
BatchDeleteImageRequest |
withRepositoryName(String repositoryName)
The repository that contains the image 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 associated with the registry that contains the image to delete. If you do not specify a registry, the default registry is assumed.
registryId
- The Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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 Object
Object.toString()
public BatchDeleteImageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()