程序包 | 说明 |
---|---|
com.aliyun.oss.model |
限定符和类型 | 方法和说明 |
---|---|
static SSEAlgorithm |
SSEAlgorithm.fromString(String algorithm)
Returns the SSEAlgorithm enum corresponding to the given string;
or null if and only if the given algorithm is null.
|
static SSEAlgorithm |
SSEAlgorithm.getDefault()
Returns the default server side encryption algorithm, which is AES256.
|
static SSEAlgorithm |
SSEAlgorithm.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SSEAlgorithm[] |
SSEAlgorithm.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
void |
ServerSideEncryptionByDefault.setSSEAlgorithm(SSEAlgorithm sseAlgorithm)
Sets the server-side encryption algorithm to use for the default encryption.
|
ServerSideEncryptionByDefault |
ServerSideEncryptionByDefault.withSSEAlgorithm(SSEAlgorithm sseAlgorithm)
Sets the server-side encryption algorithm to use for the default encryption.
|
构造器和说明 |
---|
ServerSideEncryptionByDefault(SSEAlgorithm sseAlgorithm)
Creates an instance.
|
Copyright © 2019. All Rights Reserved.