public UpdatePipeSourceActiveMQBrokerParameters withCredentials(MQBrokerAccessCredentials credentials) {
        setCredentials(credentials);
        return this;
    }
<p>
The credentials needed to access the resource.
</p>

@param credentials
       The credentials needed to access the resource.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pipes/src/main/java/com/amazonaws/services/pipes/model/UpdatePipeSourceActiveMQBrokerParameters.java