Enum AuthInfoType
- java.lang.Object
-
- java.lang.Enum<AuthInfoType>
-
- com.amazonaws.kinesisvideo.producer.AuthInfoType
-
- All Implemented Interfaces:
Serializable,Comparable<AuthInfoType>
public enum AuthInfoType extends Enum<AuthInfoType>
Definition of the Auth Info Type. NOTE: This enum must be the same as defined in /client/Include.h
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CERTCertificate authenticationNONENo authentication is required.SECURITY_TOKENSecurity Token integrationUNDEFINEDAuth info undefined or not specified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIntType()Returns the type as an integer which can be consumed by the native layerstatic AuthInfoTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AuthInfoType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED
public static final AuthInfoType UNDEFINED
Auth info undefined or not specified. Used as a sentinel
-
CERT
public static final AuthInfoType CERT
Certificate authentication
-
SECURITY_TOKEN
public static final AuthInfoType SECURITY_TOKEN
Security Token integration
-
NONE
public static final AuthInfoType NONE
No authentication is required.
-
-
Method Detail
-
values
public static AuthInfoType[] 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 (AuthInfoType c : AuthInfoType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthInfoType 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
-
getIntType
public int getIntType()
Returns the type as an integer which can be consumed by the native layer
-
-