Package com.oracle.bmc.filestorage.model
Enum SnapshotSummary.SnapshotType
- java.lang.Object
-
- java.lang.Enum<SnapshotSummary.SnapshotType>
-
- com.oracle.bmc.filestorage.model.SnapshotSummary.SnapshotType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<SnapshotSummary.SnapshotType>
- Enclosing class:
- SnapshotSummary
public static enum SnapshotSummary.SnapshotType extends Enum<SnapshotSummary.SnapshotType> implements BmcEnum
Specifies the generation type of the snapshot.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PolicyBased
Replication
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.User
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SnapshotSummary.SnapshotType
create(String key)
String
getValue()
static SnapshotSummary.SnapshotType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SnapshotSummary.SnapshotType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
User
public static final SnapshotSummary.SnapshotType User
-
PolicyBased
public static final SnapshotSummary.SnapshotType PolicyBased
-
Replication
public static final SnapshotSummary.SnapshotType Replication
-
UnknownEnumValue
public static final SnapshotSummary.SnapshotType UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static SnapshotSummary.SnapshotType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SnapshotSummary.SnapshotType c : SnapshotSummary.SnapshotType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SnapshotSummary.SnapshotType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static SnapshotSummary.SnapshotType create(String key)
-
-