public enum StorageClass extends java.lang.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.
| 列挙型定数と説明 |
|---|
Glacier
The Amazon Glacier storage class.
|
ReducedRedundancy
The reduced redundancy storage class.
|
Standard
The default Amazon S3 storage class.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static StorageClass |
fromValue(java.lang.String s3StorageClassString)
Returns the Amazon S3
StorageClass enumeration value representing the
specified Amazon S3 StorageClass ID string. |
java.lang.String |
toString() |
static StorageClass |
valueOf(java.lang.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(java.lang.String name)
name - 返される列挙型定数の名前java.lang.IllegalArgumentException - 指定された名前を持つ定数を
この列挙型が持っていない場合java.lang.NullPointerException - 引数がnullの場合public static StorageClass fromValue(java.lang.String s3StorageClassString) throws java.lang.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.java.lang.IllegalArgumentException - If the specified value does not map to one of the known
Amazon S3 storage classes.public java.lang.String toString()
toString クラス内 java.lang.Enum<StorageClass>