Interface ListWorkerConfigurationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListWorkerConfigurationsResponse.Builder,
,ListWorkerConfigurationsResponse> KafkaConnectResponse.Builder
,SdkBuilder<ListWorkerConfigurationsResponse.Builder,
,ListWorkerConfigurationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListWorkerConfigurationsResponse
@Mutable
@NotThreadSafe
public static interface ListWorkerConfigurationsResponse.Builder
extends KafkaConnectResponse.Builder, SdkPojo, CopyableBuilder<ListWorkerConfigurationsResponse.Builder,ListWorkerConfigurationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the response of a ListWorkerConfigurations operation is truncated, it will include a NextToken.workerConfigurations
(Collection<WorkerConfigurationSummary> workerConfigurations) An array of worker configuration descriptions.workerConfigurations
(Consumer<WorkerConfigurationSummary.Builder>... workerConfigurations) An array of worker configuration descriptions.workerConfigurations
(WorkerConfigurationSummary... workerConfigurations) An array of worker configuration descriptions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kafkaconnect.model.KafkaConnectResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
If the response of a ListWorkerConfigurations operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.
- Parameters:
nextToken
- If the response of a ListWorkerConfigurations operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerConfigurations
ListWorkerConfigurationsResponse.Builder workerConfigurations(Collection<WorkerConfigurationSummary> workerConfigurations) An array of worker configuration descriptions.
- Parameters:
workerConfigurations
- An array of worker configuration descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerConfigurations
ListWorkerConfigurationsResponse.Builder workerConfigurations(WorkerConfigurationSummary... workerConfigurations) An array of worker configuration descriptions.
- Parameters:
workerConfigurations
- An array of worker configuration descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerConfigurations
ListWorkerConfigurationsResponse.Builder workerConfigurations(Consumer<WorkerConfigurationSummary.Builder>... workerConfigurations) An array of worker configuration descriptions.
This is a convenience method that creates an instance of theWorkerConfigurationSummary.Builder
avoiding the need to create one manually viaWorkerConfigurationSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworkerConfigurations(List<WorkerConfigurationSummary>)
.- Parameters:
workerConfigurations
- a consumer that will call methods onWorkerConfigurationSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-