Class InitiateLayerUploadResult

java.lang.Object
com.amazonaws.services.ecr.model.InitiateLayerUploadResult
All Implemented Interfaces:
Serializable, Cloneable

public class InitiateLayerUploadResult extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • InitiateLayerUploadResult

      public InitiateLayerUploadResult()
  • Method Details

    • setUploadId

      public void setUploadId(String uploadId)

      The upload ID for the layer upload. This parameter is passed to further UploadLayerPart and CompleteLayerUpload operations.

      Parameters:
      uploadId - The upload ID for the layer upload. This parameter is passed to further UploadLayerPart and CompleteLayerUpload operations.
    • getUploadId

      public String getUploadId()

      The upload ID for the layer upload. This parameter is passed to further UploadLayerPart and CompleteLayerUpload operations.

      Returns:
      The upload ID for the layer upload. This parameter is passed to further UploadLayerPart and CompleteLayerUpload operations.
    • withUploadId

      public InitiateLayerUploadResult withUploadId(String uploadId)

      The upload ID for the layer upload. This parameter is passed to further UploadLayerPart and CompleteLayerUpload operations.

      Parameters:
      uploadId - The upload ID for the layer upload. This parameter is passed to further UploadLayerPart and CompleteLayerUpload operations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setPartSize

      public void setPartSize(Long partSize)

      The size, in bytes, that Amazon ECR expects future layer part uploads to be.

      Parameters:
      partSize - The size, in bytes, that Amazon ECR expects future layer part uploads to be.
    • getPartSize

      public Long getPartSize()

      The size, in bytes, that Amazon ECR expects future layer part uploads to be.

      Returns:
      The size, in bytes, that Amazon ECR expects future layer part uploads to be.
    • withPartSize

      public InitiateLayerUploadResult withPartSize(Long partSize)

      The size, in bytes, that Amazon ECR expects future layer part uploads to be.

      Parameters:
      partSize - The size, in bytes, that Amazon ECR expects future layer part uploads to be.
      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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public InitiateLayerUploadResult clone()
      Overrides:
      clone in class Object