Class UploadLayerPartRequest
- 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
The 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.int
hashCode()
void
setLayerPartBlob
(ByteBuffer layerPartBlob) The base64-encoded layer part payload.void
setPartFirstByte
(Long partFirstByte) The integer value of the first byte of the layer part.void
setPartLastByte
(Long partLastByte) The integer value of the last byte of the layer part.void
setRegistryId
(String registryId) The AWS account ID associated with the registry that you are uploading layer parts to.void
setRepositoryName
(String repositoryName) The name of the repository that you are uploading layer parts to.void
setUploadId
(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 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
-
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.
ByteBuffer
s are stateful. Calling theirget
methods changes theirposition
. We recommend usingByteBuffer.asReadOnlyBuffer()
to create a read-only view of the buffer with an independentposition
, and callingget
methods on this rather than directly on the returnedByteBuffer
. Doing so will ensure that anyone else using theByteBuffer
will 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
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:
-