Enum Class CortexProperties.S3.Auth

java.lang.Object
java.lang.Enum<CortexProperties.S3.Auth>
ai.chatur.cortex.spring.CortexProperties.S3.Auth
All Implemented Interfaces:
Serializable, Comparable<CortexProperties.S3.Auth>, Constable
Enclosing class:
CortexProperties.S3

public static enum CortexProperties.S3.Auth extends Enum<CortexProperties.S3.Auth>
How the S3 client obtains credentials.
  • Enum Constant Details

    • DEFAULT

      public static final CortexProperties.S3.Auth DEFAULT
      The AWS default credentials chain: environment variables, system properties, the profile file, then container and instance credentials.
    • STATIC

      public static final CortexProperties.S3.Auth STATIC
      The accessKeyId and secretAccessKey configured here.
    • ANONYMOUS

      public static final CortexProperties.S3.Auth ANONYMOUS
      No credentials at all, for an unauthenticated S3-compatible endpoint.
  • Method Details

    • values

      public static CortexProperties.S3.Auth[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CortexProperties.S3.Auth valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null