@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 corresponding to the image.
|
String |
getImageManifest()
The image manifest corresponding 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 associated with the registry that contains the repository in which to put the
image.
|
String |
getRepositoryName()
The name of the repository in which to put the image.
|
int |
hashCode() |
void |
setImageDigest(String imageDigest)
The image digest of the image manifest corresponding to the image.
|
void |
setImageManifest(String imageManifest)
The image manifest corresponding 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 associated with the registry that contains the repository in which to put the
image.
|
void |
setRepositoryName(String repositoryName)
The name of the repository in which to put the image.
|
String |
toString()
Returns a string representation of this object.
|
PutImageRequest |
withImageDigest(String imageDigest)
The image digest of the image manifest corresponding to the image.
|
PutImageRequest |
withImageManifest(String imageManifest)
The image manifest corresponding 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 associated with the registry that contains the repository in which to put the
image.
|
PutImageRequest |
withRepositoryName(String repositoryName)
The name of the repository in which to put the image.
|
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 repository in which to put the image. 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 repository in which to
put the image. 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 repository in which to put the image. If you do not specify a registry, the default registry is assumed.
public PutImageRequest withRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry that contains the repository in which to put the image. 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 repository in which to
put the image. If you do not specify a registry, the default registry is assumed.public void setRepositoryName(String repositoryName)
The name of the repository in which to put the image.
repositoryName
- The name of the repository in which to put the image.public String getRepositoryName()
The name of the repository in which to put the image.
public PutImageRequest withRepositoryName(String repositoryName)
The name of the repository in which to put the image.
repositoryName
- The name of the repository in which to put the image.public void setImageManifest(String imageManifest)
The image manifest corresponding to the image to be uploaded.
imageManifest
- The image manifest corresponding to the image to be uploaded.public String getImageManifest()
The image manifest corresponding to the image to be uploaded.
public PutImageRequest withImageManifest(String imageManifest)
The image manifest corresponding to the image to be uploaded.
imageManifest
- The image manifest corresponding 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 does not 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 does not 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 does not 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 does not 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 does not 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 corresponding to the image.
imageDigest
- The image digest of the image manifest corresponding to the image.public String getImageDigest()
The image digest of the image manifest corresponding to the image.
public PutImageRequest withImageDigest(String imageDigest)
The image digest of the image manifest corresponding to the image.
imageDigest
- The image digest of the image manifest corresponding to the image.public String toString()
toString
in class Object
Object.toString()
public PutImageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()