Interface CreateWorkerConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateWorkerConfigurationResponse.Builder,
,CreateWorkerConfigurationResponse> KafkaConnectResponse.Builder
,SdkBuilder<CreateWorkerConfigurationResponse.Builder,
,CreateWorkerConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateWorkerConfigurationResponse
public static interface CreateWorkerConfigurationResponse.Builder
extends KafkaConnectResponse.Builder, SdkPojo, CopyableBuilder<CreateWorkerConfigurationResponse.Builder,CreateWorkerConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The time that the worker configuration was created.latestRevision
(Consumer<WorkerConfigurationRevisionSummary.Builder> latestRevision) The latest revision of the worker configuration.latestRevision
(WorkerConfigurationRevisionSummary latestRevision) The latest revision of the worker configuration.The name of the worker configuration.workerConfigurationArn
(String workerConfigurationArn) The Amazon Resource Name (ARN) that Amazon assigned to the worker configuration.workerConfigurationState
(String workerConfigurationState) The state of the worker configuration.workerConfigurationState
(WorkerConfigurationState workerConfigurationState) The state of the worker configuration.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
creationTime
The time that the worker configuration was created.
- Parameters:
creationTime
- The time that the worker configuration was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestRevision
CreateWorkerConfigurationResponse.Builder latestRevision(WorkerConfigurationRevisionSummary latestRevision) The latest revision of the worker configuration.
- Parameters:
latestRevision
- The latest revision of the worker configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestRevision
default CreateWorkerConfigurationResponse.Builder latestRevision(Consumer<WorkerConfigurationRevisionSummary.Builder> latestRevision) The latest revision of the worker configuration.
This is a convenience method that creates an instance of theWorkerConfigurationRevisionSummary.Builder
avoiding the need to create one manually viaWorkerConfigurationRevisionSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolatestRevision(WorkerConfigurationRevisionSummary)
.- Parameters:
latestRevision
- a consumer that will call methods onWorkerConfigurationRevisionSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the worker configuration.
- Parameters:
name
- The name of the worker configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerConfigurationArn
The Amazon Resource Name (ARN) that Amazon assigned to the worker configuration.
- Parameters:
workerConfigurationArn
- The Amazon Resource Name (ARN) that Amazon assigned to the worker configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerConfigurationState
The state of the worker configuration.
- Parameters:
workerConfigurationState
- The state of the worker configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workerConfigurationState
CreateWorkerConfigurationResponse.Builder workerConfigurationState(WorkerConfigurationState workerConfigurationState) The state of the worker configuration.
- Parameters:
workerConfigurationState
- The state of the worker configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-