Interface ListConfigurationRevisionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListConfigurationRevisionsResponse.Builder,
,ListConfigurationRevisionsResponse> MqResponse.Builder
,SdkBuilder<ListConfigurationRevisionsResponse.Builder,
,ListConfigurationRevisionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListConfigurationRevisionsResponse
public static interface ListConfigurationRevisionsResponse.Builder
extends MqResponse.Builder, SdkPojo, CopyableBuilder<ListConfigurationRevisionsResponse.Builder,ListConfigurationRevisionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconfigurationId
(String configurationId) The unique ID that Amazon MQ generates for the configuration.maxResults
(Integer maxResults) The maximum number of configuration revisions that can be returned per page (20 by default).The token that specifies the next page of results Amazon MQ should return.revisions
(Collection<ConfigurationRevision> revisions) The list of all revisions for the specified configuration.revisions
(Consumer<ConfigurationRevision.Builder>... revisions) The list of all revisions for the specified configuration.revisions
(ConfigurationRevision... revisions) The list of all revisions for the specified configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mq.model.MqResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
configurationId
The unique ID that Amazon MQ generates for the configuration.
- Parameters:
configurationId
- The unique ID that Amazon MQ generates for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
- Parameters:
nextToken
- The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisions
The list of all revisions for the specified configuration.
- Parameters:
revisions
- The list of all revisions for the specified configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisions
The list of all revisions for the specified configuration.
- Parameters:
revisions
- The list of all revisions for the specified configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisions
ListConfigurationRevisionsResponse.Builder revisions(Consumer<ConfigurationRevision.Builder>... revisions) The list of all revisions for the specified configuration.
This is a convenience method that creates an instance of theConfigurationRevision.Builder
avoiding the need to create one manually viaConfigurationRevision.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torevisions(List<ConfigurationRevision>)
.- Parameters:
revisions
- a consumer that will call methods onConfigurationRevision.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-