Interface ListConfigurationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListConfigurationsResponse.Builder,,ListConfigurationsResponse> KafkaResponse.Builder,SdkBuilder<ListConfigurationsResponse.Builder,,ListConfigurationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListConfigurationsResponse
-
Method Summary
Modifier and TypeMethodDescriptionconfigurations(Collection<Configuration> configurations) An array of MSK configurations.configurations(Consumer<Configuration.Builder>... configurations) An array of MSK configurations.configurations(Configuration... configurations) An array of MSK configurations.The paginated results marker.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kafka.model.KafkaResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
configurations
An array of MSK configurations.
- Parameters:
configurations-An array of MSK configurations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurations
An array of MSK configurations.
- Parameters:
configurations-An array of MSK configurations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurations
ListConfigurationsResponse.Builder configurations(Consumer<Configuration.Builder>... configurations) An array of MSK configurations.
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:
-
nextToken
The paginated results marker. When the result of a ListConfigurations operation is truncated, the call returns NextToken in the response. To get another batch of configurations, provide this token in your next request.
- Parameters:
nextToken-The paginated results marker. When the result of a ListConfigurations operation is truncated, the call returns NextToken in the response. To get another batch of configurations, provide this token in your next request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-