public SignatureValidityPeriod withType(ValidityType type) {
        this.type = type.toString();
        return this;
    }
<p>
The time unit for signature validity.
</p>

@param type
       The time unit for signature validity.
@return Returns a reference to this object so that method calls can be chained together.
@see ValidityType
aws-java-sdk-signer/src/main/java/com/amazonaws/services/signer/model/SignatureValidityPeriod.java