Class CertificateValidity
- java.lang.Object
-
- software.amazon.awssdk.services.pcaconnectorad.model.CertificateValidity
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CertificateValidity.Builder,CertificateValidity>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCertificateValidity.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CertificateValidity.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ValidityPeriodrenewalPeriod()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.BuildertoBuilder()StringtoString()Returns a string representation of this object.ValidityPeriodvalidityPeriod()Information describing the end of the validity period of the certificate.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
renewalPeriod
public final ValidityPeriod renewalPeriod()
Renewal period is the period of time before certificate expiration when a new certificate will be requested.
- Returns:
- Renewal period is the period of time before certificate expiration when a new certificate will be requested.
-
validityPeriod
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.
- Returns:
- 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.
-
toBuilder
public CertificateValidity.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CertificateValidity.Builder,CertificateValidity>
-
builder
public static CertificateValidity.Builder builder()
-
serializableBuilderClass
public static Class<? extends CertificateValidity.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-