## 类 com.aliyun.oss.model.ServerSideEncryptionConfiguration
的使用

- 使用ServerSideEncryptionConfiguration的程序包
  程序包 | 说明
  --- | ---
  com.aliyun.oss |
  com.aliyun.oss.model |

- - ### com.aliyun.oss中ServerSideEncryptionConfiguration的使用

    返回ServerSideEncryptionConfiguration的com.aliyun.oss中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `ServerSideEncryptionConfiguration` | OSSClient.`getBucketEncryption(GenericRequest genericRequest)`
    `ServerSideEncryptionConfiguration` | OSS.`getBucketEncryption(GenericRequest genericRequest)` Returns the server-side encryption configuration of a bucket.
    `ServerSideEncryptionConfiguration` | OSSClient.`getBucketEncryption(String bucketName)`
    `ServerSideEncryptionConfiguration` | OSS.`getBucketEncryption(String bucketName)` Returns the server-side encryption configuration of a bucket.

  - ### com.aliyun.oss.model中ServerSideEncryptionConfiguration的使用

    返回ServerSideEncryptionConfiguration的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `ServerSideEncryptionConfiguration` | SetBucketEncryptionRequest.`getServerSideEncryptionConfiguration()`
    `ServerSideEncryptionConfiguration` | BucketInfo.`getServerSideEncryptionConfiguration()`
    `ServerSideEncryptionConfiguration` | ServerSideEncryptionConfiguration.`withApplyServerSideEncryptionByDefault(ServerSideEncryptionByDefault applyServerSideEncryptionByDefault)` Sets the default server-side encryption to apply to new objects in the bucket.

    参数类型为ServerSideEncryptionConfiguration的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | SetBucketEncryptionRequest.`setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)` Sets the container for server-side encryption configuration rules.
    `void` | BucketInfo.`setServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration sseConfig)`
    `SetBucketEncryptionRequest` | SetBucketEncryptionRequest.`withServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)` Sets the container for server-side encryption configuration rules.

    参数类型为ServerSideEncryptionConfiguration的com.aliyun.oss.model中的构造器
    构造器和说明
    `SetBucketEncryptionRequest(String bucketName, ServerSideEncryptionConfiguration serverSideEncryptionConfiguration)`

Copyright © 2020. All Rights Reserved.