Enum AwsV4FamilyHttpSigner.AuthLocation
- java.lang.Object
-
- java.lang.Enum<AwsV4FamilyHttpSigner.AuthLocation>
-
- software.amazon.awssdk.http.auth.aws.signer.AwsV4FamilyHttpSigner.AuthLocation
-
- All Implemented Interfaces:
Serializable,Comparable<AwsV4FamilyHttpSigner.AuthLocation>
- Enclosing interface:
- AwsV4FamilyHttpSigner<T extends Identity>
public static enum AwsV4FamilyHttpSigner.AuthLocation extends Enum<AwsV4FamilyHttpSigner.AuthLocation>
This enum represents where auth-related data is inserted, as a result of signing.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HEADERIndicates auth-related data is inserted in HTTP headers.QUERY_STRINGIndicates auth-related data is inserted in HTTP query-parameters.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AwsV4FamilyHttpSigner.AuthLocationvalueOf(String name)Returns the enum constant of this type with the specified name.static AwsV4FamilyHttpSigner.AuthLocation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HEADER
public static final AwsV4FamilyHttpSigner.AuthLocation HEADER
Indicates auth-related data is inserted in HTTP headers.
-
QUERY_STRING
public static final AwsV4FamilyHttpSigner.AuthLocation QUERY_STRING
Indicates auth-related data is inserted in HTTP query-parameters.
-
-
Method Detail
-
values
public static AwsV4FamilyHttpSigner.AuthLocation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AwsV4FamilyHttpSigner.AuthLocation c : AwsV4FamilyHttpSigner.AuthLocation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AwsV4FamilyHttpSigner.AuthLocation 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 nameNullPointerException- if the argument is null
-
-