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

@param expiration
       The date at which these credentials will expire.
aws-java-sdk-cognitoidentity/src/main/java/com/amazonaws/services/cognitoidentity/model/Credentials.java