@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListBrokersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListBrokersResult() |
| Modifier and Type | Method and Description |
|---|---|
ListBrokersResult |
clone() |
boolean |
equals(Object obj) |
List<BrokerSummary> |
getBrokerSummaries()
A list of information about all brokers.
|
String |
getNextToken()
The token that specifies the next page of results Amazon MQ should return.
|
int |
hashCode() |
void |
setBrokerSummaries(Collection<BrokerSummary> brokerSummaries)
A list of information about all brokers.
|
void |
setNextToken(String nextToken)
The token that specifies the next page of results Amazon MQ should return.
|
String |
toString()
Returns a string representation of this object.
|
ListBrokersResult |
withBrokerSummaries(BrokerSummary... brokerSummaries)
A list of information about all brokers.
|
ListBrokersResult |
withBrokerSummaries(Collection<BrokerSummary> brokerSummaries)
A list of information about all brokers.
|
ListBrokersResult |
withNextToken(String nextToken)
The token that specifies the next page of results Amazon MQ should return.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<BrokerSummary> getBrokerSummaries()
public void setBrokerSummaries(Collection<BrokerSummary> brokerSummaries)
brokerSummaries - A list of information about all brokers.public ListBrokersResult withBrokerSummaries(BrokerSummary... brokerSummaries)
NOTE: This method appends the values to the existing list (if any). Use
setBrokerSummaries(java.util.Collection) or withBrokerSummaries(java.util.Collection) if you
want to override the existing values.
brokerSummaries - A list of information about all brokers.public ListBrokersResult withBrokerSummaries(Collection<BrokerSummary> brokerSummaries)
brokerSummaries - A list of information about all brokers.public void setNextToken(String nextToken)
nextToken - The token that specifies the next page of results Amazon MQ should return. To request the first page,
leave nextToken empty.public String getNextToken()
public ListBrokersResult withNextToken(String nextToken)
nextToken - The token that specifies the next page of results Amazon MQ should return. To request the first page,
leave nextToken empty.public String toString()
toString in class ObjectObject.toString()public ListBrokersResult clone()