public void setExpiration(java.util.Date expiration) {
        this.expiration = expiration;
    }
<p>
The date on which the current credentials expire.
</p>

@param expiration
       The date on which the current credentials expire.
aws-java-sdk-sts/src/main/java/com/amazonaws/services/securitytoken/model/Credentials.java