com.baidubce.services.kms.model
Class EncryptRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.kms.model.GenericKmsRequest
          extended by com.baidubce.services.kms.model.EncryptRequest

public class EncryptRequest
extends GenericKmsRequest

Provides options for encrypt plaintext.


Constructor Summary
EncryptRequest()
           
EncryptRequest(String keyId, String plaintext)
           
 
Method Summary
 String getKeyId()
           
 String getPlaintext()
           
 void setKeyId(String keyId)
           
 void setPlaintext(String plaintext)
           
 EncryptRequest withRequestCredentials(BceCredentials credentials)
          Overrides abstract method withRequestCredentials(BceCredentials) in AbstractBceRequest
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptRequest

public EncryptRequest()

EncryptRequest

public EncryptRequest(String keyId,
                      String plaintext)
Method Detail

withRequestCredentials

public EncryptRequest withRequestCredentials(BceCredentials credentials)
Overrides abstract method withRequestCredentials(BceCredentials) in AbstractBceRequest

Specified by:
withRequestCredentials in class AbstractBceRequest

setPlaintext

public void setPlaintext(String plaintext)

getPlaintext

public String getPlaintext()

setKeyId

public void setKeyId(String keyId)

getKeyId

public String getKeyId()


Copyright © 2018. All rights reserved.