@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UploadLayerPartRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UploadLayerPartRequest() |
Modifier and Type | Method and Description |
---|---|
UploadLayerPartRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ByteBuffer |
getLayerPartBlob()
The base64-encoded layer part payload.
|
Long |
getPartFirstByte()
The integer value of the first byte of the layer part.
|
Long |
getPartLastByte()
The integer value of the last byte of the layer part.
|
String |
getRegistryId()
The AWS account ID associated with the registry to which you are uploading layer parts.
|
String |
getRepositoryName()
The name of the repository to which you are uploading layer parts.
|
String |
getUploadId()
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 to which you are uploading layer parts.
|
void |
setRepositoryName(String repositoryName)
The name of the repository to which you are uploading layer parts.
|
void |
setUploadId(String uploadId)
The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UploadLayerPartRequest |
withLayerPartBlob(ByteBuffer layerPartBlob)
The base64-encoded layer part payload.
|
UploadLayerPartRequest |
withPartFirstByte(Long partFirstByte)
The integer value of the first byte of the layer part.
|
UploadLayerPartRequest |
withPartLastByte(Long partLastByte)
The integer value of the last byte of the layer part.
|
UploadLayerPartRequest |
withRegistryId(String registryId)
The AWS account ID associated with the registry to which you are uploading layer parts.
|
UploadLayerPartRequest |
withRepositoryName(String repositoryName)
The name of the repository to which you are uploading layer parts.
|
UploadLayerPartRequest |
withUploadId(String uploadId)
The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.
|
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 you are uploading layer parts. If you do not specify a registry, the default registry is assumed.
registryId
- The AWS account ID associated with the registry to which you are uploading layer parts. 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 you are uploading layer parts. If you do not specify a registry, the default registry is assumed.
public UploadLayerPartRequest withRegistryId(String registryId)
The AWS account ID associated with the registry to which you are uploading layer parts. If you do not specify a registry, the default registry is assumed.
registryId
- The AWS account ID associated with the registry to which you are uploading layer parts. If you do not
specify a registry, the default registry is assumed.public void setRepositoryName(String repositoryName)
The name of the repository to which you are uploading layer parts.
repositoryName
- The name of the repository to which you are uploading layer parts.public String getRepositoryName()
The name of the repository to which you are uploading layer parts.
public UploadLayerPartRequest withRepositoryName(String repositoryName)
The name of the repository to which you are uploading layer parts.
repositoryName
- The name of the repository to which you are uploading layer parts.public void setUploadId(String uploadId)
The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.
uploadId
- The upload ID from a previous InitiateLayerUpload operation to associate with the layer part
upload.public String getUploadId()
The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.
public UploadLayerPartRequest withUploadId(String uploadId)
The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.
uploadId
- The upload ID from a previous InitiateLayerUpload operation to associate with the layer part
upload.public void setPartFirstByte(Long partFirstByte)
The integer value of the first byte of the layer part.
partFirstByte
- The integer value of the first byte of the layer part.public Long getPartFirstByte()
The integer value of the first byte of the layer part.
public UploadLayerPartRequest withPartFirstByte(Long partFirstByte)
The integer value of the first byte of the layer part.
partFirstByte
- The integer value of the first byte of the layer part.public void setPartLastByte(Long partLastByte)
The integer value of the last byte of the layer part.
partLastByte
- The integer value of the last byte of the layer part.public Long getPartLastByte()
The integer value of the last byte of the layer part.
public UploadLayerPartRequest withPartLastByte(Long partLastByte)
The integer value of the last byte of the layer part.
partLastByte
- The integer value of the last byte of the layer part.public void setLayerPartBlob(ByteBuffer layerPartBlob)
The base64-encoded layer part payload.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. 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.
layerPartBlob
- The base64-encoded layer part payload.public ByteBuffer getLayerPartBlob()
The base64-encoded layer part payload.
ByteBuffer
s are stateful. Calling their get
methods changes their position
. We recommend
using ByteBuffer.asReadOnlyBuffer()
to create a read-only view of the buffer with an independent
position
, and calling get
methods on this rather than directly on the returned ByteBuffer
.
Doing so will ensure that anyone else using the ByteBuffer
will not be affected by changes to the
position
.
public UploadLayerPartRequest withLayerPartBlob(ByteBuffer layerPartBlob)
The base64-encoded layer part payload.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. 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.
layerPartBlob
- The base64-encoded layer part payload.public String toString()
toString
in class Object
Object.toString()
public UploadLayerPartRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.