Package software.amazon.awssdk.crt.s3
Class ResumeToken.PutResumeTokenBuilder
- java.lang.Object
-
- software.amazon.awssdk.crt.s3.ResumeToken.PutResumeTokenBuilder
-
- Enclosing class:
- ResumeToken
public static class ResumeToken.PutResumeTokenBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description PutResumeTokenBuilder()
Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResumeToken
build()
ResumeToken.PutResumeTokenBuilder
withNumPartsCompleted(long numPartsCompleted)
ResumeToken.PutResumeTokenBuilder
withPartSize(long partSize)
ResumeToken.PutResumeTokenBuilder
withTotalNumParts(long totalNumParts)
ResumeToken.PutResumeTokenBuilder
withUploadId(String uploadId)
-
-
-
Method Detail
-
withPartSize
public ResumeToken.PutResumeTokenBuilder withPartSize(long partSize)
- Parameters:
partSize
- part size used for operation- Returns:
- this resume token object
-
withTotalNumParts
public ResumeToken.PutResumeTokenBuilder withTotalNumParts(long totalNumParts)
- Parameters:
totalNumParts
- total num parts in operation- Returns:
- this resume token object
-
withNumPartsCompleted
public ResumeToken.PutResumeTokenBuilder withNumPartsCompleted(long numPartsCompleted)
- Parameters:
numPartsCompleted
- number of parts completed- Returns:
- this resume token object
-
withUploadId
public ResumeToken.PutResumeTokenBuilder withUploadId(String uploadId)
- Parameters:
uploadId
- upload Id- Returns:
- this resume token object
-
build
public ResumeToken build()
-
-