Interface CertificateValidity.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CertificateValidity.Builder,
,CertificateValidity> SdkBuilder<CertificateValidity.Builder,
,CertificateValidity> SdkPojo
- Enclosing class:
CertificateValidity
-
Method Summary
Modifier and TypeMethodDescriptiondefault CertificateValidity.Builder
renewalPeriod
(Consumer<ValidityPeriod.Builder> renewalPeriod) Renewal period is the period of time before certificate expiration when a new certificate will be requested.renewalPeriod
(ValidityPeriod renewalPeriod) Renewal period is the period of time before certificate expiration when a new certificate will be requested.default CertificateValidity.Builder
validityPeriod
(Consumer<ValidityPeriod.Builder> validityPeriod) Information describing the end of the validity period of the certificate.validityPeriod
(ValidityPeriod validityPeriod) Information describing the end of the validity period of the certificate.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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 theValidityPeriod.Builder
avoiding the need to create one manually viaValidityPeriod.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torenewalPeriod(ValidityPeriod)
.- Parameters:
renewalPeriod
- a consumer that will call methods onValidityPeriod.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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 theValidityPeriod.Builder
avoiding the need to create one manually viaValidityPeriod.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalidityPeriod(ValidityPeriod)
.- Parameters:
validityPeriod
- a consumer that will call methods onValidityPeriod.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-