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 Details

    • DEFAULT

      public static final S3MetaRequestOptions.MetaRequestType 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

      public static final S3MetaRequestOptions.MetaRequestType 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

      public static final S3MetaRequestOptions.MetaRequestType PUT_OBJECT
      The PutObject request will be split into MultiPart uploads that are executed in parallel to improve throughput, when possible.
    • COPY_OBJECT

      public static final S3MetaRequestOptions.MetaRequestType 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

      public static S3MetaRequestOptions.MetaRequestType[] 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

      public static S3MetaRequestOptions.MetaRequestType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNativeValue

      public int getNativeValue()
    • getEnumValueFromInteger

      public static S3MetaRequestOptions.MetaRequestType getEnumValueFromInteger(int value)