public class CreateKeysAndCertificateResult extends Object implements Serializable
The output of the CreateKeysAndCertificate operation.
| Constructor and Description |
|---|
CreateKeysAndCertificateResult() |
| Modifier and Type | Method and Description |
|---|---|
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; useful for testing and
debugging.
|
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.
|
public String getCertificateArn()
The ARN of the certificate.
The ARN of the certificate.
public void setCertificateArn(String certificateArn)
The ARN of the certificate.
certificateArn - The ARN of the certificate.
public CreateKeysAndCertificateResult withCertificateArn(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 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(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(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 String getCertificatePem()
The certificate data, in PEM format.
Constraints:
Length: 1 - 65536
The certificate data, in PEM format.
public void setCertificatePem(String certificatePem)
The certificate data, in PEM format.
Constraints:
Length: 1 - 65536
certificatePem - The certificate data, in PEM format.
public CreateKeysAndCertificateResult withCertificatePem(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 String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.