Interface CACertificateDescription.Builder

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

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

    • certificateArn

      CACertificateDescription.Builder certificateArn(String certificateArn)

      The CA certificate ARN.

      Parameters:
      certificateArn - The CA certificate ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • certificateId

      CACertificateDescription.Builder certificateId(String certificateId)

      The CA certificate ID.

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

      The status of a CA certificate.

      Parameters:
      status - The status of a CA certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of a CA certificate.

      Parameters:
      status - The status of a CA certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • certificatePem

      CACertificateDescription.Builder certificatePem(String certificatePem)

      The CA certificate data, in PEM format.

      Parameters:
      certificatePem - The CA certificate data, in PEM format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ownedBy

      The owner of the CA certificate.

      Parameters:
      ownedBy - The owner of the CA certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationDate

      CACertificateDescription.Builder creationDate(Instant creationDate)

      The date the CA certificate was created.

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

      CACertificateDescription.Builder autoRegistrationStatus(String autoRegistrationStatus)

      Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"

      Parameters:
      autoRegistrationStatus - Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • autoRegistrationStatus

      CACertificateDescription.Builder autoRegistrationStatus(AutoRegistrationStatus autoRegistrationStatus)

      Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"

      Parameters:
      autoRegistrationStatus - Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastModifiedDate

      CACertificateDescription.Builder lastModifiedDate(Instant lastModifiedDate)

      The date the CA certificate was last modified.

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

      CACertificateDescription.Builder customerVersion(Integer customerVersion)

      The customer version of the CA certificate.

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

      CACertificateDescription.Builder generationId(String generationId)

      The generation ID of the CA certificate.

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

      When the CA certificate is valid.

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

      When the CA certificate is valid.

      This is a convenience method that creates an instance of the CertificateValidity.Builder avoiding the need to create one manually via CertificateValidity.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to validity(CertificateValidity).

      Parameters:
      validity - a consumer that will call methods on CertificateValidity.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • certificateMode

      CACertificateDescription.Builder certificateMode(String certificateMode)

      The mode of the CA.

      All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode.

      Parameters:
      certificateMode - The mode of the CA.

      All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode.

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

      CACertificateDescription.Builder certificateMode(CertificateMode certificateMode)

      The mode of the CA.

      All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode.

      Parameters:
      certificateMode - The mode of the CA.

      All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode.

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