@Generated(value="software.amazon.awssdk:codegen") public final class BatchGetImageRequest extends EcrRequest implements ToCopyableBuilder<BatchGetImageRequest.Builder,BatchGetImageRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
BatchGetImageRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
acceptedMediaTypes()
The accepted media types for the request.
|
static BatchGetImageRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAcceptedMediaTypes()
For responses, this returns true if the service returned a value for the AcceptedMediaTypes property.
|
int |
hashCode() |
boolean |
hasImageIds()
For responses, this returns true if the service returned a value for the ImageIds property.
|
List<ImageIdentifier> |
imageIds()
A list of image ID references that correspond to images to describe.
|
String |
registryId()
The Amazon Web Services account ID associated with the registry that contains the images to describe.
|
String |
repositoryName()
The repository that contains the images to describe.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BatchGetImageRequest.Builder> |
serializableBuilderClass() |
BatchGetImageRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String registryId()
The Amazon Web Services account ID associated with the registry that contains the images to describe. If you do not specify a registry, the default registry is assumed.
public final String repositoryName()
The repository that contains the images to describe.
public final boolean hasImageIds()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<ImageIdentifier> imageIds()
A list of image ID references that correspond to images to describe. 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasImageIds() method.
imageIds reference is imageTag=tag or imageDigest=digest.public final boolean hasAcceptedMediaTypes()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> acceptedMediaTypes()
The accepted media types for the request.
Valid values: application/vnd.docker.distribution.manifest.v1+json |
application/vnd.docker.distribution.manifest.v2+json |
application/vnd.oci.image.manifest.v1+json
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAcceptedMediaTypes() method.
Valid values: application/vnd.docker.distribution.manifest.v1+json |
application/vnd.docker.distribution.manifest.v2+json |
application/vnd.oci.image.manifest.v1+json
public BatchGetImageRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BatchGetImageRequest.Builder,BatchGetImageRequest>toBuilder in class EcrRequestpublic static BatchGetImageRequest.Builder builder()
public static Class<? extends BatchGetImageRequest.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 © 2023. All rights reserved.