public void setExpiration(java.util.Date expiration) {
        this.expiration = expiration;
    }
<p>
The expiration date and time of the IAM credentials.
</p>

@param expiration
       The expiration date and time of the IAM credentials.
aws-java-sdk-deadline/src/main/java/com/amazonaws/services/deadline/model/AwsCredentials.java