public GetCredentialsResult withNextRefreshTime(java.util.Date nextRefreshTime) {
        setNextRefreshTime(nextRefreshTime);
        return this;
    }
<p>
The date and time of when the <code>DbUser</code> and <code>DbPassword</code> authorization refreshes.
</p>

@param nextRefreshTime
       The date and time of when the <code>DbUser</code> and <code>DbPassword</code> authorization refreshes.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshiftserverless/src/main/java/com/amazonaws/services/redshiftserverless/model/GetCredentialsResult.java