com.aliyun.dkms.gcs.sdk.models.GetPublicKeyResponse 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 GetPublicKeyResponse extends TeaModel {
/**
* 密钥的全局唯一标识符该参数也可以被指定为密钥别名
*/
@NameInMap("KeyId")
public String keyId;
/**
* PEM格式的公钥
*/
@NameInMap("PublicKey")
public String publicKey;
/**
* 请求ID
*/
@NameInMap("RequestId")
public String requestId;
/**
* 响应头
*/
@NameInMap("responseHeaders")
public java.util.Map responseHeaders;
public static GetPublicKeyResponse build(java.util.Map map) throws Exception {
GetPublicKeyResponse self = new GetPublicKeyResponse();
return TeaModel.build(map, self);
}
public GetPublicKeyResponse setKeyId(String keyId) {
this.keyId = keyId;
return this;
}
public String getKeyId() {
return this.keyId;
}
public GetPublicKeyResponse setPublicKey(String publicKey) {
this.publicKey = publicKey;
return this;
}
public String getPublicKey() {
return this.publicKey;
}
public GetPublicKeyResponse setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GetPublicKeyResponse setResponseHeaders(java.util.Map responseHeaders) {
this.responseHeaders = responseHeaders;
return this;
}
public java.util.Map getResponseHeaders() {
return this.responseHeaders;
}
}