public class CreateKeysAndCertificateResult
extends java.lang.Object
implements java.io.Serializable
The output of the CreateKeysAndCertificate operation.
| Constructor and Description | 
|---|
| CreateKeysAndCertificateResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| java.lang.String | getCertificateArn()
 The ARN of the certificate. | 
| java.lang.String | getCertificateId()
 The ID of the certificate. | 
| java.lang.String | getCertificatePem()
 The certificate data, in PEM format. | 
| KeyPair | getKeyPair()
 The generated key pair. | 
| int | hashCode() | 
| void | setCertificateArn(java.lang.String certificateArn)
 The ARN of the certificate. | 
| void | setCertificateId(java.lang.String certificateId)
 The ID of the certificate. | 
| void | setCertificatePem(java.lang.String certificatePem)
 The certificate data, in PEM format. | 
| void | setKeyPair(KeyPair keyPair)
 The generated key pair. | 
| java.lang.String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| CreateKeysAndCertificateResult | withCertificateArn(java.lang.String certificateArn)
 The ARN of the certificate. | 
| CreateKeysAndCertificateResult | withCertificateId(java.lang.String certificateId)
 The ID of the certificate. | 
| CreateKeysAndCertificateResult | withCertificatePem(java.lang.String certificatePem)
 The certificate data, in PEM format. | 
| CreateKeysAndCertificateResult | withKeyPair(KeyPair keyPair)
 The generated key pair. | 
public java.lang.String getCertificateArn()
The ARN of the certificate.
The ARN of the certificate.
public void setCertificateArn(java.lang.String certificateArn)
The ARN of the certificate.
certificateArn - The ARN of the certificate.
public CreateKeysAndCertificateResult withCertificateArn(java.lang.String certificateArn)
The ARN of the certificate.
Returns a reference to this object so that method calls can be chained together.
certificateArn - The ARN of the certificate.
public java.lang.String getCertificateId()
The ID of the certificate. AWS IoT issues a default subject name for the certificate (for example, AWS IoT Certificate).
 Constraints:
 Length: 64 - 64
 Pattern: (0x)?[a-fA-F0-9]+
The ID of the certificate. AWS IoT issues a default subject name for the certificate (for example, AWS IoT Certificate).
public void setCertificateId(java.lang.String certificateId)
The ID of the certificate. AWS IoT issues a default subject name for the certificate (for example, AWS IoT Certificate).
 Constraints:
 Length: 64 - 64
 Pattern: (0x)?[a-fA-F0-9]+
certificateId - The ID of the certificate. AWS IoT issues a default subject name for the certificate (for example, AWS IoT Certificate).
public CreateKeysAndCertificateResult withCertificateId(java.lang.String certificateId)
The ID of the certificate. AWS IoT issues a default subject name for the certificate (for example, AWS IoT Certificate).
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 64 - 64
 Pattern: (0x)?[a-fA-F0-9]+
certificateId - The ID of the certificate. AWS IoT issues a default subject name for the certificate (for example, AWS IoT Certificate).
public java.lang.String getCertificatePem()
The certificate data, in PEM format.
 Constraints:
 Length: 1 - 65536
The certificate data, in PEM format.
public void setCertificatePem(java.lang.String certificatePem)
The certificate data, in PEM format.
 Constraints:
 Length: 1 - 65536
certificatePem - The certificate data, in PEM format.
public CreateKeysAndCertificateResult withCertificatePem(java.lang.String certificatePem)
The certificate data, in PEM format.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 65536
certificatePem - The certificate data, in PEM format.
public KeyPair getKeyPair()
The generated key pair.
The generated key pair.
public void setKeyPair(KeyPair keyPair)
The generated key pair.
keyPair - The generated key pair.
public CreateKeysAndCertificateResult withKeyPair(KeyPair keyPair)
The generated key pair.
Returns a reference to this object so that method calls can be chained together.
keyPair - The generated key pair.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.