Package com.amazonaws.services.ecr.model
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InitiateLayerUploadResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InitiateLayerUploadResultclone()booleanequals(Object obj)LonggetPartSize()The size, in bytes, that Amazon ECR expects future layer part uploads to be.StringgetUploadId()The upload ID for the layer upload.inthashCode()voidsetPartSize(Long partSize)The size, in bytes, that Amazon ECR expects future layer part uploads to be.voidsetUploadId(String uploadId)The upload ID for the layer upload.StringtoString()Returns a string representation of this object; useful for testing and debugging.InitiateLayerUploadResultwithPartSize(Long partSize)The size, in bytes, that Amazon ECR expects future layer part uploads to be.InitiateLayerUploadResultwithUploadId(String uploadId)The upload ID for the layer upload.
-
-
-
Method Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public InitiateLayerUploadResult clone()
-
-