@Generated(value="software.amazon.awssdk:codegen") public final class CertificateValidity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CertificateValidity.Builder,CertificateValidity>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CertificateValidity.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CertificateValidity.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ValidityPeriod |
renewalPeriod()
Renewal period is the period of time before certificate expiration when a new certificate will be requested.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CertificateValidity.Builder> |
serializableBuilderClass() |
CertificateValidity.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ValidityPeriod |
validityPeriod()
Information describing the end of the validity period of the certificate.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ValidityPeriod renewalPeriod()
Renewal period is the period of time before certificate expiration when a new certificate will be requested.
public final 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.
public CertificateValidity.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CertificateValidity.Builder,CertificateValidity>public static CertificateValidity.Builder builder()
public static Class<? extends CertificateValidity.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.