@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Certificate extends Object implements Serializable, Cloneable, StructuredPojo
Information about a certificate.
Constructor and Description |
---|
Certificate() |
Modifier and Type | Method and Description |
---|---|
Certificate |
clone() |
boolean |
equals(Object obj) |
String |
getCertificateArn()
The ARN of the certificate.
|
String |
getCertificateId()
The ID of the certificate.
|
String |
getCertificateMode()
The mode of the certificate.
|
Date |
getCreationDate()
The date and time the certificate was created.
|
String |
getStatus()
The status of the certificate.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 |
setCreationDate(Date creationDate)
The date and time the certificate was created.
|
void |
setStatus(CertificateStatus status)
The status of the certificate.
|
void |
setStatus(String status)
The status of the certificate.
|
String |
toString()
Returns a string representation of this object.
|
Certificate |
withCertificateArn(String certificateArn)
The ARN of the certificate.
|
Certificate |
withCertificateId(String certificateId)
The ID of the certificate.
|
Certificate |
withCertificateMode(CertificateMode certificateMode)
The mode of the certificate.
|
Certificate |
withCertificateMode(String certificateMode)
The mode of the certificate.
|
Certificate |
withCreationDate(Date creationDate)
The date and time the certificate was created.
|
Certificate |
withStatus(CertificateStatus status)
The status of the certificate.
|
Certificate |
withStatus(String status)
The status of the certificate.
|
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 Certificate withCertificateArn(String certificateArn)
The ARN of the certificate.
certificateArn
- The ARN of the certificate.public void setCertificateId(String certificateId)
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
certificateId
- The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)public String getCertificateId()
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
public Certificate withCertificateId(String certificateId)
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
certificateId
- The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)public void setStatus(String status)
The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
status
- The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
CertificateStatus
public String getStatus()
The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
The status value REGISTER_INACTIVE is deprecated and should not be used.
CertificateStatus
public Certificate withStatus(String status)
The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
status
- The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
CertificateStatus
public void setStatus(CertificateStatus status)
The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
status
- The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
CertificateStatus
public Certificate withStatus(CertificateStatus status)
The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
status
- The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
CertificateStatus
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.
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.
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.
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.
CertificateMode
public Certificate 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.
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.
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.
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.
CertificateMode
public Certificate 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.
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.
CertificateMode
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 Certificate withCreationDate(Date creationDate)
The date and time the certificate was created.
creationDate
- The date and time the certificate was created.public String toString()
toString
in class Object
Object.toString()
public Certificate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.