Interface ListWorkerConfigurationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListWorkerConfigurationsResponse.Builder,,ListWorkerConfigurationsResponse> KafkaConnectResponse.Builder,SdkBuilder<ListWorkerConfigurationsResponse.Builder,,ListWorkerConfigurationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListWorkerConfigurationsResponse
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
copyMethods inherited from interface software.amazon.awssdk.services.kafkaconnect.model.KafkaConnectResponse.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
-
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.Builderavoiding the need to create one manually viaWorkerConfigurationSummary.builder().When the
Consumercompletes,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:
-