@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetImageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
BatchGetImageRequest() |
| Modifier and Type | Method and Description |
|---|---|
BatchGetImageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAcceptedMediaTypes()
The accepted media types for the request.
|
List<ImageIdentifier> |
getImageIds()
A list of image ID references that correspond to images to describe.
|
String |
getRegistryId()
The Amazon Web Services account ID associated with the registry that contains the images to describe.
|
String |
getRepositoryName()
The repository that contains the images to describe.
|
int |
hashCode() |
void |
setAcceptedMediaTypes(Collection<String> acceptedMediaTypes)
The accepted media types for the request.
|
void |
setImageIds(Collection<ImageIdentifier> imageIds)
A list of image ID references that correspond to images to describe.
|
void |
setRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry that contains the images to describe.
|
void |
setRepositoryName(String repositoryName)
The repository that contains the images to describe.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetImageRequest |
withAcceptedMediaTypes(Collection<String> acceptedMediaTypes)
The accepted media types for the request.
|
BatchGetImageRequest |
withAcceptedMediaTypes(String... acceptedMediaTypes)
The accepted media types for the request.
|
BatchGetImageRequest |
withImageIds(Collection<ImageIdentifier> imageIds)
A list of image ID references that correspond to images to describe.
|
BatchGetImageRequest |
withImageIds(ImageIdentifier... imageIds)
A list of image ID references that correspond to images to describe.
|
BatchGetImageRequest |
withRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry that contains the images to describe.
|
BatchGetImageRequest |
withRepositoryName(String repositoryName)
The repository that contains the images to describe.
|
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, withSdkRequestTimeoutpublic void setRegistryId(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.
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 String getRegistryId()
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 BatchGetImageRequest withRegistryId(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.
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 void setRepositoryName(String repositoryName)
The repository that contains the images to describe.
repositoryName - The repository that contains the images to describe.public String getRepositoryName()
The repository that contains the images to describe.
public BatchGetImageRequest withRepositoryName(String repositoryName)
The repository that contains the images to describe.
repositoryName - The repository that contains the images to describe.public List<ImageIdentifier> getImageIds()
A list of image ID references that correspond to images to describe. 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 describe. The format of the imageIds
reference is imageTag=tag or imageDigest=digest.
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.public BatchGetImageRequest withImageIds(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.
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 describe. The format of the
imageIds reference is imageTag=tag or imageDigest=digest.public BatchGetImageRequest withImageIds(Collection<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.
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.public List<String> getAcceptedMediaTypes()
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
Valid values: application/vnd.docker.distribution.manifest.v1+json |
application/vnd.docker.distribution.manifest.v2+json |
application/vnd.oci.image.manifest.v1+json
public void setAcceptedMediaTypes(Collection<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
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
public BatchGetImageRequest withAcceptedMediaTypes(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
NOTE: This method appends the values to the existing list (if any). Use
setAcceptedMediaTypes(java.util.Collection) or withAcceptedMediaTypes(java.util.Collection) if
you want to override the existing values.
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
public BatchGetImageRequest withAcceptedMediaTypes(Collection<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
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
public String toString()
toString in class ObjectObject.toString()public BatchGetImageRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()