@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SignatureValidityPeriod extends Object implements Serializable, Cloneable, StructuredPojo
The validity period for a signing job.
| Constructor and Description |
|---|
SignatureValidityPeriod() |
| Modifier and Type | Method and Description |
|---|---|
SignatureValidityPeriod |
clone() |
boolean |
equals(Object obj) |
String |
getType()
The time unit for signature validity.
|
Integer |
getValue()
The numerical value of the time unit for signature validity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setType(String type)
The time unit for signature validity.
|
void |
setValue(Integer value)
The numerical value of the time unit for signature validity.
|
String |
toString()
Returns a string representation of this object.
|
SignatureValidityPeriod |
withType(String type)
The time unit for signature validity.
|
SignatureValidityPeriod |
withType(ValidityType type)
The time unit for signature validity.
|
SignatureValidityPeriod |
withValue(Integer value)
The numerical value of the time unit for signature validity.
|
public void setValue(Integer value)
The numerical value of the time unit for signature validity.
value - The numerical value of the time unit for signature validity.public Integer getValue()
The numerical value of the time unit for signature validity.
public SignatureValidityPeriod withValue(Integer value)
The numerical value of the time unit for signature validity.
value - The numerical value of the time unit for signature validity.public void setType(String type)
The time unit for signature validity.
type - The time unit for signature validity.ValidityTypepublic String getType()
The time unit for signature validity.
ValidityTypepublic SignatureValidityPeriod withType(String type)
The time unit for signature validity.
type - The time unit for signature validity.ValidityTypepublic SignatureValidityPeriod withType(ValidityType type)
The time unit for signature validity.
type - The time unit for signature validity.ValidityTypepublic String toString()
toString in class ObjectObject.toString()public SignatureValidityPeriod clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.