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