Package com.google.cloud.storage
Class StorageClass
java.lang.Object
com.google.cloud.StringEnumValue
com.google.cloud.storage.StorageClass
- All Implemented Interfaces:
Serializable
public final class StorageClass
extends com.google.cloud.StringEnumValue
Enums for the storage classes. See https://cloud.google.com/storage/docs/storage-classes
for details.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StorageClassArchive storage class.static final StorageClassColdline storage class.static final StorageClassLegacy Durable Reduced Availability storage class, useSTANDARDinstead.static final StorageClassLegacy Multi-regional storage class, useSTANDARDinstead.static final StorageClassNearline storage class.static final StorageClassLegacy Regional storage class, useSTANDARDinstead.static final StorageClassStandard storage class. -
Method Summary
Modifier and TypeMethodDescriptionstatic StorageClassGet the StorageClass for the given String constant, and allow unrecognized values.static StorageClassvalueOfStrict(String constant) Get the StorageClass for the given String constant, and throw an exception if the constant is not recognized.static StorageClass[]values()Return the known values for StorageClass.Methods inherited from class com.google.cloud.StringEnumValue
equals, hashCode, name, toString
-
Field Details
-
STANDARD
Standard storage class. -
NEARLINE
Nearline storage class. -
COLDLINE
Coldline storage class. -
ARCHIVE
Archive storage class. -
REGIONAL
Legacy Regional storage class, useSTANDARDinstead. This class will be deprecated in the future. -
MULTI_REGIONAL
Legacy Multi-regional storage class, useSTANDARDinstead. This class will be deprecated in the future. -
DURABLE_REDUCED_AVAILABILITY
Legacy Durable Reduced Availability storage class, useSTANDARDinstead. This class will be deprecated in the future.
-
-
Method Details
-
valueOfStrict
Get the StorageClass for the given String constant, and throw an exception if the constant is not recognized. -
valueOf
Get the StorageClass for the given String constant, and allow unrecognized values. -
values
Return the known values for StorageClass.
-