public static interface ListConfigurationRevisionsResponse.Builder extends MqResponse.Builder, SdkPojo, CopyableBuilder<ListConfigurationRevisionsResponse.Builder,ListConfigurationRevisionsResponse>
Modifier and Type | Method and Description |
---|---|
ListConfigurationRevisionsResponse.Builder |
configurationId(String configurationId)
The unique ID that Amazon MQ generates for the configuration.
|
ListConfigurationRevisionsResponse.Builder |
maxResults(Integer maxResults)
The maximum number of configuration revisions that can be returned per page (20 by default).
|
ListConfigurationRevisionsResponse.Builder |
nextToken(String nextToken)
The token that specifies the next page of results Amazon MQ should return.
|
ListConfigurationRevisionsResponse.Builder |
revisions(Collection<ConfigurationRevision> revisions)
The list of all revisions for the specified configuration.
|
ListConfigurationRevisionsResponse.Builder |
revisions(ConfigurationRevision... revisions)
The list of all revisions for the specified configuration.
|
ListConfigurationRevisionsResponse.Builder |
revisions(Consumer<ConfigurationRevision.Builder>... revisions)
The list of all revisions for the specified configuration.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListConfigurationRevisionsResponse.Builder configurationId(String configurationId)
configurationId
- The unique ID that Amazon MQ generates for the configuration.ListConfigurationRevisionsResponse.Builder maxResults(Integer maxResults)
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.ListConfigurationRevisionsResponse.Builder nextToken(String nextToken)
nextToken
- The token that specifies the next page of results Amazon MQ should return. To request the first page,
leave nextToken empty.ListConfigurationRevisionsResponse.Builder revisions(Collection<ConfigurationRevision> revisions)
revisions
- The list of all revisions for the specified configuration.ListConfigurationRevisionsResponse.Builder revisions(ConfigurationRevision... revisions)
revisions
- The list of all revisions for the specified configuration.ListConfigurationRevisionsResponse.Builder revisions(Consumer<ConfigurationRevision.Builder>... revisions)
List.Builder
avoiding the need to create one manually via #builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #revisions(List)
.revisions
- a consumer that will call methods on List.Builder
#revisions(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.