@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateKeysAndCertificateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The output of the CreateKeysAndCertificate operation.
| Constructor and Description | 
|---|
CreateKeysAndCertificateResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
CreateKeysAndCertificateResult | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getCertificateArn()
 The ARN of the certificate. 
 | 
String | 
getCertificateId()
 The ID of the certificate. 
 | 
String | 
getCertificatePem()
 The certificate data, in PEM format. 
 | 
KeyPair | 
getKeyPair()
 The generated key pair. 
 | 
int | 
hashCode()  | 
void | 
setCertificateArn(String certificateArn)
 The ARN of the certificate. 
 | 
void | 
setCertificateId(String certificateId)
 The ID of the certificate. 
 | 
void | 
setCertificatePem(String certificatePem)
 The certificate data, in PEM format. 
 | 
void | 
setKeyPair(KeyPair keyPair)
 The generated key pair. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
CreateKeysAndCertificateResult | 
withCertificateArn(String certificateArn)
 The ARN of the certificate. 
 | 
CreateKeysAndCertificateResult | 
withCertificateId(String certificateId)
 The ID of the certificate. 
 | 
CreateKeysAndCertificateResult | 
withCertificatePem(String certificatePem)
 The certificate data, in PEM format. 
 | 
CreateKeysAndCertificateResult | 
withKeyPair(KeyPair keyPair)
 The generated key pair. 
 | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setCertificateArn(String certificateArn)
The ARN of the certificate.
certificateArn - The ARN of the certificate.public String getCertificateArn()
The ARN of the certificate.
public CreateKeysAndCertificateResult withCertificateArn(String certificateArn)
The ARN of the certificate.
certificateArn - The ARN of the certificate.public void setCertificateId(String certificateId)
The ID of the certificate. IoT issues a default subject name for the certificate (for example, IoT Certificate).
certificateId - The ID of the certificate. IoT issues a default subject name for the certificate (for example, IoT
        Certificate).public String getCertificateId()
The ID of the certificate. IoT issues a default subject name for the certificate (for example, IoT Certificate).
public CreateKeysAndCertificateResult withCertificateId(String certificateId)
The ID of the certificate. IoT issues a default subject name for the certificate (for example, IoT Certificate).
certificateId - The ID of the certificate. IoT issues a default subject name for the certificate (for example, IoT
        Certificate).public void setCertificatePem(String certificatePem)
The certificate data, in PEM format.
certificatePem - The certificate data, in PEM format.public String getCertificatePem()
The certificate data, in PEM format.
public CreateKeysAndCertificateResult withCertificatePem(String certificatePem)
The certificate data, in PEM format.
certificatePem - The certificate data, in PEM format.public void setKeyPair(KeyPair keyPair)
The generated key pair.
keyPair - The generated key pair.public KeyPair getKeyPair()
The generated key pair.
public CreateKeysAndCertificateResult withKeyPair(KeyPair keyPair)
The generated key pair.
keyPair - The generated key pair.public String toString()
toString in class ObjectObject.toString()public CreateKeysAndCertificateResult clone()