public BrokerInstance withEndpoints(java.util.Collection<String> endpoints) {
        setEndpoints(endpoints);
        return this;
    }
<p>
The broker's wire-level protocol endpoints.
</p>

@param endpoints
       The broker's wire-level protocol endpoints.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mq/src/main/java/com/amazonaws/services/mq/model/BrokerInstance.java