@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)
Marshalls this structured data using the given
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.ValidityPeriodType
public String getType()
Specifies whether the Value
parameter represents days, months, or years.
Value
parameter represents days, months, or years.ValidityPeriodType
public 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.ValidityPeriodType
public 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.ValidityPeriodType
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.