Interface ListConfigurationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListConfigurationsResponse.Builder,,ListConfigurationsResponse> MqResponse.Builder,SdkBuilder<ListConfigurationsResponse.Builder,,ListConfigurationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListConfigurationsResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.services.mq.model.MqResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaConfiguration.builder().When the
Consumercompletes,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.
-