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

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

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

    返回ServerSideEncryptionByDefault的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `ServerSideEncryptionByDefault` | ServerSideEncryptionConfiguration.`getApplyServerSideEncryptionByDefault()` Describes the default server-side encryption to apply to new objects in the bucket.
    `ServerSideEncryptionByDefault` | ServerSideEncryptionByDefault.`withKMSDataEncryption(String kmsDataEncryption)` Sets the KMS data encryption.
    `ServerSideEncryptionByDefault` | ServerSideEncryptionByDefault.`withKMSMasterKeyID(String kmsMasterKeyID)` Sets the KMS master key ID to use for the default encryption.
    `ServerSideEncryptionByDefault` | ServerSideEncryptionByDefault.`withSSEAlgorithm(SSEAlgorithm sseAlgorithm)` Sets the server-side encryption algorithm to use for the default encryption.
    `ServerSideEncryptionByDefault` | ServerSideEncryptionByDefault.`withSSEAlgorithm(String sseAlgorithm)` Sets the server-side encryption algorithm to use for the default encryption.

    参数类型为ServerSideEncryptionByDefault的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | ServerSideEncryptionConfiguration.`setApplyServerSideEncryptionByDefault(ServerSideEncryptionByDefault applyServerSideEncryptionByDefault)` Sets the default server-side encryption to apply to new objects in the bucket.
    `ServerSideEncryptionConfiguration` | ServerSideEncryptionConfiguration.`withApplyServerSideEncryptionByDefault(ServerSideEncryptionByDefault applyServerSideEncryptionByDefault)` Sets the default server-side encryption to apply to new objects in the bucket.

Copyright © 2020. All Rights Reserved.