public class CreateKeysAndCertificateResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The output of the CreateKeysAndCertificate operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
certificateArn
The ARN of the certificate.
|
private java.lang.String |
certificateId
The ID of the certificate.
|
private java.lang.String |
certificatePem
The certificate data, in PEM format.
|
private KeyPair |
keyPair
The generated key pair.
|
Constructor and Description |
---|
CreateKeysAndCertificateResult() |
Modifier and Type | Method and Description |
---|---|
CreateKeysAndCertificateResult |
clone() |
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.
|
private java.lang.String certificateArn
The ARN of the certificate.
private java.lang.String certificateId
The ID of the certificate. AWS IoT issues a default subject name for the certificate (for example, AWS IoT Certificate).
private java.lang.String certificatePem
The certificate data, in PEM format.
private KeyPair keyPair
The generated key pair.
public void setCertificateArn(java.lang.String certificateArn)
The ARN of the certificate.
certificateArn
- The ARN of the certificate.public java.lang.String getCertificateArn()
The ARN of the certificate.
public CreateKeysAndCertificateResult withCertificateArn(java.lang.String certificateArn)
The ARN of the certificate.
certificateArn
- The ARN of the 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).
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 getCertificateId()
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).
certificateId
- The ID of the certificate. AWS IoT issues a default subject name
for the certificate (for example, AWS IoT Certificate).public void setCertificatePem(java.lang.String certificatePem)
The certificate data, in PEM format.
certificatePem
- The certificate data, in PEM format.public java.lang.String getCertificatePem()
The certificate data, in PEM format.
public CreateKeysAndCertificateResult withCertificatePem(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateKeysAndCertificateResult clone()
clone
in class java.lang.Object