com.aliyun.dkms.gcs.sdk.models.GenerateDataKeyPairWithoutPlaintextRequest 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.NameInMap;
import com.aliyun.tea.TeaModel;
public class GenerateDataKeyPairWithoutPlaintextRequest extends TeaModel {
/**
* 密钥的全局唯一标识符该参数也可以被指定为密钥别名
*/
@NameInMap("KeyId")
public String keyId;
/**
* 加密算法
*/
@NameInMap("Algorithm")
public String algorithm;
/**
* 指定生成的数据密钥对类型
*/
@NameInMap("KeyPairSpec")
public String keyPairSpec;
/**
* 生成数据密钥对格式,取值:PEM,DER
*/
@NameInMap("KeyFormat")
public String keyFormat;
/**
* 对数据密钥加密时使用的GCM加密模式认证数据
*/
@NameInMap("Aad")
public byte[] aad;
/**
* 请求头
*/
@NameInMap("requestHeaders")
public java.util.Map requestHeaders;
public static GenerateDataKeyPairWithoutPlaintextRequest build(java.util.Map map) throws Exception {
GenerateDataKeyPairWithoutPlaintextRequest self = new GenerateDataKeyPairWithoutPlaintextRequest();
return TeaModel.build(map, self);
}
public GenerateDataKeyPairWithoutPlaintextRequest setKeyId(String keyId) {
this.keyId = keyId;
return this;
}
public String getKeyId() {
return this.keyId;
}
public GenerateDataKeyPairWithoutPlaintextRequest setAlgorithm(String algorithm) {
this.algorithm = algorithm;
return this;
}
public String getAlgorithm() {
return this.algorithm;
}
public GenerateDataKeyPairWithoutPlaintextRequest setKeyPairSpec(String keyPairSpec) {
this.keyPairSpec = keyPairSpec;
return this;
}
public String getKeyPairSpec() {
return this.keyPairSpec;
}
public GenerateDataKeyPairWithoutPlaintextRequest setKeyFormat(String keyFormat) {
this.keyFormat = keyFormat;
return this;
}
public String getKeyFormat() {
return this.keyFormat;
}
public GenerateDataKeyPairWithoutPlaintextRequest setAad(byte[] aad) {
this.aad = aad;
return this;
}
public byte[] getAad() {
return this.aad;
}
public GenerateDataKeyPairWithoutPlaintextRequest setRequestHeaders(java.util.Map requestHeaders) {
this.requestHeaders = requestHeaders;
return this;
}
public java.util.Map getRequestHeaders() {
return this.requestHeaders;
}
}