public GetManagedEndpointSessionCredentialsResult withCredentials(Credentials credentials) {
        setCredentials(credentials);
        return this;
    }
<p>
The structure containing the session credentials.
</p>

@param credentials
       The structure containing the session credentials.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-emrcontainers/src/main/java/com/amazonaws/services/emrcontainers/model/GetManagedEndpointSessionCredentialsResult.java