## 类的使用
com.obs.services.model.StorageClassEnum

- 使用StorageClassEnum的程序包
  程序包 | 说明
  --- | ---
  com.obs.services.model |
  com.obs.services.model.fs |

- - ### com.obs.services.model中StorageClassEnum的使用

    声明为StorageClassEnum的com.obs.services.model中的字段
    限定符和类型 | 字段和说明
    --- | ---
    `protected StorageClassEnum` | S3Bucket.`storageClass` 已过时。
    `protected StorageClassEnum` | LifecycleConfiguration.TimeEvent.`storageClass`

    返回StorageClassEnum的com.obs.services.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `StorageClassEnum` | S3Bucket.`getBucketStorageClass()` 已过时。
    `StorageClassEnum` | BucketMetadataInfoResult.`getBucketStorageClass()` Obtain the bucket storage class.
    `StorageClassEnum` | ObsBucket.`getBucketStorageClass()`
    `StorageClassEnum` | BucketStoragePolicyConfiguration.`getBucketStorageClass()` Obtain the bucket storage class.
    `StorageClassEnum` | CreateBucketRequest.`getBucketStorageClass()` Obtain the bucket storage class.
    `StorageClassEnum` | ReplicationConfiguration.Destination.`getObjectStorageClass()` Obtain the storage class of the object generated after the replication.
    `StorageClassEnum` | PutObjectResult.`getObjectStorageClass()` Obtain the object storage class.
    `StorageClassEnum` | CopyObjectResult.`getObjectStorageClass()` Obtain the storage class of the destination object.
    `StorageClassEnum` | SetObjectMetadataRequest.`getObjectStorageClass()` Obtain the object storage class.
    `StorageClassEnum` | ListPartsResult.`getObjectStorageClass()` Obtain the storage class of the object involved in the multipart upload.
    `StorageClassEnum` | AppendObjectResult.`getObjectStorageClass()` Obtain the object storage class.
    `StorageClassEnum` | ObjectMetadata.`getObjectStorageClass()` Obtain the object storage class.
    `StorageClassEnum` | LifecycleConfiguration.Transition.`getObjectStorageClass()` Obtain the storage class of the object after transition.
    `StorageClassEnum` | LifecycleConfiguration.NoncurrentVersionTransition.`getObjectStorageClass()` Obtain the storage class of the noncurrent object version after transition.
    `StorageClassEnum` | MultipartUpload.`getObjectStorageClass()` Obtain the storage class of the object generated via the multipart upload.
    `StorageClassEnum` | VersionOrDeleteMarker.`getObjectStorageClass()` Obtain the storage class of the object.
    `static StorageClassEnum` | StorageClassEnum.`getValueFromCode(String code)`
    `static StorageClassEnum` | StorageClassEnum.`valueOf(String name)` 返回带有指定名称的该类型的枚举常量。
    `static StorageClassEnum[]` | StorageClassEnum.`values()` 按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

    参数类型为StorageClassEnum的com.obs.services.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | S3Bucket.`setBucketStorageClass(StorageClassEnum storageClass)` 已过时。
    `void` | ObsBucket.`setBucketStorageClass(StorageClassEnum storageClass)` Set the bucket storage class.
    `void` | BucketStoragePolicyConfiguration.`setBucketStorageClass(StorageClassEnum storageClass)` Set the bucket storage class.
    `void` | CreateBucketRequest.`setBucketStorageClass(StorageClassEnum storageClass)` Set the bucket storage class.
    `void` | ReplicationConfiguration.Destination.`setObjectStorageClass(StorageClassEnum storageClass)` Set the storage class of the object generated after the replication.
    `void` | SetObjectMetadataRequest.`setObjectStorageClass(StorageClassEnum storageClass)` Set the object storage class.
    `void` | ObjectMetadata.`setObjectStorageClass(StorageClassEnum storageClass)` Set the object storage class.
    `void` | LifecycleConfiguration.Transition.`setObjectStorageClass(StorageClassEnum storageClass)` Set the storage class of the object after transition.
    `void` | LifecycleConfiguration.NoncurrentVersionTransition.`setObjectStorageClass(StorageClassEnum storageClass)` Set the storage class of the noncurrent object version after transition.
    `static void` | LifecycleConfiguration.`setStorageClass(LifecycleConfiguration.TimeEvent timeEvent, StorageClassEnum storageClass)`

    参数类型为StorageClassEnum的com.obs.services.model中的构造器
    构造器和说明
    `AppendObjectResult(String bucketName, String objectKey, String etag, long nextPosition, StorageClassEnum storageClass, String objectUrl)`
    `BucketMetadataInfoResult(String allowOrigin, List<String> allowHeaders, int maxAge, List<String> allowMethods, List<String> exposeHeaders, StorageClassEnum storageClass, String location, String obsVersion)`
    `BucketMetadataInfoResult(String allowOrigin, List<String> allowHeaders, int maxAge, List<String> allowMethods, List<String> exposeHeaders, StorageClassEnum storageClass, String location, String obsVersion, AvailableZoneEnum availableZone)`
    `BucketMetadataInfoResult(String allowOrigin, List<String> allowHeaders, int maxAge, List<String> allowMethods, List<String> exposeHeaders, StorageClassEnum storageClass, String location, String obsVersion, AvailableZoneEnum availableZone, String epid, BucketTypeEnum bucketType)`
    `BucketStoragePolicyConfiguration(StorageClassEnum storageClass)` Constructor
    `CopyObjectResult(String etag, Date lastModified, String versionId, String copySourceVersionId, StorageClassEnum storageClass)`
    `ListPartsResult(String bucket, String key, String uploadId, Owner initiator, Owner owner, StorageClassEnum storageClass, List<Multipart> multipartList, Integer maxParts, boolean isTruncated, String partNumberMarker, String nextPartNumberMarker)`
    `MultipartUpload(String uploadId, String objectKey, Date initiatedDate, StorageClassEnum storageClass, Owner owner, Owner initiator)`
    `MultipartUpload(String uploadId, String bucketName, String objectKey, Date initiatedDate, StorageClassEnum storageClass, Owner owner, Owner initiator)`
    `NoncurrentVersionTransition(Integer days, StorageClassEnum storageClass)` Constructor
    `PutObjectResult(String bucketName, String objectKey, String etag, String versionId, StorageClassEnum storageClass, String objectUrl)`
    `Transition(Date date, StorageClassEnum storageClass)` Constructor
    `Transition(Integer days, StorageClassEnum storageClass)` Constructor
    `VersionOrDeleteMarker(String bucketName, String key, String versionId, boolean isLatest, Date lastModified, Owner owner, String etag, long size, StorageClassEnum storageClass, boolean isDeleteMarker, boolean appendable)` Constructor

  - ### com.obs.services.model.fs中StorageClassEnum的使用

    参数类型为StorageClassEnum的com.obs.services.model.fs中的构造器
    构造器和说明
    `GetBucketFSStatusResult(String allowOrigin, List<String> allowHeaders, int maxAge, List<String> allowMethods, List<String> exposeHeaders, StorageClassEnum storageClass, String location, String obsVersion)`
    `GetBucketFSStatusResult(String allowOrigin, List<String> allowHeaders, int maxAge, List<String> allowMethods, List<String> exposeHeaders, StorageClassEnum storageClass, String location, String obsVersion, FSStatusEnum status)`
    `GetBucketFSStatusResult(String allowOrigin, List<String> allowHeaders, int maxAge, List<String> allowMethods, List<String> exposeHeaders, StorageClassEnum storageClass, String location, String obsVersion, FSStatusEnum status, AvailableZoneEnum availableZone)`
    `GetBucketFSStatusResult(String allowOrigin, List<String> allowHeaders, int maxAge, List<String> allowMethods, List<String> exposeHeaders, StorageClassEnum storageClass, String location, String obsVersion, FSStatusEnum status, AvailableZoneEnum availableZone, String epid, BucketTypeEnum bucketTypeEnum)`
    `ObsFSFile(String bucketName, String objectKey, String etag, String versionId, StorageClassEnum storageClass, String objectUrl)`
    `ObsFSFolder(String bucketName, String objectKey, String etag, String versionId, StorageClassEnum storageClass, String objectUrl)`

Copyright © 2021. All rights reserved.