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