@Generated(value="software.amazon.smithy.crt.java.EnumGenerator") public enum ObjectLockRetentionMode extends Enum<ObjectLockRetentionMode>
Enum Constant and Description |
---|
COMPLIANCE |
GOVERNANCE |
UNKNOWN_TO_SDK_VERSION |
Modifier and Type | Method and Description |
---|---|
static ObjectLockRetentionMode |
fromValue(String value) |
static Set<ObjectLockRetentionMode> |
knownValues() |
void |
setValue(String value) |
String |
value() |
static ObjectLockRetentionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectLockRetentionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectLockRetentionMode GOVERNANCE
public static final ObjectLockRetentionMode COMPLIANCE
public static final ObjectLockRetentionMode UNKNOWN_TO_SDK_VERSION
public static ObjectLockRetentionMode[] values()
for (ObjectLockRetentionMode c : ObjectLockRetentionMode.values()) System.out.println(c);
public static ObjectLockRetentionMode 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 static ObjectLockRetentionMode fromValue(String value)
public static Set<ObjectLockRetentionMode> knownValues()
public String value()
public void setValue(String value)
Copyright © 2021. All rights reserved.