Interface CertificateDescription.Builder

    • Method Detail

      • certificateArn

        CertificateDescription.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

        CertificateDescription.Builder certificateId​(String certificateId)

        The ID of the certificate.

        Parameters:
        certificateId - The ID of the certificate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • caCertificateId

        CertificateDescription.Builder caCertificateId​(String caCertificateId)

        The certificate ID of the CA certificate used to sign this certificate.

        Parameters:
        caCertificateId - The certificate ID of the CA certificate used to sign this certificate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certificatePem

        CertificateDescription.Builder certificatePem​(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.
      • ownedBy

        CertificateDescription.Builder ownedBy​(String ownedBy)

        The ID of the Amazon Web Services account that owns the certificate.

        Parameters:
        ownedBy - The ID of the Amazon Web Services account that owns the certificate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • previousOwnedBy

        CertificateDescription.Builder previousOwnedBy​(String previousOwnedBy)

        The ID of the Amazon Web Services account of the previous owner of the certificate.

        Parameters:
        previousOwnedBy - The ID of the Amazon Web Services account of the previous owner of the certificate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationDate

        CertificateDescription.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.
      • lastModifiedDate

        CertificateDescription.Builder lastModifiedDate​(Instant lastModifiedDate)

        The date and time the certificate was last modified.

        Parameters:
        lastModifiedDate - The date and time the certificate was last modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customerVersion

        CertificateDescription.Builder customerVersion​(Integer customerVersion)

        The customer version of the certificate.

        Parameters:
        customerVersion - The customer version of the certificate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • transferData

        CertificateDescription.Builder transferData​(TransferData transferData)

        The transfer data.

        Parameters:
        transferData - The transfer data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • generationId

        CertificateDescription.Builder generationId​(String generationId)

        The generation ID of the certificate.

        Parameters:
        generationId - The generation ID of the certificate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • validity

        CertificateDescription.Builder validity​(CertificateValidity validity)

        When the certificate is valid.

        Parameters:
        validity - When the certificate is valid.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certificateMode

        CertificateDescription.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.

        For more information about the value for SNI extension, see Transport security in IoT.

        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.

        For more information about the value for SNI extension, see Transport security in IoT.

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

        CertificateDescription.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.

        For more information about the value for SNI extension, see Transport security in IoT.

        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.

        For more information about the value for SNI extension, see Transport security in IoT.

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