Interface CertificateValidity.Builder

  • Method Details

    • renewalPeriod

      CertificateValidity.Builder renewalPeriod(ValidityPeriod renewalPeriod)

      Renewal period is the period of time before certificate expiration when a new certificate will be requested.

      Parameters:
      renewalPeriod - Renewal period is the period of time before certificate expiration when a new certificate will be requested.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • renewalPeriod

      default CertificateValidity.Builder renewalPeriod(Consumer<ValidityPeriod.Builder> renewalPeriod)

      Renewal period is the period of time before certificate expiration when a new certificate will be requested.

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

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

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

      CertificateValidity.Builder validityPeriod(ValidityPeriod validityPeriod)

      Information describing the end of the validity period of the certificate. This parameter sets the “Not After” date for the certificate. Certificate validity is the period of time during which a certificate is valid. Validity can be expressed as an explicit date and time when the certificate expires, or as a span of time after issuance, stated in days, months, or years. For more information, see Validity in RFC 5280. This value is unaffected when ValidityNotBefore is also specified. For example, if Validity is set to 20 days in the future, the certificate will expire 20 days from issuance time regardless of the ValidityNotBefore value.

      Parameters:
      validityPeriod - Information describing the end of the validity period of the certificate. This parameter sets the “Not After” date for the certificate. Certificate validity is the period of time during which a certificate is valid. Validity can be expressed as an explicit date and time when the certificate expires, or as a span of time after issuance, stated in days, months, or years. For more information, see Validity in RFC 5280. This value is unaffected when ValidityNotBefore is also specified. For example, if Validity is set to 20 days in the future, the certificate will expire 20 days from issuance time regardless of the ValidityNotBefore value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • validityPeriod

      default CertificateValidity.Builder validityPeriod(Consumer<ValidityPeriod.Builder> validityPeriod)

      Information describing the end of the validity period of the certificate. This parameter sets the “Not After” date for the certificate. Certificate validity is the period of time during which a certificate is valid. Validity can be expressed as an explicit date and time when the certificate expires, or as a span of time after issuance, stated in days, months, or years. For more information, see Validity in RFC 5280. This value is unaffected when ValidityNotBefore is also specified. For example, if Validity is set to 20 days in the future, the certificate will expire 20 days from issuance time regardless of the ValidityNotBefore value.

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

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

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