Enum RedshiftCredentials.Type
- java.lang.Object
-
- java.lang.Enum<RedshiftCredentials.Type>
-
- software.amazon.awssdk.services.datazone.model.RedshiftCredentials.Type
-
- All Implemented Interfaces:
Serializable,Comparable<RedshiftCredentials.Type>
- Enclosing class:
- RedshiftCredentials
public static enum RedshiftCredentials.Type extends Enum<RedshiftCredentials.Type>
- See Also:
RedshiftCredentials.type()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SECRET_ARNUNKNOWN_TO_SDK_VERSIONUSERNAME_PASSWORD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RedshiftCredentials.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static RedshiftCredentials.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SECRET_ARN
public static final RedshiftCredentials.Type SECRET_ARN
-
USERNAME_PASSWORD
public static final RedshiftCredentials.Type USERNAME_PASSWORD
-
UNKNOWN_TO_SDK_VERSION
public static final RedshiftCredentials.Type UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static RedshiftCredentials.Type[] 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 (RedshiftCredentials.Type c : RedshiftCredentials.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RedshiftCredentials.Type 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
-
-