@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutImageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutImageRequest() |
Modifier and Type | Method and Description |
---|---|
PutImageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getImageDigest()
The image digest of the image manifest that corresponds to the image.
|
String |
getImageManifest()
The image manifest that corresponds to the image to be uploaded.
|
String |
getImageManifestMediaType()
The media type of the image manifest.
|
String |
getImageTag()
The tag to associate with the image.
|
String |
getRegistryId()
The Amazon Web Services account ID, or registry alias, that's associated with the public registry that contains
the repository where the image is put.
|
String |
getRepositoryName()
The name of the repository where the image is put.
|
int |
hashCode() |
void |
setImageDigest(String imageDigest)
The image digest of the image manifest that corresponds to the image.
|
void |
setImageManifest(String imageManifest)
The image manifest that corresponds to the image to be uploaded.
|
void |
setImageManifestMediaType(String imageManifestMediaType)
The media type of the image manifest.
|
void |
setImageTag(String imageTag)
The tag to associate with the image.
|
void |
setRegistryId(String registryId)
The Amazon Web Services account ID, or registry alias, that's associated with the public registry that contains
the repository where the image is put.
|
void |
setRepositoryName(String repositoryName)
The name of the repository where the image is put.
|
String |
toString()
Returns a string representation of this object.
|
PutImageRequest |
withImageDigest(String imageDigest)
The image digest of the image manifest that corresponds to the image.
|
PutImageRequest |
withImageManifest(String imageManifest)
The image manifest that corresponds to the image to be uploaded.
|
PutImageRequest |
withImageManifestMediaType(String imageManifestMediaType)
The media type of the image manifest.
|
PutImageRequest |
withImageTag(String imageTag)
The tag to associate with the image.
|
PutImageRequest |
withRegistryId(String registryId)
The Amazon Web Services account ID, or registry alias, that's associated with the public registry that contains
the repository where the image is put.
|
PutImageRequest |
withRepositoryName(String repositoryName)
The name of the repository where the image is put.
|
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, or registry alias, that's associated with the public registry that contains the repository where the image is put. If you do not specify a registry, the default public registry is assumed.
registryId
- The Amazon Web Services account ID, or registry alias, that's associated with the public registry that
contains the repository where the image is put. If you do not specify a registry, the default public
registry is assumed.public String getRegistryId()
The Amazon Web Services account ID, or registry alias, that's associated with the public registry that contains the repository where the image is put. If you do not specify a registry, the default public registry is assumed.
public PutImageRequest withRegistryId(String registryId)
The Amazon Web Services account ID, or registry alias, that's associated with the public registry that contains the repository where the image is put. If you do not specify a registry, the default public registry is assumed.
registryId
- The Amazon Web Services account ID, or registry alias, that's associated with the public registry that
contains the repository where the image is put. If you do not specify a registry, the default public
registry is assumed.public void setRepositoryName(String repositoryName)
The name of the repository where the image is put.
repositoryName
- The name of the repository where the image is put.public String getRepositoryName()
The name of the repository where the image is put.
public PutImageRequest withRepositoryName(String repositoryName)
The name of the repository where the image is put.
repositoryName
- The name of the repository where the image is put.public void setImageManifest(String imageManifest)
The image manifest that corresponds to the image to be uploaded.
imageManifest
- The image manifest that corresponds to the image to be uploaded.public String getImageManifest()
The image manifest that corresponds to the image to be uploaded.
public PutImageRequest withImageManifest(String imageManifest)
The image manifest that corresponds to the image to be uploaded.
imageManifest
- The image manifest that corresponds to the image to be uploaded.public void setImageManifestMediaType(String imageManifestMediaType)
The media type of the image manifest. If you push an image manifest that doesn't contain the
mediaType
field, you must specify the imageManifestMediaType
in the request.
imageManifestMediaType
- The media type of the image manifest. If you push an image manifest that doesn't contain the
mediaType
field, you must specify the imageManifestMediaType
in the request.public String getImageManifestMediaType()
The media type of the image manifest. If you push an image manifest that doesn't contain the
mediaType
field, you must specify the imageManifestMediaType
in the request.
mediaType
field, you must specify the imageManifestMediaType
in the request.public PutImageRequest withImageManifestMediaType(String imageManifestMediaType)
The media type of the image manifest. If you push an image manifest that doesn't contain the
mediaType
field, you must specify the imageManifestMediaType
in the request.
imageManifestMediaType
- The media type of the image manifest. If you push an image manifest that doesn't contain the
mediaType
field, you must specify the imageManifestMediaType
in the request.public void setImageTag(String imageTag)
The tag to associate with the image. This parameter is required for images that use the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.
imageTag
- The tag to associate with the image. This parameter is required for images that use the Docker Image
Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.public String getImageTag()
The tag to associate with the image. This parameter is required for images that use the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.
public PutImageRequest withImageTag(String imageTag)
The tag to associate with the image. This parameter is required for images that use the Docker Image Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.
imageTag
- The tag to associate with the image. This parameter is required for images that use the Docker Image
Manifest V2 Schema 2 or Open Container Initiative (OCI) formats.public void setImageDigest(String imageDigest)
The image digest of the image manifest that corresponds to the image.
imageDigest
- The image digest of the image manifest that corresponds to the image.public String getImageDigest()
The image digest of the image manifest that corresponds to the image.
public PutImageRequest withImageDigest(String imageDigest)
The image digest of the image manifest that corresponds to the image.
imageDigest
- The image digest of the image manifest that corresponds to the image.public String toString()
toString
in class Object
Object.toString()
public PutImageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.