@Generated(value="software.amazon.awssdk:codegen") public enum KnownGenderType extends Enum<KnownGenderType>
A list of enum string of possible gender values that Celebrity returns.
| Enum Constant and Description |
|---|
FEMALE |
MALE |
UNKNOWN_TO_SDK_VERSION |
| Modifier and Type | Method and Description |
|---|---|
static KnownGenderType |
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
static Set<KnownGenderType> |
knownValues()
|
String |
toString() |
static KnownGenderType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KnownGenderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KnownGenderType MALE
public static final KnownGenderType FEMALE
public static final KnownGenderType UNKNOWN_TO_SDK_VERSION
public static KnownGenderType[] values()
for (KnownGenderType c : KnownGenderType.values()) System.out.println(c);
public static KnownGenderType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<KnownGenderType>public static KnownGenderType fromValue(String value)
value - real valuepublic static Set<KnownGenderType> knownValues()
values() to return a Set of all values known to the SDK. This will return
all known enum values except UNKNOWN_TO_SDK_VERSION.Set of known KnownGenderTypesCopyright © 2021. All rights reserved.