public class PutImageRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
imageManifest
The image manifest corresponding to the image to be uploaded.
|
private java.lang.String |
registryId
The AWS account ID associated with the registry that contains the
repository in which to put the image.
|
private java.lang.String |
repositoryName
The name of the repository in which to put the image.
|
NOOP
Constructor and Description |
---|
PutImageRequest() |
Modifier and Type | Method and Description |
---|---|
PutImageRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getImageManifest()
The image manifest corresponding to the image to be uploaded.
|
java.lang.String |
getRegistryId()
The AWS account ID associated with the registry that contains the
repository in which to put the image.
|
java.lang.String |
getRepositoryName()
The name of the repository in which to put the image.
|
int |
hashCode() |
void |
setImageManifest(java.lang.String imageManifest)
The image manifest corresponding to the image to be uploaded.
|
void |
setRegistryId(java.lang.String registryId)
The AWS account ID associated with the registry that contains the
repository in which to put the image.
|
void |
setRepositoryName(java.lang.String repositoryName)
The name of the repository in which to put the image.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutImageRequest |
withImageManifest(java.lang.String imageManifest)
The image manifest corresponding to the image to be uploaded.
|
PutImageRequest |
withRegistryId(java.lang.String registryId)
The AWS account ID associated with the registry that contains the
repository in which to put the image.
|
PutImageRequest |
withRepositoryName(java.lang.String repositoryName)
The name of the repository in which to put the image.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String registryId
The AWS 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.
private java.lang.String repositoryName
The name of the repository in which to put the image.
private java.lang.String imageManifest
The image manifest corresponding to the image to be uploaded.
public void setRegistryId(java.lang.String registryId)
The AWS 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 AWS 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 java.lang.String getRegistryId()
The AWS 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(java.lang.String registryId)
The AWS 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 AWS 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(java.lang.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 java.lang.String getRepositoryName()
The name of the repository in which to put the image.
public PutImageRequest withRepositoryName(java.lang.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(java.lang.String imageManifest)
The image manifest corresponding to the image to be uploaded.
imageManifest
- The image manifest corresponding to the image to be uploaded.public java.lang.String getImageManifest()
The image manifest corresponding to the image to be uploaded.
public PutImageRequest withImageManifest(java.lang.String imageManifest)
The image manifest corresponding to the image to be uploaded.
imageManifest
- The image manifest corresponding to the image to be uploaded.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PutImageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()