public RefreshTokenResult withExpiresIn(Integer expiresIn) {
        setExpiresIn(expiresIn);
        return this;
    }
<p>
The date and time when the new access token expires.
</p>

@param expiresIn
       The date and time when the new access token expires.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-amplifyuibuilder/src/main/java/com/amazonaws/services/amplifyuibuilder/model/RefreshTokenResult.java