@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Validity extends Object implements Serializable, Cloneable, StructuredPojo
Length of time for which the certificate issued by your private certificate authority (CA), or by the private CA itself, is valid in days, months, or years. You can issue a certificate by calling the IssueCertificate action.
| Constructor and Description |
|---|
Validity() |
| Modifier and Type | Method and Description |
|---|---|
Validity |
clone() |
boolean |
equals(Object obj) |
String |
getType()
Specifies whether the
Value parameter represents days, months, or years. |
Long |
getValue()
Time period.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setType(String type)
Specifies whether the
Value parameter represents days, months, or years. |
void |
setValue(Long value)
Time period.
|
String |
toString()
Returns a string representation of this object.
|
Validity |
withType(String type)
Specifies whether the
Value parameter represents days, months, or years. |
Validity |
withType(ValidityPeriodType type)
Specifies whether the
Value parameter represents days, months, or years. |
Validity |
withValue(Long value)
Time period.
|
public void setValue(Long value)
Time period.
value - Time period.public Long getValue()
Time period.
public Validity withValue(Long value)
Time period.
value - Time period.public void setType(String type)
Specifies whether the Value parameter represents days, months, or years.
type - Specifies whether the Value parameter represents days, months, or years.ValidityPeriodTypepublic String getType()
Specifies whether the Value parameter represents days, months, or years.
Value parameter represents days, months, or years.ValidityPeriodTypepublic Validity withType(String type)
Specifies whether the Value parameter represents days, months, or years.
type - Specifies whether the Value parameter represents days, months, or years.ValidityPeriodTypepublic Validity withType(ValidityPeriodType type)
Specifies whether the Value parameter represents days, months, or years.
type - Specifies whether the Value parameter represents days, months, or years.ValidityPeriodTypepublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.