@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, setSdkResponseMetadata
public List<BrokerSummary> getBrokerSummaries()
A list of information about all brokers.
public void setBrokerSummaries(Collection<BrokerSummary> brokerSummaries)
A list of information about all brokers.
brokerSummaries
- A list of information about all brokers.public ListBrokersResult withBrokerSummaries(BrokerSummary... brokerSummaries)
A list of information about all brokers.
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)
A list of information about all brokers.
brokerSummaries
- A list of information about all brokers.public void setNextToken(String nextToken)
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
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()
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
public ListBrokersResult withNextToken(String nextToken)
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
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 Object
Object.toString()
public ListBrokersResult clone()