public static enum CreateKMORequest.CreateOption extends java.lang.Enum<CreateKMORequest.CreateOption>
Enum Constant and Description |
---|
Always_Overwrite |
Never_Overwrite |
Overwrite_OnExpired |
Modifier and Type | Method and Description |
---|---|
int |
option() |
static CreateKMORequest.CreateOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CreateKMORequest.CreateOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateKMORequest.CreateOption Never_Overwrite
public static final CreateKMORequest.CreateOption Overwrite_OnExpired
public static final CreateKMORequest.CreateOption Always_Overwrite
public static CreateKMORequest.CreateOption[] values()
for (CreateKMORequest.CreateOption c : CreateKMORequest.CreateOption.values()) System.out.println(c);
public static CreateKMORequest.CreateOption valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int option()