Interface DescribeWorkerConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeWorkerConfigurationResponse.Builder,
,DescribeWorkerConfigurationResponse> KafkaConnectResponse.Builder
,SdkBuilder<DescribeWorkerConfigurationResponse.Builder,
,DescribeWorkerConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeWorkerConfigurationResponse
public static interface DescribeWorkerConfigurationResponse.Builder
extends KafkaConnectResponse.Builder, SdkPojo, CopyableBuilder<DescribeWorkerConfigurationResponse.Builder,DescribeWorkerConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The time that the worker configuration was created.description
(String description) The description of the worker configuration.latestRevision
(Consumer<WorkerConfigurationRevisionDescription.Builder> latestRevision) The latest revision of the custom configuration.latestRevision
(WorkerConfigurationRevisionDescription latestRevision) The latest revision of the custom configuration.The name of the worker configuration.workerConfigurationArn
(String workerConfigurationArn) The Amazon Resource Name (ARN) of the custom 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.
-
description
The description of the worker configuration.
- Parameters:
description
- The description of the worker configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestRevision
DescribeWorkerConfigurationResponse.Builder latestRevision(WorkerConfigurationRevisionDescription latestRevision) The latest revision of the custom configuration.
- Parameters:
latestRevision
- The latest revision of the custom configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestRevision
default DescribeWorkerConfigurationResponse.Builder latestRevision(Consumer<WorkerConfigurationRevisionDescription.Builder> latestRevision) The latest revision of the custom configuration.
This is a convenience method that creates an instance of theWorkerConfigurationRevisionDescription.Builder
avoiding the need to create one manually viaWorkerConfigurationRevisionDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolatestRevision(WorkerConfigurationRevisionDescription)
.- Parameters:
latestRevision
- a consumer that will call methods onWorkerConfigurationRevisionDescription.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) of the custom configuration.
- Parameters:
workerConfigurationArn
- The Amazon Resource Name (ARN) of the custom configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerConfigurationState
DescribeWorkerConfigurationResponse.Builder workerConfigurationState(String 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
DescribeWorkerConfigurationResponse.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:
-