public class CompleteLayerUploadRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.String> |
layerDigests
The
sha256 digest of the image layer. |
private java.lang.String |
registryId
The AWS account ID associated with the registry to which to upload
layers.
|
private java.lang.String |
repositoryName
The name of the repository to associate with the image layer.
|
private java.lang.String |
uploadId
The upload ID from a previous InitiateLayerUpload operation to
associate with the image layer.
|
NOOP
Constructor and Description |
---|
CompleteLayerUploadRequest() |
Modifier and Type | Method and Description |
---|---|
CompleteLayerUploadRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getLayerDigests()
The
sha256 digest of the image layer. |
java.lang.String |
getRegistryId()
The AWS account ID associated with the registry to which to upload
layers.
|
java.lang.String |
getRepositoryName()
The name of the repository to associate with the image layer.
|
java.lang.String |
getUploadId()
The upload ID from a previous InitiateLayerUpload operation to
associate with the image layer.
|
int |
hashCode() |
void |
setLayerDigests(java.util.Collection<java.lang.String> layerDigests)
The
sha256 digest of the image layer. |
void |
setRegistryId(java.lang.String registryId)
The AWS account ID associated with the registry to which to upload
layers.
|
void |
setRepositoryName(java.lang.String repositoryName)
The name of the repository to associate with the image layer.
|
void |
setUploadId(java.lang.String uploadId)
The upload ID from a previous InitiateLayerUpload operation to
associate with the image layer.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CompleteLayerUploadRequest |
withLayerDigests(java.util.Collection<java.lang.String> layerDigests)
The
sha256 digest of the image layer. |
CompleteLayerUploadRequest |
withLayerDigests(java.lang.String... layerDigests)
The
sha256 digest of the image layer. |
CompleteLayerUploadRequest |
withRegistryId(java.lang.String registryId)
The AWS account ID associated with the registry to which to upload
layers.
|
CompleteLayerUploadRequest |
withRepositoryName(java.lang.String repositoryName)
The name of the repository to associate with the image layer.
|
CompleteLayerUploadRequest |
withUploadId(java.lang.String uploadId)
The upload ID from a previous InitiateLayerUpload operation to
associate with the image layer.
|
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 to which to upload layers. If you do not specify a registry, the default registry is assumed.
private java.lang.String repositoryName
The name of the repository to associate with the image layer.
private java.lang.String uploadId
The upload ID from a previous InitiateLayerUpload operation to associate with the image layer.
private java.util.List<java.lang.String> layerDigests
The sha256
digest of the image layer.
public void setRegistryId(java.lang.String registryId)
The AWS account ID associated with the registry to which to upload layers. If you do not specify a registry, the default registry is assumed.
registryId
- The AWS account ID associated with the registry to which to upload
layers. 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 to which to upload layers. If you do not specify a registry, the default registry is assumed.
public CompleteLayerUploadRequest withRegistryId(java.lang.String registryId)
The AWS account ID associated with the registry to which to upload layers. If you do not specify a registry, the default registry is assumed.
registryId
- The AWS account ID associated with the registry to which to upload
layers. If you do not specify a registry, the default registry is
assumed.public void setRepositoryName(java.lang.String repositoryName)
The name of the repository to associate with the image layer.
repositoryName
- The name of the repository to associate with the image layer.public java.lang.String getRepositoryName()
The name of the repository to associate with the image layer.
public CompleteLayerUploadRequest withRepositoryName(java.lang.String repositoryName)
The name of the repository to associate with the image layer.
repositoryName
- The name of the repository to associate with the image layer.public void setUploadId(java.lang.String uploadId)
The upload ID from a previous InitiateLayerUpload operation to associate with the image layer.
uploadId
- The upload ID from a previous InitiateLayerUpload operation
to associate with the image layer.public java.lang.String getUploadId()
The upload ID from a previous InitiateLayerUpload operation to associate with the image layer.
public CompleteLayerUploadRequest withUploadId(java.lang.String uploadId)
The upload ID from a previous InitiateLayerUpload operation to associate with the image layer.
uploadId
- The upload ID from a previous InitiateLayerUpload operation
to associate with the image layer.public java.util.List<java.lang.String> getLayerDigests()
The sha256
digest of the image layer.
sha256
digest of the image layer.public void setLayerDigests(java.util.Collection<java.lang.String> layerDigests)
The sha256
digest of the image layer.
layerDigests
- The sha256
digest of the image layer.public CompleteLayerUploadRequest withLayerDigests(java.lang.String... layerDigests)
The sha256
digest of the image layer.
NOTE: This method appends the values to the existing list (if
any). Use setLayerDigests(java.util.Collection)
or
withLayerDigests(java.util.Collection)
if you want to override
the existing values.
layerDigests
- The sha256
digest of the image layer.public CompleteLayerUploadRequest withLayerDigests(java.util.Collection<java.lang.String> layerDigests)
The sha256
digest of the image layer.
layerDigests
- The sha256
digest of the image layer.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 CompleteLayerUploadRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()