Package software.amazon.awssdk.crt.s3
Class S3MetaRequestProgress
- java.lang.Object
-
- software.amazon.awssdk.crt.s3.S3MetaRequestProgress
-
public class S3MetaRequestProgress extends Object
Information about the meta request progress.
-
-
Constructor Summary
Constructors Constructor Description S3MetaRequestProgress()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getBytesTransferred()
long
getContentLength()
S3MetaRequestProgress
withBytesTransferred(long bytesTransferred)
S3MetaRequestProgress
withContentLength(long contentLength)
-
-
-
Method Detail
-
withBytesTransferred
public S3MetaRequestProgress withBytesTransferred(long bytesTransferred)
- Parameters:
bytesTransferred
- bytes transferred since the previous progress update- Returns:
- this progress object
-
getBytesTransferred
public long getBytesTransferred()
- Returns:
- bytes transferred since the previous progress update
-
withContentLength
public S3MetaRequestProgress withContentLength(long contentLength)
- Parameters:
contentLength
- length of the entire meta request operation- Returns:
- this progress object
-
getContentLength
public long getContentLength()
- Returns:
- length of the entire meta request operation
-
-