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
-
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 Detail
-
creationTime
CreateWorkerConfigurationResponse.Builder creationTime(Instant 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.Builderavoiding the need to create one manually viaWorkerConfigurationRevisionSummary.builder().When the
Consumercompletes,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:
latestRevision(WorkerConfigurationRevisionSummary)
-
name
CreateWorkerConfigurationResponse.Builder name(String 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
CreateWorkerConfigurationResponse.Builder workerConfigurationArn(String 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
CreateWorkerConfigurationResponse.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,WorkerConfigurationState
-
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:
WorkerConfigurationState,WorkerConfigurationState
-
-