Package software.amazon.awssdk.crt.s3
Enum S3MetaRequestOptions.MetaRequestType
java.lang.Object
java.lang.Enum<S3MetaRequestOptions.MetaRequestType>
software.amazon.awssdk.crt.s3.S3MetaRequestOptions.MetaRequestType
- All Implemented Interfaces:
Serializable,Comparable<S3MetaRequestOptions.MetaRequestType>
- Enclosing class:
- S3MetaRequestOptions
public static enum S3MetaRequestOptions.MetaRequestType
extends Enum<S3MetaRequestOptions.MetaRequestType>
A Meta Request represents a group of generated requests that are being done on behalf of the
original request. For example, one large GetObject request can be transformed into a series
of ranged GetObject requests that are executed in parallel to improve throughput.
The MetaRequestType is a hint of transformation to be applied.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe CopyObject meta request performs a multi-part copy using multiple S3 UploadPartCopy requests in parallel, or bypasses a CopyObject request to S3 if the object size is not large enough for a multipart upload.The Default meta request type sends any request to S3 as-is (with no transformation).The GetObject request will be split into a series of ranged GetObject requests that are executed in parallel to improve throughput, when possible.The PutObject request will be split into MultiPart uploads that are executed in parallel to improve throughput, when possible. -
Method Summary
Modifier and TypeMethodDescriptiongetEnumValueFromInteger(int value) intReturns the enum constant of this type with the specified name.static S3MetaRequestOptions.MetaRequestType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
The Default meta request type sends any request to S3 as-is (with no transformation). For example, it can be used to pass a CreateBucket request. -
GET_OBJECT
The GetObject request will be split into a series of ranged GetObject requests that are executed in parallel to improve throughput, when possible. -
PUT_OBJECT
The PutObject request will be split into MultiPart uploads that are executed in parallel to improve throughput, when possible. -
COPY_OBJECT
The CopyObject meta request performs a multi-part copy using multiple S3 UploadPartCopy requests in parallel, or bypasses a CopyObject request to S3 if the object size is not large enough for a multipart upload.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNativeValue
public int getNativeValue() -
getEnumValueFromInteger
-