Interface Certificate.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Certificate.Builder,Certificate>, SdkBuilder<Certificate.Builder,Certificate>, SdkPojo
Enclosing class:
Certificate

public static interface Certificate.Builder extends SdkPojo, CopyableBuilder<Certificate.Builder,Certificate>
  • Method Details

    • certificateArn

      Certificate.Builder certificateArn(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.
    • certificateId

      Certificate.Builder certificateId(String certificateId)

      The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

      Parameters:
      certificateId - The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Certificate.Builder status(String status)

      The status of the certificate.

      The status value REGISTER_INACTIVE is deprecated and should not be used.

      Parameters:
      status - The status of the certificate.

      The status value REGISTER_INACTIVE is deprecated and should not be used.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the certificate.

      The status value REGISTER_INACTIVE is deprecated and should not be used.

      Parameters:
      status - The status of the certificate.

      The status value REGISTER_INACTIVE is deprecated and should not be used.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • certificateMode

      Certificate.Builder certificateMode(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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • certificateMode

      Certificate.Builder certificateMode(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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • creationDate

      Certificate.Builder creationDate(Instant creationDate)

      The date and time the certificate was created.

      Parameters:
      creationDate - The date and time the certificate was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.