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