com.aliyun.dkms.gcs.sdk.models.DecryptResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-dkms-gcs-sdk Show documentation
Show all versions of alibabacloud-dkms-gcs-sdk Show documentation
Dedicated Key Management Service Java SDK
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dkms.gcs.sdk.models;
import com.aliyun.tea.*;
public class DecryptResponse extends TeaModel {
/**
* 密钥的全局唯一标识符该参数也可以被指定为密钥别名
*/
@NameInMap("KeyId")
public String keyId;
/**
* 待加密的明文数据
*/
@NameInMap("Plaintext")
public byte[] plaintext;
/**
* 请求ID
*/
@NameInMap("RequestId")
public String requestId;
/**
* 加密算法
*/
@NameInMap("Algorithm")
public String algorithm;
/**
* 填充模式
*/
@NameInMap("PaddingMode")
public String paddingMode;
/**
* 响应头
*/
@NameInMap("responseHeaders")
public java.util.Map responseHeaders;
public static DecryptResponse build(java.util.Map map) throws Exception {
DecryptResponse self = new DecryptResponse();
return TeaModel.build(map, self);
}
public DecryptResponse setKeyId(String keyId) {
this.keyId = keyId;
return this;
}
public String getKeyId() {
return this.keyId;
}
public DecryptResponse setPlaintext(byte[] plaintext) {
this.plaintext = plaintext;
return this;
}
public byte[] getPlaintext() {
return this.plaintext;
}
public DecryptResponse setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DecryptResponse setAlgorithm(String algorithm) {
this.algorithm = algorithm;
return this;
}
public String getAlgorithm() {
return this.algorithm;
}
public DecryptResponse setPaddingMode(String paddingMode) {
this.paddingMode = paddingMode;
return this;
}
public String getPaddingMode() {
return this.paddingMode;
}
public DecryptResponse setResponseHeaders(java.util.Map responseHeaders) {
this.responseHeaders = responseHeaders;
return this;
}
public java.util.Map getResponseHeaders() {
return this.responseHeaders;
}
}