Class CompleteLayerUploadRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThesha256digest 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.inthashCode()voidsetLayerDigests(Collection<String> layerDigests) Thesha256digest of the image layer.voidsetRegistryId(String registryId) The AWS account ID associated with the registry to which to upload layers.voidsetRepositoryName(String repositoryName) The name of the repository to associate with the image layer.voidsetUploadId(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) Thesha256digest of the image layer.withLayerDigests(Collection<String> layerDigests) Thesha256digest 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 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
-
setLayerDigests
The
sha256digest of the image layer.- Parameters:
layerDigests- Thesha256digest of the image layer.
-
withLayerDigests
The
sha256digest 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- Thesha256digest of the image layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withLayerDigests
The
sha256digest of the image layer.- Parameters:
layerDigests- Thesha256digest of the image layer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-