Package com.amazonaws.services.iot.model
Class CreateKeysAndCertificateResult
- java.lang.Object
-
- com.amazonaws.services.iot.model.CreateKeysAndCertificateResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class CreateKeysAndCertificateResult extends Object implements Serializable, Cloneable
The output of the CreateKeysAndCertificate operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateKeysAndCertificateResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateKeysAndCertificateResultclone()booleanequals(Object obj)StringgetCertificateArn()The ARN of the certificate.StringgetCertificateId()The ID of the certificate.StringgetCertificatePem()The certificate data, in PEM format.KeyPairgetKeyPair()The generated key pair.inthashCode()voidsetCertificateArn(String certificateArn)The ARN of the certificate.voidsetCertificateId(String certificateId)The ID of the certificate.voidsetCertificatePem(String certificatePem)The certificate data, in PEM format.voidsetKeyPair(KeyPair keyPair)The generated key pair.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateKeysAndCertificateResultwithCertificateArn(String certificateArn)The ARN of the certificate.CreateKeysAndCertificateResultwithCertificateId(String certificateId)The ID of the certificate.CreateKeysAndCertificateResultwithCertificatePem(String certificatePem)The certificate data, in PEM format.CreateKeysAndCertificateResultwithKeyPair(KeyPair keyPair)The generated key pair.
-
-
-
Method Detail
-
setCertificateArn
public void setCertificateArn(String certificateArn)
The ARN of the certificate.
- Parameters:
certificateArn- The ARN of the certificate.
-
getCertificateArn
public String getCertificateArn()
The ARN of the certificate.
- Returns:
- The ARN of the certificate.
-
withCertificateArn
public CreateKeysAndCertificateResult withCertificateArn(String certificateArn)
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
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).
- Parameters:
certificateId- The ID of the certificate. AWS IoT issues a default subject name for the certificate (for example, AWS IoT Certificate).
-
getCertificateId
public String 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
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).
- 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
public void setCertificatePem(String certificatePem)
The certificate data, in PEM format.
- Parameters:
certificatePem- The certificate data, in PEM format.
-
getCertificatePem
public String getCertificatePem()
The certificate data, in PEM format.
- Returns:
- The certificate data, in PEM format.
-
withCertificatePem
public CreateKeysAndCertificateResult withCertificatePem(String certificatePem)
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
public void setKeyPair(KeyPair keyPair)
The generated key pair.
- Parameters:
keyPair- The generated key pair.
-
getKeyPair
public KeyPair getKeyPair()
The generated key pair.
- Returns:
- The generated key pair.
-
withKeyPair
public CreateKeysAndCertificateResult withKeyPair(KeyPair keyPair)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateKeysAndCertificateResult clone()
-
-