@Generated(value="software.amazon.awssdk:codegen") public final class BatchDeleteImageRequest extends EcrRequest implements ToCopyableBuilder<BatchDeleteImageRequest.Builder,BatchDeleteImageRequest>
Deletes specified images within a specified repository. Images are specified with either the imageTag or
imageDigest.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BatchDeleteImageRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BatchDeleteImageRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasImageIds()
Returns true if the ImageIds property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
List<ImageIdentifier> |
imageIds()
A list of image ID references that correspond to images to delete.
|
String |
registryId()
The AWS account ID associated with the registry that contains the image to delete.
|
String |
repositoryName()
The repository that contains the image to delete.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BatchDeleteImageRequest.Builder> |
serializableBuilderClass() |
BatchDeleteImageRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
public final String repositoryName()
The repository that contains the image to delete.
public final boolean hasImageIds()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasImageIds() to see if a value was sent in this field.
imageIds reference is imageTag=tag or imageDigest=digest.public BatchDeleteImageRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BatchDeleteImageRequest.Builder,BatchDeleteImageRequest>toBuilder in class EcrRequestpublic static BatchDeleteImageRequest.Builder builder()
public static Class<? extends BatchDeleteImageRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.