@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CertificateDescription extends Object implements Serializable, Cloneable, StructuredPojo
Describes a certificate.
Constructor and Description |
---|
CertificateDescription() |
Modifier and Type | Method and Description |
---|---|
CertificateDescription |
clone() |
boolean |
equals(Object obj) |
String |
getCaCertificateId()
The certificate ID of the CA certificate used to sign this certificate.
|
String |
getCertificateArn()
The ARN of the certificate.
|
String |
getCertificateId()
The ID of the certificate.
|
String |
getCertificateMode()
The mode of the certificate.
|
String |
getCertificatePem()
The certificate data, in PEM format.
|
Date |
getCreationDate()
The date and time the certificate was created.
|
Integer |
getCustomerVersion()
The customer version of the certificate.
|
String |
getGenerationId()
The generation ID of the certificate.
|
Date |
getLastModifiedDate()
The date and time the certificate was last modified.
|
String |
getOwnedBy()
The ID of the Amazon Web Services account that owns the certificate.
|
String |
getPreviousOwnedBy()
The ID of the Amazon Web Services account of the previous owner of the certificate.
|
String |
getStatus()
The status of the certificate.
|
TransferData |
getTransferData()
The transfer data.
|
CertificateValidity |
getValidity()
When the certificate is valid.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCaCertificateId(String caCertificateId)
The certificate ID of the CA certificate used to sign this certificate.
|
void |
setCertificateArn(String certificateArn)
The ARN of the certificate.
|
void |
setCertificateId(String certificateId)
The ID of the certificate.
|
void |
setCertificateMode(CertificateMode certificateMode)
The mode of the certificate.
|
void |
setCertificateMode(String certificateMode)
The mode of the certificate.
|
void |
setCertificatePem(String certificatePem)
The certificate data, in PEM format.
|
void |
setCreationDate(Date creationDate)
The date and time the certificate was created.
|
void |
setCustomerVersion(Integer customerVersion)
The customer version of the certificate.
|
void |
setGenerationId(String generationId)
The generation ID of the certificate.
|
void |
setLastModifiedDate(Date lastModifiedDate)
The date and time the certificate was last modified.
|
void |
setOwnedBy(String ownedBy)
The ID of the Amazon Web Services account that owns the certificate.
|
void |
setPreviousOwnedBy(String previousOwnedBy)
The ID of the Amazon Web Services account of the previous owner of the certificate.
|
void |
setStatus(CertificateStatus status)
The status of the certificate.
|
void |
setStatus(String status)
The status of the certificate.
|
void |
setTransferData(TransferData transferData)
The transfer data.
|
void |
setValidity(CertificateValidity validity)
When the certificate is valid.
|
String |
toString()
Returns a string representation of this object.
|
CertificateDescription |
withCaCertificateId(String caCertificateId)
The certificate ID of the CA certificate used to sign this certificate.
|
CertificateDescription |
withCertificateArn(String certificateArn)
The ARN of the certificate.
|
CertificateDescription |
withCertificateId(String certificateId)
The ID of the certificate.
|
CertificateDescription |
withCertificateMode(CertificateMode certificateMode)
The mode of the certificate.
|
CertificateDescription |
withCertificateMode(String certificateMode)
The mode of the certificate.
|
CertificateDescription |
withCertificatePem(String certificatePem)
The certificate data, in PEM format.
|
CertificateDescription |
withCreationDate(Date creationDate)
The date and time the certificate was created.
|
CertificateDescription |
withCustomerVersion(Integer customerVersion)
The customer version of the certificate.
|
CertificateDescription |
withGenerationId(String generationId)
The generation ID of the certificate.
|
CertificateDescription |
withLastModifiedDate(Date lastModifiedDate)
The date and time the certificate was last modified.
|
CertificateDescription |
withOwnedBy(String ownedBy)
The ID of the Amazon Web Services account that owns the certificate.
|
CertificateDescription |
withPreviousOwnedBy(String previousOwnedBy)
The ID of the Amazon Web Services account of the previous owner of the certificate.
|
CertificateDescription |
withStatus(CertificateStatus status)
The status of the certificate.
|
CertificateDescription |
withStatus(String status)
The status of the certificate.
|
CertificateDescription |
withTransferData(TransferData transferData)
The transfer data.
|
CertificateDescription |
withValidity(CertificateValidity validity)
When the certificate is valid.
|
public void setCertificateArn(String certificateArn)
The ARN of the certificate.
certificateArn
- The ARN of the certificate.public String getCertificateArn()
The ARN of the certificate.
public CertificateDescription withCertificateArn(String certificateArn)
The ARN of the certificate.
certificateArn
- The ARN of the certificate.public void setCertificateId(String certificateId)
The ID of the certificate.
certificateId
- The ID of the certificate.public String getCertificateId()
The ID of the certificate.
public CertificateDescription withCertificateId(String certificateId)
The ID of the certificate.
certificateId
- The ID of the certificate.public void setCaCertificateId(String caCertificateId)
The certificate ID of the CA certificate used to sign this certificate.
caCertificateId
- The certificate ID of the CA certificate used to sign this certificate.public String getCaCertificateId()
The certificate ID of the CA certificate used to sign this certificate.
public CertificateDescription withCaCertificateId(String caCertificateId)
The certificate ID of the CA certificate used to sign this certificate.
caCertificateId
- The certificate ID of the CA certificate used to sign this certificate.public void setStatus(String status)
The status of the certificate.
status
- The status of the certificate.CertificateStatus
public String getStatus()
The status of the certificate.
CertificateStatus
public CertificateDescription withStatus(String status)
The status of the certificate.
status
- The status of the certificate.CertificateStatus
public void setStatus(CertificateStatus status)
The status of the certificate.
status
- The status of the certificate.CertificateStatus
public CertificateDescription withStatus(CertificateStatus status)
The status of the certificate.
status
- The status of the certificate.CertificateStatus
public void setCertificatePem(String certificatePem)
The certificate data, in PEM format.
certificatePem
- The certificate data, in PEM format.public String getCertificatePem()
The certificate data, in PEM format.
public CertificateDescription withCertificatePem(String certificatePem)
The certificate data, in PEM format.
certificatePem
- The certificate data, in PEM format.public void setOwnedBy(String ownedBy)
The ID of the Amazon Web Services account that owns the certificate.
ownedBy
- The ID of the Amazon Web Services account that owns the certificate.public String getOwnedBy()
The ID of the Amazon Web Services account that owns the certificate.
public CertificateDescription withOwnedBy(String ownedBy)
The ID of the Amazon Web Services account that owns the certificate.
ownedBy
- The ID of the Amazon Web Services account that owns the certificate.public void setPreviousOwnedBy(String previousOwnedBy)
The ID of the Amazon Web Services account of the previous owner of the certificate.
previousOwnedBy
- The ID of the Amazon Web Services account of the previous owner of the certificate.public String getPreviousOwnedBy()
The ID of the Amazon Web Services account of the previous owner of the certificate.
public CertificateDescription withPreviousOwnedBy(String previousOwnedBy)
The ID of the Amazon Web Services account of the previous owner of the certificate.
previousOwnedBy
- The ID of the Amazon Web Services account of the previous owner of the certificate.public void setCreationDate(Date creationDate)
The date and time the certificate was created.
creationDate
- The date and time the certificate was created.public Date getCreationDate()
The date and time the certificate was created.
public CertificateDescription withCreationDate(Date creationDate)
The date and time the certificate was created.
creationDate
- The date and time the certificate was created.public void setLastModifiedDate(Date lastModifiedDate)
The date and time the certificate was last modified.
lastModifiedDate
- The date and time the certificate was last modified.public Date getLastModifiedDate()
The date and time the certificate was last modified.
public CertificateDescription withLastModifiedDate(Date lastModifiedDate)
The date and time the certificate was last modified.
lastModifiedDate
- The date and time the certificate was last modified.public void setCustomerVersion(Integer customerVersion)
The customer version of the certificate.
customerVersion
- The customer version of the certificate.public Integer getCustomerVersion()
The customer version of the certificate.
public CertificateDescription withCustomerVersion(Integer customerVersion)
The customer version of the certificate.
customerVersion
- The customer version of the certificate.public void setTransferData(TransferData transferData)
The transfer data.
transferData
- The transfer data.public TransferData getTransferData()
The transfer data.
public CertificateDescription withTransferData(TransferData transferData)
The transfer data.
transferData
- The transfer data.public void setGenerationId(String generationId)
The generation ID of the certificate.
generationId
- The generation ID of the certificate.public String getGenerationId()
The generation ID of the certificate.
public CertificateDescription withGenerationId(String generationId)
The generation ID of the certificate.
generationId
- The generation ID of the certificate.public void setValidity(CertificateValidity validity)
When the certificate is valid.
validity
- When the certificate is valid.public CertificateValidity getValidity()
When the certificate is valid.
public CertificateDescription withValidity(CertificateValidity validity)
When the certificate is valid.
validity
- When the certificate is valid.public void setCertificateMode(String certificateMode)
The mode of the certificate.
DEFAULT
: A certificate in DEFAULT
mode is either generated by Amazon Web Services IoT
Core or registered with an issuer certificate authority (CA) in DEFAULT
mode. Devices with
certificates in DEFAULT
mode aren't required to send the Server Name Indication (SNI) extension when
connecting to Amazon Web Services IoT Core. However, to use features such as custom domains and VPC endpoints, we
recommend that you use the SNI extension when connecting to Amazon Web Services IoT Core.
SNI_ONLY
: A certificate in SNI_ONLY
mode is registered without an issuer CA. Devices
with certificates in SNI_ONLY
mode must send the SNI extension when connecting to Amazon Web
Services IoT Core.
For more information about the value for SNI extension, see Transport security in IoT.
certificateMode
- The mode of the certificate.
DEFAULT
: A certificate in DEFAULT
mode is either generated by Amazon Web
Services IoT Core or registered with an issuer certificate authority (CA) in DEFAULT
mode.
Devices with certificates in DEFAULT
mode aren't required to send the Server Name Indication
(SNI) extension when connecting to Amazon Web Services IoT Core. However, to use features such as custom
domains and VPC endpoints, we recommend that you use the SNI extension when connecting to Amazon Web
Services IoT Core.
SNI_ONLY
: A certificate in SNI_ONLY
mode is registered without an issuer CA.
Devices with certificates in SNI_ONLY
mode must send the SNI extension when connecting to
Amazon Web Services IoT Core.
For more information about the value for SNI extension, see Transport security in IoT.
CertificateMode
public String getCertificateMode()
The mode of the certificate.
DEFAULT
: A certificate in DEFAULT
mode is either generated by Amazon Web Services IoT
Core or registered with an issuer certificate authority (CA) in DEFAULT
mode. Devices with
certificates in DEFAULT
mode aren't required to send the Server Name Indication (SNI) extension when
connecting to Amazon Web Services IoT Core. However, to use features such as custom domains and VPC endpoints, we
recommend that you use the SNI extension when connecting to Amazon Web Services IoT Core.
SNI_ONLY
: A certificate in SNI_ONLY
mode is registered without an issuer CA. Devices
with certificates in SNI_ONLY
mode must send the SNI extension when connecting to Amazon Web
Services IoT Core.
For more information about the value for SNI extension, see Transport security in IoT.
DEFAULT
: A certificate in DEFAULT
mode is either generated by Amazon Web
Services IoT Core or registered with an issuer certificate authority (CA) in DEFAULT
mode.
Devices with certificates in DEFAULT
mode aren't required to send the Server Name Indication
(SNI) extension when connecting to Amazon Web Services IoT Core. However, to use features such as custom
domains and VPC endpoints, we recommend that you use the SNI extension when connecting to Amazon Web
Services IoT Core.
SNI_ONLY
: A certificate in SNI_ONLY
mode is registered without an issuer CA.
Devices with certificates in SNI_ONLY
mode must send the SNI extension when connecting to
Amazon Web Services IoT Core.
For more information about the value for SNI extension, see Transport security in IoT.
CertificateMode
public CertificateDescription withCertificateMode(String certificateMode)
The mode of the certificate.
DEFAULT
: A certificate in DEFAULT
mode is either generated by Amazon Web Services IoT
Core or registered with an issuer certificate authority (CA) in DEFAULT
mode. Devices with
certificates in DEFAULT
mode aren't required to send the Server Name Indication (SNI) extension when
connecting to Amazon Web Services IoT Core. However, to use features such as custom domains and VPC endpoints, we
recommend that you use the SNI extension when connecting to Amazon Web Services IoT Core.
SNI_ONLY
: A certificate in SNI_ONLY
mode is registered without an issuer CA. Devices
with certificates in SNI_ONLY
mode must send the SNI extension when connecting to Amazon Web
Services IoT Core.
For more information about the value for SNI extension, see Transport security in IoT.
certificateMode
- The mode of the certificate.
DEFAULT
: A certificate in DEFAULT
mode is either generated by Amazon Web
Services IoT Core or registered with an issuer certificate authority (CA) in DEFAULT
mode.
Devices with certificates in DEFAULT
mode aren't required to send the Server Name Indication
(SNI) extension when connecting to Amazon Web Services IoT Core. However, to use features such as custom
domains and VPC endpoints, we recommend that you use the SNI extension when connecting to Amazon Web
Services IoT Core.
SNI_ONLY
: A certificate in SNI_ONLY
mode is registered without an issuer CA.
Devices with certificates in SNI_ONLY
mode must send the SNI extension when connecting to
Amazon Web Services IoT Core.
For more information about the value for SNI extension, see Transport security in IoT.
CertificateMode
public void setCertificateMode(CertificateMode certificateMode)
The mode of the certificate.
DEFAULT
: A certificate in DEFAULT
mode is either generated by Amazon Web Services IoT
Core or registered with an issuer certificate authority (CA) in DEFAULT
mode. Devices with
certificates in DEFAULT
mode aren't required to send the Server Name Indication (SNI) extension when
connecting to Amazon Web Services IoT Core. However, to use features such as custom domains and VPC endpoints, we
recommend that you use the SNI extension when connecting to Amazon Web Services IoT Core.
SNI_ONLY
: A certificate in SNI_ONLY
mode is registered without an issuer CA. Devices
with certificates in SNI_ONLY
mode must send the SNI extension when connecting to Amazon Web
Services IoT Core.
For more information about the value for SNI extension, see Transport security in IoT.
certificateMode
- The mode of the certificate.
DEFAULT
: A certificate in DEFAULT
mode is either generated by Amazon Web
Services IoT Core or registered with an issuer certificate authority (CA) in DEFAULT
mode.
Devices with certificates in DEFAULT
mode aren't required to send the Server Name Indication
(SNI) extension when connecting to Amazon Web Services IoT Core. However, to use features such as custom
domains and VPC endpoints, we recommend that you use the SNI extension when connecting to Amazon Web
Services IoT Core.
SNI_ONLY
: A certificate in SNI_ONLY
mode is registered without an issuer CA.
Devices with certificates in SNI_ONLY
mode must send the SNI extension when connecting to
Amazon Web Services IoT Core.
For more information about the value for SNI extension, see Transport security in IoT.
CertificateMode
public CertificateDescription withCertificateMode(CertificateMode certificateMode)
The mode of the certificate.
DEFAULT
: A certificate in DEFAULT
mode is either generated by Amazon Web Services IoT
Core or registered with an issuer certificate authority (CA) in DEFAULT
mode. Devices with
certificates in DEFAULT
mode aren't required to send the Server Name Indication (SNI) extension when
connecting to Amazon Web Services IoT Core. However, to use features such as custom domains and VPC endpoints, we
recommend that you use the SNI extension when connecting to Amazon Web Services IoT Core.
SNI_ONLY
: A certificate in SNI_ONLY
mode is registered without an issuer CA. Devices
with certificates in SNI_ONLY
mode must send the SNI extension when connecting to Amazon Web
Services IoT Core.
For more information about the value for SNI extension, see Transport security in IoT.
certificateMode
- The mode of the certificate.
DEFAULT
: A certificate in DEFAULT
mode is either generated by Amazon Web
Services IoT Core or registered with an issuer certificate authority (CA) in DEFAULT
mode.
Devices with certificates in DEFAULT
mode aren't required to send the Server Name Indication
(SNI) extension when connecting to Amazon Web Services IoT Core. However, to use features such as custom
domains and VPC endpoints, we recommend that you use the SNI extension when connecting to Amazon Web
Services IoT Core.
SNI_ONLY
: A certificate in SNI_ONLY
mode is registered without an issuer CA.
Devices with certificates in SNI_ONLY
mode must send the SNI extension when connecting to
Amazon Web Services IoT Core.
For more information about the value for SNI extension, see Transport security in IoT.
CertificateMode
public String toString()
toString
in class Object
Object.toString()
public CertificateDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.