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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListConfigurationsResponse.Builderconfigurations(Collection<Configuration> configurations)The list of all revisions for the specified configuration.ListConfigurationsResponse.Builderconfigurations(Consumer<Configuration.Builder>... configurations)The list of all revisions for the specified configuration.ListConfigurationsResponse.Builderconfigurations(Configuration... configurations)The list of all revisions for the specified configuration.ListConfigurationsResponse.BuildermaxResults(Integer maxResults)The maximum number of configurations that Amazon MQ can return per page (20 by default).ListConfigurationsResponse.BuildernextToken(String nextToken)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 Detail
-
configurations
ListConfigurationsResponse.Builder configurations(Collection<Configuration> 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(Configuration... 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.Builderavoiding the need to create one manually viaConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#configurations(List.) - 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:
#configurations(java.util.Collection)
-
maxResults
ListConfigurationsResponse.Builder maxResults(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.
- 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
ListConfigurationsResponse.Builder nextToken(String 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.
-
-