Package | Description |
---|---|
com.aliyun.oss.model |
Modifier and Type | Method and Description |
---|---|
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)
Returns the enum constant of this type with the specified name.
|
static SSEAlgorithm[] |
SSEAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
ServerSideEncryptionByDefault(SSEAlgorithm sseAlgorithm)
Creates an instance.
|
Copyright © 2021. All Rights Reserved.