Class CompleteLayerUploadRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
Thesha256
digest of the image layer.The AWS account ID associated with the registry to which to upload layers.The name of the repository to associate with the image layer.The upload ID from a previous InitiateLayerUpload operation to associate with the image layer.int
hashCode()
void
setLayerDigests
(Collection<String> layerDigests) Thesha256
digest of the image layer.void
setRegistryId
(String registryId) The AWS account ID associated with the registry to which to upload layers.void
setRepositoryName
(String repositoryName) The name of the repository to associate with the image layer.void
setUploadId
(String uploadId) The upload ID from a previous InitiateLayerUpload operation to associate with the image layer.toString()
Returns a string representation of this object; useful for testing and debugging.withLayerDigests
(String... layerDigests) Thesha256
digest of the image layer.withLayerDigests
(Collection<String> layerDigests) Thesha256
digest of the image layer.withRegistryId
(String registryId) The AWS account ID associated with the registry to which to upload layers.withRepositoryName
(String repositoryName) The name of the repository to associate with the image layer.withUploadId
(String uploadId) The upload ID from a previous InitiateLayerUpload operation to associate with the image layer.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
CompleteLayerUploadRequest
public CompleteLayerUploadRequest()
-
-
Method Details
-
setRegistryId
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withRegistryId
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRepositoryName
The name of the repository to associate with the image layer.
- Parameters:
repositoryName
- The name of the repository to associate with the image layer.
-
getRepositoryName
The name of the repository to associate with the image layer.
- Returns:
- The name of the repository to associate with the image layer.
-
withRepositoryName
The name of the repository to associate with the image layer.
- Parameters:
repositoryName
- The name of the repository to associate with the image layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUploadId
The upload ID from a previous InitiateLayerUpload operation to associate with the image layer.
- Parameters:
uploadId
- The upload ID from a previous InitiateLayerUpload operation to associate with the image layer.
-
getUploadId
The upload ID from a previous InitiateLayerUpload operation to associate with the image layer.
- Returns:
- The upload ID from a previous InitiateLayerUpload operation to associate with the image layer.
-
withUploadId
The upload ID from a previous InitiateLayerUpload operation to associate with the image layer.
- Parameters:
uploadId
- The upload ID from a previous InitiateLayerUpload operation to associate with the image layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getLayerDigests
The
sha256
digest of the image layer.- Returns:
- The
sha256
digest of the image layer.
-
setLayerDigests
The
sha256
digest of the image layer.- Parameters:
layerDigests
- Thesha256
digest of the image layer.
-
withLayerDigests
The
sha256
digest of the image layer.NOTE: This method appends the values to the existing list (if any). Use
setLayerDigests(java.util.Collection)
orwithLayerDigests(java.util.Collection)
if you want to override the existing values.- Parameters:
layerDigests
- Thesha256
digest of the image layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withLayerDigests
The
sha256
digest of the image layer.- Parameters:
layerDigests
- Thesha256
digest of the image layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-