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

    • body

      The body of the certificate.

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

      Certificate.Builder issuer(String issuer)

      The entity that issued the certificate.

      Parameters:
      issuer - The entity that issued the certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • notValidAfter

      Certificate.Builder notValidAfter(Instant notValidAfter)

      The certificate is not valid after this date.

      Parameters:
      notValidAfter - The certificate is not valid after this date.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • notValidBefore

      Certificate.Builder notValidBefore(Instant notValidBefore)

      The certificate is not valid before this date.

      Parameters:
      notValidBefore - The certificate is not valid before this date.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subject

      Certificate.Builder subject(String subject)

      The entity the certificate belongs to.

      Parameters:
      subject - The entity the certificate belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • thumbprint

      Certificate.Builder thumbprint(String thumbprint)

      A hexadecimal identifier for the certificate.

      Parameters:
      thumbprint - A hexadecimal identifier for the certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.