Class CreateCertificateFromCsrResult
- java.lang.Object
-
- com.amazonaws.services.iot.model.CreateCertificateFromCsrResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class CreateCertificateFromCsrResult extends Object implements Serializable, Cloneable
The output from the CreateCertificateFromCsr operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateCertificateFromCsrResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateCertificateFromCsrResult
clone()
boolean
equals(Object obj)
String
getCertificateArn()
The Amazon Resource Name (ARN) of the certificate.String
getCertificateId()
The ID of the certificate.String
getCertificatePem()
The certificate data, in PEM format.int
hashCode()
void
setCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) of the certificate.void
setCertificateId(String certificateId)
The ID of the certificate.void
setCertificatePem(String certificatePem)
The certificate data, in PEM format.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateCertificateFromCsrResult
withCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) of the certificate.CreateCertificateFromCsrResult
withCertificateId(String certificateId)
The ID of the certificate.CreateCertificateFromCsrResult
withCertificatePem(String certificatePem)
The certificate data, in PEM format.
-
-
-
Method Detail
-
setCertificateArn
public void setCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) of the certificate. You can use the ARN as a principal for policy operations.
- Parameters:
certificateArn
- The Amazon Resource Name (ARN) of the certificate. You can use the ARN as a principal for policy operations.
-
getCertificateArn
public String getCertificateArn()
The Amazon Resource Name (ARN) of the certificate. You can use the ARN as a principal for policy operations.
- Returns:
- The Amazon Resource Name (ARN) of the certificate. You can use the ARN as a principal for policy operations.
-
withCertificateArn
public CreateCertificateFromCsrResult withCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) of the certificate. You can use the ARN as a principal for policy operations.
- Parameters:
certificateArn
- The Amazon Resource Name (ARN) of the certificate. You can use the ARN as a principal for policy operations.- 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. Certificate management operations only take a certificateId.
- Parameters:
certificateId
- The ID of the certificate. Certificate management operations only take a certificateId.
-
getCertificateId
public String getCertificateId()
The ID of the certificate. Certificate management operations only take a certificateId.
- Returns:
- The ID of the certificate. Certificate management operations only take a certificateId.
-
withCertificateId
public CreateCertificateFromCsrResult withCertificateId(String certificateId)
The ID of the certificate. Certificate management operations only take a certificateId.
- Parameters:
certificateId
- The ID of the certificate. Certificate management operations only take a certificateId.- 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 CreateCertificateFromCsrResult 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.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateCertificateFromCsrResult clone()
-
-