public class SSESpecification extends Object implements Jsonizable
| 构造器和说明 |
|---|
SSESpecification(boolean enable)
Construct an SSESpecification object.
|
SSESpecification(boolean enable,
SSEKeyType keyType)
Construct an SSESpecification object.
|
SSESpecification(boolean enable,
SSEKeyType keyType,
String keyId,
String roleArn)
Constructs an SSESpecification object.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getKeyId()
Get the keyId parameter
|
SSEKeyType |
getKeyType()
Get the keyType parameter
|
String |
getRoleArn()
Get the roleArn parameter
|
boolean |
isEnable()
Returns whether server-side encryption is enabled
|
String |
jsonize() |
void |
jsonize(StringBuilder sb,
String newline) |
void |
setEnable(boolean enable)
Set whether to enable server-side encryption
|
void |
setKeyId(String keyId)
Set the keyId parameter
|
void |
setKeyType(SSEKeyType keyType)
Set the keyType parameter
|
void |
setRoleArn(String roleArn)
Set the roleArn parameter
|
String |
toString() |
public SSESpecification(boolean enable)
enable - Must be false, indicating that server-side encryption is disabledpublic SSESpecification(boolean enable,
SSEKeyType keyType)
enable - Must be true, indicating that server-side encryption is enabledkeyType - Must be SSE_KMS_SERVICE, indicating the use of KMS managed service keyspublic SSESpecification(boolean enable,
SSEKeyType keyType,
String keyId,
String roleArn)
enable - Must be true, indicating that server-side encryption is enabled.keyType - Must be SSE_BYOK, indicating the use of a KMS user master key, supporting user-defined key upload.keyId - The id of the KMS user master key.roleArn - The global resource descriptor authorizing Table Store to temporarily access keyId.public boolean isEnable()
public void setEnable(boolean enable)
enable - public SSEKeyType getKeyType()
public void setKeyType(SSEKeyType keyType)
keyType - public String getKeyId()
public void setKeyId(String keyId)
keyId - public String getRoleArn()
public void setRoleArn(String roleArn)
roleArn - public String jsonize()
jsonize 在接口中 Jsonizablepublic void jsonize(StringBuilder sb, String newline)
jsonize 在接口中 JsonizableCopyright © 2025. All Rights Reserved.