Interface DescribeConnectorOperationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeConnectorOperationResponse.Builder,
,DescribeConnectorOperationResponse> KafkaConnectResponse.Builder
,SdkBuilder<DescribeConnectorOperationResponse.Builder,
,DescribeConnectorOperationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeConnectorOperationResponse
-
Method Summary
Modifier and TypeMethodDescriptionconnectorArn
(String connectorArn) The Amazon Resource Name (ARN) of the connector.connectorOperationArn
(String connectorOperationArn) The Amazon Resource Name (ARN) of the connector operation.connectorOperationState
(String connectorOperationState) The state of the connector operation.connectorOperationState
(ConnectorOperationState connectorOperationState) The state of the connector operation.connectorOperationType
(String connectorOperationType) The type of connector operation performed.connectorOperationType
(ConnectorOperationType connectorOperationType) The type of connector operation performed.creationTime
(Instant creationTime) The time when the operation was created.The time when the operation ended.errorInfo
(Consumer<StateDescription.Builder> errorInfo) Sets the value of the ErrorInfo property for this object.errorInfo
(StateDescription errorInfo) Sets the value of the ErrorInfo property for this object.operationSteps
(Collection<ConnectorOperationStep> operationSteps) The array of operation steps taken.operationSteps
(Consumer<ConnectorOperationStep.Builder>... operationSteps) The array of operation steps taken.operationSteps
(ConnectorOperationStep... operationSteps) The array of operation steps taken.originConnectorConfiguration
(Map<String, String> originConnectorConfiguration) The origin connector configuration.originWorkerSetting
(Consumer<WorkerSetting.Builder> originWorkerSetting) The origin worker setting.originWorkerSetting
(WorkerSetting originWorkerSetting) The origin worker setting.targetConnectorConfiguration
(Map<String, String> targetConnectorConfiguration) The target connector configuration.targetWorkerSetting
(Consumer<WorkerSetting.Builder> targetWorkerSetting) The target worker setting.targetWorkerSetting
(WorkerSetting targetWorkerSetting) The target worker setting.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
-
connectorArn
The Amazon Resource Name (ARN) of the connector.
- Parameters:
connectorArn
- The Amazon Resource Name (ARN) of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorOperationArn
The Amazon Resource Name (ARN) of the connector operation.
- Parameters:
connectorOperationArn
- The Amazon Resource Name (ARN) of the connector operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorOperationState
The state of the connector operation.
- Parameters:
connectorOperationState
- The state of the connector operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectorOperationState
DescribeConnectorOperationResponse.Builder connectorOperationState(ConnectorOperationState connectorOperationState) The state of the connector operation.
- Parameters:
connectorOperationState
- The state of the connector operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectorOperationType
The type of connector operation performed.
- Parameters:
connectorOperationType
- The type of connector operation performed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectorOperationType
DescribeConnectorOperationResponse.Builder connectorOperationType(ConnectorOperationType connectorOperationType) The type of connector operation performed.
- Parameters:
connectorOperationType
- The type of connector operation performed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operationSteps
DescribeConnectorOperationResponse.Builder operationSteps(Collection<ConnectorOperationStep> operationSteps) The array of operation steps taken.
- Parameters:
operationSteps
- The array of operation steps taken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationSteps
The array of operation steps taken.
- Parameters:
operationSteps
- The array of operation steps taken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationSteps
DescribeConnectorOperationResponse.Builder operationSteps(Consumer<ConnectorOperationStep.Builder>... operationSteps) The array of operation steps taken.
This is a convenience method that creates an instance of theConnectorOperationStep.Builder
avoiding the need to create one manually viaConnectorOperationStep.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooperationSteps(List<ConnectorOperationStep>)
.- Parameters:
operationSteps
- a consumer that will call methods onConnectorOperationStep.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
originWorkerSetting
The origin worker setting.
- Parameters:
originWorkerSetting
- The origin worker setting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originWorkerSetting
default DescribeConnectorOperationResponse.Builder originWorkerSetting(Consumer<WorkerSetting.Builder> originWorkerSetting) The origin worker setting.
This is a convenience method that creates an instance of theWorkerSetting.Builder
avoiding the need to create one manually viaWorkerSetting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooriginWorkerSetting(WorkerSetting)
.- Parameters:
originWorkerSetting
- a consumer that will call methods onWorkerSetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
originConnectorConfiguration
DescribeConnectorOperationResponse.Builder originConnectorConfiguration(Map<String, String> originConnectorConfiguration) The origin connector configuration.
- Parameters:
originConnectorConfiguration
- The origin connector configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetWorkerSetting
The target worker setting.
- Parameters:
targetWorkerSetting
- The target worker setting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetWorkerSetting
default DescribeConnectorOperationResponse.Builder targetWorkerSetting(Consumer<WorkerSetting.Builder> targetWorkerSetting) The target worker setting.
This is a convenience method that creates an instance of theWorkerSetting.Builder
avoiding the need to create one manually viaWorkerSetting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetWorkerSetting(WorkerSetting)
.- Parameters:
targetWorkerSetting
- a consumer that will call methods onWorkerSetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetConnectorConfiguration
DescribeConnectorOperationResponse.Builder targetConnectorConfiguration(Map<String, String> targetConnectorConfiguration) The target connector configuration.
- Parameters:
targetConnectorConfiguration
- The target connector configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorInfo
Sets the value of the ErrorInfo property for this object.- Parameters:
errorInfo
- The new value for the ErrorInfo property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorInfo
default DescribeConnectorOperationResponse.Builder errorInfo(Consumer<StateDescription.Builder> errorInfo) Sets the value of the ErrorInfo property for this object. This is a convenience method that creates an instance of theStateDescription.Builder
avoiding the need to create one manually viaStateDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorInfo(StateDescription)
.- Parameters:
errorInfo
- a consumer that will call methods onStateDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The time when the operation was created.
- Parameters:
creationTime
- The time when the operation was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The time when the operation ended.
- Parameters:
endTime
- The time when the operation ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-