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

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

- - ### com.obs.services中LifecycleConfiguration的使用

    返回LifecycleConfiguration的com.obs.services中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `LifecycleConfiguration` | ObsClient.`getBucketLifecycle(BaseBucketRequest request)`
    `LifecycleConfiguration` | IObsClient.`getBucketLifecycle(BaseBucketRequest request)` Obtain the bucket lifecycle rules.
    `LifecycleConfiguration` | ObsClient.`getBucketLifecycle(String bucketName)`
    `LifecycleConfiguration` | IObsClient.`getBucketLifecycle(String bucketName)` Obtain the bucket lifecycle rules.
    `LifecycleConfiguration` | SecretFlexibleObsClient.`getBucketLifecycle(String bucketName, String accessKey, String secretKey)`
    `LifecycleConfiguration` | SecretFlexibleObsClient.`getBucketLifecycle(String bucketName, String accessKey, String secretKey, String securityToken)`
    `LifecycleConfiguration` | ObsClient.`getBucketLifecycleConfiguration(String bucketName)` 已过时。
    `LifecycleConfiguration` | SecretFlexibleObsClient.`getBucketLifecycleConfiguration(String bucketName, String accessKey, String secretKey)` 已过时。
    `LifecycleConfiguration` | SecretFlexibleObsClient.`getBucketLifecycleConfiguration(String bucketName, String accessKey, String secretKey, String securityToken)` 已过时。

    参数类型为LifecycleConfiguration的com.obs.services中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `HeaderResponse` | ObsClient.`setBucketLifecycle(String bucketName, LifecycleConfiguration lifecycleConfig)`
    `HeaderResponse` | IObsClient.`setBucketLifecycle(String bucketName, LifecycleConfiguration lifecycleConfig)` Set the bucket lifecycle rules.
    `HeaderResponse` | SecretFlexibleObsClient.`setBucketLifecycle(String bucketName, LifecycleConfiguration lifecycleConfig, String accessKey, String secretKey)`
    `HeaderResponse` | SecretFlexibleObsClient.`setBucketLifecycle(String bucketName, LifecycleConfiguration lifecycleConfig, String accessKey, String secretKey, String securityToken)`
    `HeaderResponse` | ObsClient.`setBucketLifecycleConfiguration(String bucketName, LifecycleConfiguration lifecycleConfig)` 已过时。
    `HeaderResponse` | SecretFlexibleObsClient.`setBucketLifecycleConfiguration(String bucketName, LifecycleConfiguration lifecycleConfig, String accessKey, String secretKey)` 已过时。
    `HeaderResponse` | SecretFlexibleObsClient.`setBucketLifecycleConfiguration(String bucketName, LifecycleConfiguration lifecycleConfig, String accessKey, String secretKey, String securityToken)` 已过时。

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

    返回LifecycleConfiguration的com.obs.services.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `LifecycleConfiguration` | SetBucketLifecycleRequest.`getLifecycleConfig()`

    参数类型为LifecycleConfiguration的com.obs.services.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | SetBucketLifecycleRequest.`setLifecycleConfig(LifecycleConfiguration lifecycleConfig)`

    参数类型为LifecycleConfiguration的com.obs.services.model中的构造器
    构造器和说明
    `SetBucketLifecycleRequest(String bucketName, LifecycleConfiguration lifecycleConfig)`

Copyright © 2021. All rights reserved.