Package com.amazonaws.services.iot.model
Class CreateKeysAndCertificateResult
java.lang.Object
com.amazonaws.services.iot.model.CreateKeysAndCertificateResult
- All Implemented Interfaces:
Serializable
,Cloneable
The output of the CreateKeysAndCertificate operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The ARN of the certificate.The ID of the certificate.The certificate data, in PEM format.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.toString()
Returns a string representation of this object; useful for testing and debugging.withCertificateArn
(String certificateArn) The ARN of the certificate.withCertificateId
(String certificateId) The ID of the certificate.withCertificatePem
(String certificatePem) The certificate data, in PEM format.withKeyPair
(KeyPair keyPair) The generated key pair.
-
Constructor Details
-
CreateKeysAndCertificateResult
public CreateKeysAndCertificateResult()
-
-
Method Details
-
setCertificateArn
The ARN of the certificate.
- Parameters:
certificateArn
- The ARN of the certificate.
-
getCertificateArn
The ARN of the certificate.
- Returns:
- The ARN of the certificate.
-
withCertificateArn
The ARN of the certificate.
- Parameters:
certificateArn
- The ARN of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCertificateId
The ID of the certificate. AWS IoT issues a default subject name for the certificate (for example, AWS IoT Certificate).
- Parameters:
certificateId
- The ID of the certificate. AWS IoT issues a default subject name for the certificate (for example, AWS IoT Certificate).
-
getCertificateId
The ID of the certificate. AWS IoT issues a default subject name for the certificate (for example, AWS IoT Certificate).
- Returns:
- The ID of the certificate. AWS IoT issues a default subject name for the certificate (for example, AWS IoT Certificate).
-
withCertificateId
The ID of the certificate. AWS IoT issues a default subject name for the certificate (for example, AWS IoT Certificate).
- Parameters:
certificateId
- The ID of the certificate. AWS IoT issues a default subject name for the certificate (for example, AWS IoT Certificate).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCertificatePem
The certificate data, in PEM format.
- Parameters:
certificatePem
- The certificate data, in PEM format.
-
getCertificatePem
The certificate data, in PEM format.
- Returns:
- The certificate data, in PEM format.
-
withCertificatePem
The certificate data, in PEM format.
- Parameters:
certificatePem
- The certificate data, in PEM format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setKeyPair
The generated key pair.
- Parameters:
keyPair
- The generated key pair.
-
getKeyPair
The generated key pair.
- Returns:
- The generated key pair.
-
withKeyPair
The generated key pair.
- Parameters:
keyPair
- The generated key pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-