Class UploadLayerPartRequest

    • Constructor Detail

      • UploadLayerPartRequest

        public UploadLayerPartRequest()
    • Method Detail

      • setRegistryId

        public void setRegistryId​(String 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.

        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

        public String 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

        public UploadLayerPartRequest withRegistryId​(String 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.

        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

        public void setRepositoryName​(String repositoryName)

        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

        public String 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

        public UploadLayerPartRequest withRepositoryName​(String repositoryName)

        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

        public void setUploadId​(String uploadId)

        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

        public String 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

        public UploadLayerPartRequest withUploadId​(String uploadId)

        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

        public void setPartFirstByte​(Long partFirstByte)

        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

        public Long 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

        public UploadLayerPartRequest withPartFirstByte​(Long partFirstByte)

        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

        public void setPartLastByte​(Long partLastByte)

        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

        public Long 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

        public UploadLayerPartRequest withPartLastByte​(Long partLastByte)

        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

        public void setLayerPartBlob​(ByteBuffer layerPartBlob)

        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

        public ByteBuffer getLayerPartBlob()

        The base64-encoded layer part payload.

        ByteBuffers 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 .

        Returns:
        The base64-encoded layer part payload.
      • withLayerPartBlob

        public UploadLayerPartRequest withLayerPartBlob​(ByteBuffer layerPartBlob)

        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

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object