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.
 
| 枚举常量和说明 | 
|---|
| GlacierThe Amazon Glacier storage class. | 
| ReducedRedundancyThe reduced redundancy storage class. | 
| StandardThe default Amazon S3 storage class. | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| static StorageClass | fromValue(String s3StorageClassString)Returns the Amazon S3  StorageClassenumeration value representing the
 specified Amazon S3StorageClassID string. | 
| String | toString() | 
| static StorageClass | valueOf(String name)返回带有指定名称的该类型的枚举常量。 | 
| static StorageClass[] | values()按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。 | 
public static final StorageClass Standard
public static final StorageClass ReducedRedundancy
public static final StorageClass Glacier
public static StorageClass[] values()
for (StorageClass c : StorageClass.values()) System.out.println(c);
public static StorageClass valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public 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 在类中 Enum<StorageClass>Copyright © 2016. All rights reserved.