Enum ChecksumAlgorithm
- java.lang.Object
-
- java.lang.Enum<ChecksumAlgorithm>
-
- com.oracle.bmc.objectstorage.model.ChecksumAlgorithm
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ChecksumAlgorithm>
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public enum ChecksumAlgorithm extends Enum<ChecksumAlgorithm> implements BmcEnum
Checksum algorithms supported by Object Storage for data integrity checks, in addition to the default MD5 checksum.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChecksumAlgorithm
create(String key)
String
getValue()
static ChecksumAlgorithm
valueOf(String name)
Returns the enum constant of this type with the specified name.static ChecksumAlgorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Crc32C
public static final ChecksumAlgorithm Crc32C
-
Sha256
public static final ChecksumAlgorithm Sha256
-
Sha384
public static final ChecksumAlgorithm Sha384
-
-
Method Detail
-
values
public static ChecksumAlgorithm[] 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 (ChecksumAlgorithm c : ChecksumAlgorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChecksumAlgorithm 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 ChecksumAlgorithm create(String key)
-
-