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

    • certificateId

      Certificate.Builder certificateId(String certificateId)

      The identifier of the certificate.

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

      The state of the certificate.

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

      The state of the certificate.

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

      Certificate.Builder stateReason(String stateReason)

      Describes a state change for the certificate.

      Parameters:
      stateReason - Describes a state change for the certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • commonName

      Certificate.Builder commonName(String commonName)

      The common name for the certificate.

      Parameters:
      commonName - The common name for the certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • registeredDateTime

      Certificate.Builder registeredDateTime(Instant registeredDateTime)

      The date and time that the certificate was registered.

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

      Certificate.Builder expiryDateTime(Instant expiryDateTime)

      The date and time when the certificate will expire.

      Parameters:
      expiryDateTime - The date and time when the certificate will expire.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The function that the registered certificate performs. Valid values include ClientLDAPS or ClientCertAuth. The default value is ClientLDAPS.

      Parameters:
      type - The function that the registered certificate performs. Valid values include ClientLDAPS or ClientCertAuth. The default value is ClientLDAPS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The function that the registered certificate performs. Valid values include ClientLDAPS or ClientCertAuth. The default value is ClientLDAPS.

      Parameters:
      type - The function that the registered certificate performs. Valid values include ClientLDAPS or ClientCertAuth. The default value is ClientLDAPS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • clientCertAuthSettings

      Certificate.Builder clientCertAuthSettings(ClientCertAuthSettings clientCertAuthSettings)

      A ClientCertAuthSettings object that contains client certificate authentication settings.

      Parameters:
      clientCertAuthSettings - A ClientCertAuthSettings object that contains client certificate authentication settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientCertAuthSettings

      default Certificate.Builder clientCertAuthSettings(Consumer<ClientCertAuthSettings.Builder> clientCertAuthSettings)

      A ClientCertAuthSettings object that contains client certificate authentication settings.

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

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

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