public Credentials withAccessTokenExpiration(java.util.Date accessTokenExpiration) {
        setAccessTokenExpiration(accessTokenExpiration);
        return this;
    }
<p>
A token generated with an expiration time for the session a user is logged in to Amazon Connect.
</p>

@param accessTokenExpiration
       A token generated with an expiration time for the session a user is logged in to Amazon Connect.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/Credentials.java