Interface ListConfigurationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListConfigurationsResponse.Builder,
,ListConfigurationsResponse> MqResponse.Builder
,SdkBuilder<ListConfigurationsResponse.Builder,
,ListConfigurationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListConfigurationsResponse
public static interface ListConfigurationsResponse.Builder
extends MqResponse.Builder, SdkPojo, CopyableBuilder<ListConfigurationsResponse.Builder,ListConfigurationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconfigurations
(Collection<Configuration> configurations) The list of all revisions for the specified configuration.configurations
(Consumer<Configuration.Builder>... configurations) The list of all revisions for the specified configuration.configurations
(Configuration... configurations) The list of all revisions for the specified configuration.maxResults
(Integer maxResults) The maximum number of configurations that Amazon MQ can return per page (20 by default).The token that specifies the next page of results Amazon MQ should return.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
-
configurations
The list of all revisions for the specified configuration.
- Parameters:
configurations
- The list of all revisions for the specified configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurations
The list of all revisions for the specified configuration.
- Parameters:
configurations
- The list of all revisions for the specified configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurations
ListConfigurationsResponse.Builder configurations(Consumer<Configuration.Builder>... configurations) The list of all revisions for the specified configuration.
This is a convenience method that creates an instance of theConfiguration.Builder
avoiding the need to create one manually viaConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfigurations(List<Configuration>)
.- Parameters:
configurations
- a consumer that will call methods onConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- 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.
-