@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CertificateValidity extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
CertificateValidity() |
Modifier and Type | Method and Description |
---|---|
CertificateValidity |
clone() |
boolean |
equals(Object obj) |
ValidityPeriod |
getRenewalPeriod()
Renewal period is the period of time before certificate expiration when a new certificate will be requested.
|
ValidityPeriod |
getValidityPeriod()
Information describing the end of the validity period of the certificate.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRenewalPeriod(ValidityPeriod renewalPeriod)
Renewal period is the period of time before certificate expiration when a new certificate will be requested.
|
void |
setValidityPeriod(ValidityPeriod validityPeriod)
Information describing the end of the validity period of the certificate.
|
String |
toString()
Returns a string representation of this object.
|
CertificateValidity |
withRenewalPeriod(ValidityPeriod renewalPeriod)
Renewal period is the period of time before certificate expiration when a new certificate will be requested.
|
CertificateValidity |
withValidityPeriod(ValidityPeriod validityPeriod)
Information describing the end of the validity period of the certificate.
|
public void setRenewalPeriod(ValidityPeriod renewalPeriod)
Renewal period is the period of time before certificate expiration when a new certificate will be requested.
renewalPeriod
- Renewal period is the period of time before certificate expiration when a new certificate will be
requested.public ValidityPeriod getRenewalPeriod()
Renewal period is the period of time before certificate expiration when a new certificate will be requested.
public CertificateValidity withRenewalPeriod(ValidityPeriod renewalPeriod)
Renewal period is the period of time before certificate expiration when a new certificate will be requested.
renewalPeriod
- Renewal period is the period of time before certificate expiration when a new certificate will be
requested.public void setValidityPeriod(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.
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 ValidityPeriod getValidityPeriod()
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 withValidityPeriod(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.
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 String toString()
toString
in class Object
Object.toString()
public CertificateValidity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.