@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListConfigurationRevisionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListConfigurationRevisionsResult() |
Modifier and Type | Method and Description |
---|---|
ListConfigurationRevisionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getConfigurationId()
The unique ID that Amazon MQ generates for the configuration.
|
Integer |
getMaxResults()
The maximum number of configuration revisions that can be returned per page (20 by default).
|
String |
getNextToken()
The token that specifies the next page of results Amazon MQ should return.
|
List<ConfigurationRevision> |
getRevisions()
The list of all revisions for the specified configuration.
|
int |
hashCode() |
void |
setConfigurationId(String configurationId)
The unique ID that Amazon MQ generates for the configuration.
|
void |
setMaxResults(Integer maxResults)
The maximum number of configuration revisions that can be returned per page (20 by default).
|
void |
setNextToken(String nextToken)
The token that specifies the next page of results Amazon MQ should return.
|
void |
setRevisions(Collection<ConfigurationRevision> revisions)
The list of all revisions for the specified configuration.
|
String |
toString()
Returns a string representation of this object.
|
ListConfigurationRevisionsResult |
withConfigurationId(String configurationId)
The unique ID that Amazon MQ generates for the configuration.
|
ListConfigurationRevisionsResult |
withMaxResults(Integer maxResults)
The maximum number of configuration revisions that can be returned per page (20 by default).
|
ListConfigurationRevisionsResult |
withNextToken(String nextToken)
The token that specifies the next page of results Amazon MQ should return.
|
ListConfigurationRevisionsResult |
withRevisions(Collection<ConfigurationRevision> revisions)
The list of all revisions for the specified configuration.
|
ListConfigurationRevisionsResult |
withRevisions(ConfigurationRevision... revisions)
The list of all revisions for the specified configuration.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setConfigurationId(String configurationId)
The unique ID that Amazon MQ generates for the configuration.
configurationId
- The unique ID that Amazon MQ generates for the configuration.public String getConfigurationId()
The unique ID that Amazon MQ generates for the configuration.
public ListConfigurationRevisionsResult withConfigurationId(String configurationId)
The unique ID that Amazon MQ generates for the configuration.
configurationId
- The unique ID that Amazon MQ generates for the configuration.public void setMaxResults(Integer maxResults)
The maximum number of configuration revisions that can be returned per page (20 by default). This value must be an integer from 5 to 100.
maxResults
- The maximum number of configuration revisions that can be returned per page (20 by default). This value
must be an integer from 5 to 100.public Integer getMaxResults()
The maximum number of configuration revisions that can be returned per page (20 by default). This value must be an integer from 5 to 100.
public ListConfigurationRevisionsResult withMaxResults(Integer maxResults)
The maximum number of configuration revisions that can be returned per page (20 by default). This value must be an integer from 5 to 100.
maxResults
- The maximum number of configuration revisions 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 ListConfigurationRevisionsResult 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 List<ConfigurationRevision> getRevisions()
The list of all revisions for the specified configuration.
public void setRevisions(Collection<ConfigurationRevision> revisions)
The list of all revisions for the specified configuration.
revisions
- The list of all revisions for the specified configuration.public ListConfigurationRevisionsResult withRevisions(ConfigurationRevision... revisions)
The list of all revisions for the specified configuration.
NOTE: This method appends the values to the existing list (if any). Use
setRevisions(java.util.Collection)
or withRevisions(java.util.Collection)
if you want to
override the existing values.
revisions
- The list of all revisions for the specified configuration.public ListConfigurationRevisionsResult withRevisions(Collection<ConfigurationRevision> revisions)
The list of all revisions for the specified configuration.
revisions
- The list of all revisions for the specified configuration.public String toString()
toString
in class Object
Object.toString()
public ListConfigurationRevisionsResult clone()