Class UploadLayerPartRequest
- 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.booleanThe base64-encoded layer part payload.The integer value of the first byte of the layer part.The integer value of the last byte of the layer part.The AWS account ID associated with the registry that you are uploading layer parts to.The name of the repository that you are uploading layer parts to.The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.inthashCode()voidsetLayerPartBlob(ByteBuffer layerPartBlob) The base64-encoded layer part payload.voidsetPartFirstByte(Long partFirstByte) The integer value of the first byte of the layer part.voidsetPartLastByte(Long partLastByte) The integer value of the last byte of the layer part.voidsetRegistryId(String registryId) The AWS account ID associated with the registry that you are uploading layer parts to.voidsetRepositoryName(String repositoryName) The name of the repository that you are uploading layer parts to.voidsetUploadId(String uploadId) The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.toString()Returns a string representation of this object; useful for testing and debugging.withLayerPartBlob(ByteBuffer layerPartBlob) The base64-encoded layer part payload.withPartFirstByte(Long partFirstByte) The integer value of the first byte of the layer part.withPartLastByte(Long partLastByte) The integer value of the last byte of the layer part.withRegistryId(String registryId) The AWS account ID associated with the registry that you are uploading layer parts to.withRepositoryName(String repositoryName) The name of the repository that you are uploading layer parts to.withUploadId(String uploadId) The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.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
-
UploadLayerPartRequest
public UploadLayerPartRequest()
-
-
Method Details
-
setRegistryId
The AWS account ID associated with the registry that you are uploading layer parts to. If you do not specify a registry, the default registry is assumed.
- Parameters:
registryId- The AWS account ID associated with the registry that you are uploading layer parts to. If you do not specify a registry, the default registry is assumed.
-
getRegistryId
The AWS account ID associated with the registry that you are uploading layer parts to. If you do not specify a registry, the default registry is assumed.
- Returns:
- The AWS account ID associated with the registry that you are uploading layer parts to. If you do not specify a registry, the default registry is assumed.
-
withRegistryId
The AWS account ID associated with the registry that you are uploading layer parts to. If you do not specify a registry, the default registry is assumed.
- Parameters:
registryId- The AWS account ID associated with the registry that you are uploading layer parts to. 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 that you are uploading layer parts to.
- Parameters:
repositoryName- The name of the repository that you are uploading layer parts to.
-
getRepositoryName
The name of the repository that you are uploading layer parts to.
- Returns:
- The name of the repository that you are uploading layer parts to.
-
withRepositoryName
The name of the repository that you are uploading layer parts to.
- Parameters:
repositoryName- The name of the repository that you are uploading layer parts to.- 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 layer part upload.
- Parameters:
uploadId- The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.
-
getUploadId
The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.
- Returns:
- The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.
-
withUploadId
The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.
- Parameters:
uploadId- The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPartFirstByte
The integer value of the first byte of the layer part.
- Parameters:
partFirstByte- The integer value of the first byte of the layer part.
-
getPartFirstByte
The integer value of the first byte of the layer part.
- Returns:
- The integer value of the first byte of the layer part.
-
withPartFirstByte
The integer value of the first byte of the layer part.
- Parameters:
partFirstByte- The integer value of the first byte of the layer part.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPartLastByte
The integer value of the last byte of the layer part.
- Parameters:
partLastByte- The integer value of the last byte of the layer part.
-
getPartLastByte
The integer value of the last byte of the layer part.
- Returns:
- The integer value of the last byte of the layer part.
-
withPartLastByte
The integer value of the last byte of the layer part.
- Parameters:
partLastByte- The integer value of the last byte of the layer part.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLayerPartBlob
The base64-encoded layer part payload.
AWS SDK for Java performs a Base64 encoding on this field before sending this request to AWS service by default. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
- Parameters:
layerPartBlob- The base64-encoded layer part payload.
-
getLayerPartBlob
The base64-encoded layer part payload.
ByteBuffers are stateful. Calling theirgetmethods changes theirposition. We recommend usingByteBuffer.asReadOnlyBuffer()to create a read-only view of the buffer with an independentposition, and callinggetmethods on this rather than directly on the returnedByteBuffer. Doing so will ensure that anyone else using theByteBufferwill not be affected by changes to theposition.- Returns:
- The base64-encoded layer part payload.
-
withLayerPartBlob
The base64-encoded layer part payload.
- Parameters:
layerPartBlob- The base64-encoded layer part payload.- 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:
-