public enum BucketProtectionStatus extends Enum<BucketProtectionStatus>
BucketProtectionConfiguration| Modifier and Type | Method and Description |
|---|---|
static BucketProtectionStatus |
fromValue(String statusString) |
String |
toString() |
static BucketProtectionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BucketProtectionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BucketProtectionStatus Retention
public static final BucketProtectionStatus Disabled
public static BucketProtectionStatus[] values()
for (BucketProtectionStatus c : BucketProtectionStatus.values()) System.out.println(c);
public static BucketProtectionStatus 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 BucketProtectionStatus fromValue(String statusString) throws IllegalArgumentException
IllegalArgumentExceptionpublic String toString()
toString in class Enum<BucketProtectionStatus>Copyright © 2025. All rights reserved.