类 CipherRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.iothisk.model.CipherRequest
-
public class CipherRequest extends AbstractBceRequest
Represent the request for message encryption/decryption.
-
-
构造器概要
构造器 构造器 说明 CipherRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 EncodeTypegetCipherEncodeType()Get the cipher message encoding type.StringgetData()Get the message data requiring for encryption / decryption.EncodeTypegetType()Get the message encoding type.voidsetCipherEncodeType(EncodeType encodeType)Set the cipher message encoding type.voidsetData(String data)Set the message data requiring for encryption / decryption.voidsetType(EncodeType encodeType)Set the message encoding type.AbstractBceRequestwithRequestCredentials(BceCredentials credentials)Configure request credential for the request.-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
getData
public String getData()
Get the message data requiring for encryption / decryption.- 返回:
- message data requiring for encryption / decryption
-
setData
public void setData(String data)
Set the message data requiring for encryption / decryption.- 参数:
data- message data requiring for encryption / decryption
-
getType
public EncodeType getType()
Get the message encoding type.- 返回:
- message encoding type
-
setType
public void setType(EncodeType encodeType)
Set the message encoding type.- 参数:
encodeType- message encoding type
-
getCipherEncodeType
public EncodeType getCipherEncodeType()
Get the cipher message encoding type.- 返回:
- cipher message encoding type
-
setCipherEncodeType
public void setCipherEncodeType(EncodeType encodeType)
Set the cipher message encoding type.- 参数:
encodeType- cipher message encoding type
-
withRequestCredentials
public AbstractBceRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.- 指定者:
withRequestCredentials在类中AbstractBceRequest- 参数:
credentials- a valid instance of BceCredentials.- 返回:
- CipherRequest with credentials.
-
-