public class SSESpecification extends Object implements Jsonizable
构造器和说明 |
---|
SSESpecification(boolean enable)
构造一个SSESpecification对象。
|
SSESpecification(boolean enable,
SSEKeyType keyType)
构造一个SSESpecification对象。
|
限定符和类型 | 方法和说明 |
---|---|
SSEKeyType |
getKeyType()
获取keyType参数
|
boolean |
isEnable()
返回是否开启服务器端加密
|
String |
jsonize() |
void |
jsonize(StringBuilder sb,
String newline) |
void |
setEnable(boolean enable)
设置是否开启服务器端加密
|
void |
setKeyType(SSEKeyType keyType)
设置keyType参数
|
String |
toString() |
public SSESpecification(boolean enable)
enable
- 必须为false,代表关闭服务器端加密public SSESpecification(boolean enable, SSEKeyType keyType)
enable
- 必须为true,代表开启服务器端加密keyType
- 可选值:SSE_KMS_SERVICEpublic boolean isEnable()
public void setEnable(boolean enable)
enable
- public SSEKeyType getKeyType()
public void setKeyType(SSEKeyType keyType)
keyType
- public String jsonize()
jsonize
在接口中 Jsonizable
public void jsonize(StringBuilder sb, String newline)
jsonize
在接口中 Jsonizable
Copyright © 2019. All Rights Reserved.