com.aliyun.sdk.service.ecs20140526.models.CreateKeyPairResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ecs20140526 Show documentation
Show all versions of alibabacloud-ecs20140526 Show documentation
Alibaba Cloud Ecs (20140526) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link CreateKeyPairResponseBody} extends {@link TeaModel}
*
* CreateKeyPairResponseBody
*/
public class CreateKeyPairResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("KeyPairFingerPrint")
private String keyPairFingerPrint;
@com.aliyun.core.annotation.NameInMap("KeyPairId")
private String keyPairId;
@com.aliyun.core.annotation.NameInMap("KeyPairName")
private String keyPairName;
@com.aliyun.core.annotation.NameInMap("PrivateKeyBody")
private String privateKeyBody;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private CreateKeyPairResponseBody(Builder builder) {
this.keyPairFingerPrint = builder.keyPairFingerPrint;
this.keyPairId = builder.keyPairId;
this.keyPairName = builder.keyPairName;
this.privateKeyBody = builder.privateKeyBody;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static CreateKeyPairResponseBody create() {
return builder().build();
}
/**
* @return keyPairFingerPrint
*/
public String getKeyPairFingerPrint() {
return this.keyPairFingerPrint;
}
/**
* @return keyPairId
*/
public String getKeyPairId() {
return this.keyPairId;
}
/**
* @return keyPairName
*/
public String getKeyPairName() {
return this.keyPairName;
}
/**
* @return privateKeyBody
*/
public String getPrivateKeyBody() {
return this.privateKeyBody;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String keyPairFingerPrint;
private String keyPairId;
private String keyPairName;
private String privateKeyBody;
private String requestId;
/**
* The fingerprint of the key pair. The message-digest algorithm 5 (MD5) is used based on the public key fingerprint format defined in RFC 4716. For more information, see RFC 4716.
*
* example:
* 89:f0:ba:62:ac:b8:aa:e1:61:5e:fd:81:69:86:6d:6b:f0:c0:5a:**
*/
public Builder keyPairFingerPrint(String keyPairFingerPrint) {
this.keyPairFingerPrint = keyPairFingerPrint;
return this;
}
/**
* The ID of the key pair.
*
* example:
* ssh-bp67acfmxazb4p****
*/
public Builder keyPairId(String keyPairId) {
this.keyPairId = keyPairId;
return this;
}
/**
* The name of the key pair.
*
* example:
* testKeyPairName
*/
public Builder keyPairName(String keyPairName) {
this.keyPairName = keyPairName;
return this;
}
/**
* The private key of the key pair. The private key is encoded with PEM in the PKCS#8 format.
*
* example:
* MIIEpAIBAAKCAQEAtReyMzLIcBH78EV2zj****
*/
public Builder privateKeyBody(String privateKeyBody) {
this.privateKeyBody = privateKeyBody;
return this;
}
/**
* The request ID.
*
* example:
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public CreateKeyPairResponseBody build() {
return new CreateKeyPairResponseBody(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy