@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeBrokerInstanceOptionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeBrokerInstanceOptionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeBrokerInstanceOptionsResult |
clone() |
boolean |
equals(Object obj) |
List<BrokerInstanceOption> |
getBrokerInstanceOptions()
List of available broker instance options.
|
Integer |
getMaxResults()
Required.
|
String |
getNextToken()
The token that specifies the next page of results Amazon MQ should return.
|
int |
hashCode() |
void |
setBrokerInstanceOptions(Collection<BrokerInstanceOption> brokerInstanceOptions)
List of available broker instance options.
|
void |
setMaxResults(Integer maxResults)
Required.
|
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.
|
DescribeBrokerInstanceOptionsResult |
withBrokerInstanceOptions(BrokerInstanceOption... brokerInstanceOptions)
List of available broker instance options.
|
DescribeBrokerInstanceOptionsResult |
withBrokerInstanceOptions(Collection<BrokerInstanceOption> brokerInstanceOptions)
List of available broker instance options.
|
DescribeBrokerInstanceOptionsResult |
withMaxResults(Integer maxResults)
Required.
|
DescribeBrokerInstanceOptionsResult |
withNextToken(String nextToken)
The token that specifies the next page of results Amazon MQ should return.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<BrokerInstanceOption> getBrokerInstanceOptions()
List of available broker instance options.
public void setBrokerInstanceOptions(Collection<BrokerInstanceOption> brokerInstanceOptions)
List of available broker instance options.
brokerInstanceOptions
- List of available broker instance options.public DescribeBrokerInstanceOptionsResult withBrokerInstanceOptions(BrokerInstanceOption... brokerInstanceOptions)
List of available broker instance options.
NOTE: This method appends the values to the existing list (if any). Use
setBrokerInstanceOptions(java.util.Collection)
or
withBrokerInstanceOptions(java.util.Collection)
if you want to override the existing values.
brokerInstanceOptions
- List of available broker instance options.public DescribeBrokerInstanceOptionsResult withBrokerInstanceOptions(Collection<BrokerInstanceOption> brokerInstanceOptions)
List of available broker instance options.
brokerInstanceOptions
- List of available broker instance options.public void setMaxResults(Integer maxResults)
Required. The maximum number of instance options that can be returned per page (20 by default). This value must be an integer from 5 to 100.
maxResults
- Required. The maximum number of instance options that can be returned per page (20 by default). This value
must be an integer from 5 to 100.public Integer getMaxResults()
Required. The maximum number of instance options that can be returned per page (20 by default). This value must be an integer from 5 to 100.
public DescribeBrokerInstanceOptionsResult withMaxResults(Integer maxResults)
Required. The maximum number of instance options that can be returned per page (20 by default). This value must be an integer from 5 to 100.
maxResults
- Required. The maximum number of instance options that can be returned per page (20 by default). This value
must be an integer from 5 to 100.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 DescribeBrokerInstanceOptionsResult 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 DescribeBrokerInstanceOptionsResult clone()