@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)
Marshalls this structured data using the given
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.ValidityType
public String getType()
The time unit for signature validity.
ValidityType
public SignatureValidityPeriod withType(String type)
The time unit for signature validity.
type
- The time unit for signature validity.ValidityType
public SignatureValidityPeriod withType(ValidityType type)
The time unit for signature validity.
type
- The time unit for signature validity.ValidityType
public String toString()
toString
in class Object
Object.toString()
public SignatureValidityPeriod clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.