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 InitiateLayerUploadResult
clone()
boolean
equals(Object obj)
Long
getPartSize()
The size, in bytes, that Amazon ECR expects future layer part uploads to be.String
getUploadId()
The upload ID for the layer upload.int
hashCode()
void
setPartSize(Long partSize)
The size, in bytes, that Amazon ECR expects future layer part uploads to be.void
setUploadId(String uploadId)
The upload ID for the layer upload.String
toString()
Returns a string representation of this object; useful for testing and debugging.InitiateLayerUploadResult
withPartSize(Long partSize)
The size, in bytes, that Amazon ECR expects future layer part uploads to be.InitiateLayerUploadResult
withUploadId(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public InitiateLayerUploadResult clone()
-
-