public enum StorageClass extends Enum<StorageClass>
Specifies constants that define Amazon S3 storage classes. The standard storage class is the default storage class.
Amazon S3 offers multiple storage classes for different customers' needs. The
STANDARD
storage class is the default storage class, and means that
redundant copies of data will be stored in different locations.
The REDUCED_REDUNDANCY
storage class offers customers who are using Amazon S3
for storing non-critical, reproducible data a low-cost highly available,
but less redundant, storage option.
Enum Constant and Description |
---|
Accelerated
The IBM Accelerated storage class.
|
DeepArchive
S3 Glacier Deep Archive provides secure, durable object storage class for long term data archival.
|
Glacier
The Amazon Glacier storage class.
|
GlacierInstantRetrieval
GlacierInstantRetrieval is a new low cost storage class for customers with long-term, rarely accessed, data
that is immediately accessible (less than a second for first byte latency).
|
IntelligentTiering
IntelligentTiering makes it easy to lower your overall cost of storage by automatically placing data in the storage
class that best matches the access patterns for the storage.
|
OneZoneInfrequentAccess
One Zone Infrequent Access storage class stores object data in only one Availability Zone at a lower price than
STANDARD_IA.
|
Outposts
Outposts storage class.
|
ReducedRedundancy
The reduced redundancy storage class.
|
Snow |
Standard
The default Amazon S3 storage class.
|
StandardInfrequentAccess
Standard Infrequent Access storage class
|
Modifier and Type | Method and Description |
---|---|
static StorageClass |
fromValue(String s3StorageClassString)
Returns the Amazon S3
StorageClass enumeration value representing the
specified Amazon S3 StorageClass ID string. |
String |
toString() |
static StorageClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StorageClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StorageClass Accelerated
public static final StorageClass Standard
public static final StorageClass ReducedRedundancy
public static final StorageClass Glacier
public static final StorageClass StandardInfrequentAccess
public static final StorageClass OneZoneInfrequentAccess
public static final StorageClass IntelligentTiering
public static final StorageClass DeepArchive
public static final StorageClass Outposts
public static final StorageClass GlacierInstantRetrieval
public static final StorageClass Snow
public static StorageClass[] values()
for (StorageClass c : StorageClass.values()) System.out.println(c);
public static StorageClass 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 StorageClass fromValue(String s3StorageClassString) throws IllegalArgumentException
StorageClass
enumeration value representing the
specified Amazon S3 StorageClass
ID string.
If the specified string doesn't map to a known Amazon S3 storage class,
an IllegalArgumentException
is thrown.s3StorageClassString
- The Amazon S3 storage class ID string.StorageClass
enumeration value representing the
specified Amazon S3 storage class ID.IllegalArgumentException
- If the specified value does not map to one of the known
Amazon S3 storage classes.public String toString()
toString
in class Enum<StorageClass>
Copyright © 2024. All rights reserved.