@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CompleteLayerUploadRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CompleteLayerUploadRequest() |
Modifier and Type | Method and Description |
---|---|
CompleteLayerUploadRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getLayerDigests()
The
sha256 digest of the image layer. |
String |
getRegistryId()
The AWS account ID associated with the registry to which to upload layers.
|
String |
getRepositoryName()
The name of the repository to associate with the image layer.
|
String |
getUploadId()
The upload ID from a previous InitiateLayerUpload operation to associate with the image layer.
|
int |
hashCode() |
void |
setLayerDigests(Collection<String> layerDigests)
The
sha256 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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CompleteLayerUploadRequest |
withLayerDigests(Collection<String> layerDigests)
The
sha256 digest of the image layer. |
CompleteLayerUploadRequest |
withLayerDigests(String... layerDigests)
The
sha256 digest of the image layer. |
CompleteLayerUploadRequest |
withRegistryId(String registryId)
The AWS account ID associated with the registry to which to upload layers.
|
CompleteLayerUploadRequest |
withRepositoryName(String repositoryName)
The name of the repository to associate with the image layer.
|
CompleteLayerUploadRequest |
withUploadId(String uploadId)
The upload ID from a previous InitiateLayerUpload operation to associate with the image layer.
|
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 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 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(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(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 String getRepositoryName()
The name of the repository to associate with the image layer.
public CompleteLayerUploadRequest withRepositoryName(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(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 String getUploadId()
The upload ID from a previous InitiateLayerUpload operation to associate with the image layer.
public CompleteLayerUploadRequest withUploadId(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 List<String> getLayerDigests()
The sha256
digest of the image layer.
sha256
digest of the image layer.public void setLayerDigests(Collection<String> layerDigests)
The sha256
digest of the image layer.
layerDigests
- The sha256
digest of the image layer.public CompleteLayerUploadRequest withLayerDigests(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(Collection<String> layerDigests)
The sha256
digest of the image layer.
layerDigests
- The sha256
digest of the image layer.public String toString()
toString
in class Object
Object.toString()
public CompleteLayerUploadRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.