Interface DescribeConnectorOperationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeConnectorOperationResponse.Builder,DescribeConnectorOperationResponse>,KafkaConnectResponse.Builder,SdkBuilder<DescribeConnectorOperationResponse.Builder,DescribeConnectorOperationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeConnectorOperationResponse
public static interface DescribeConnectorOperationResponse.Builder extends KafkaConnectResponse.Builder, SdkPojo, CopyableBuilder<DescribeConnectorOperationResponse.Builder,DescribeConnectorOperationResponse>
-
-
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
-
connectorArn
DescribeConnectorOperationResponse.Builder connectorArn(String 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
DescribeConnectorOperationResponse.Builder connectorOperationArn(String 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
DescribeConnectorOperationResponse.Builder connectorOperationState(String 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,ConnectorOperationState
-
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:
ConnectorOperationState,ConnectorOperationState
-
connectorOperationType
DescribeConnectorOperationResponse.Builder connectorOperationType(String 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,ConnectorOperationType
-
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:
ConnectorOperationType,ConnectorOperationType
-
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
DescribeConnectorOperationResponse.Builder operationSteps(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
DescribeConnectorOperationResponse.Builder operationSteps(Consumer<ConnectorOperationStep.Builder>... operationSteps)
The array of operation steps taken.
This is a convenience method that creates an instance of theConnectorOperationStep.Builderavoiding the need to create one manually viaConnectorOperationStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#operationSteps(List.) - 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:
#operationSteps(java.util.Collection)
-
originWorkerSetting
DescribeConnectorOperationResponse.Builder originWorkerSetting(WorkerSetting 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.Builderavoiding the need to create one manually viaWorkerSetting.builder().When the
Consumercompletes,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:
originWorkerSetting(WorkerSetting)
-
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
DescribeConnectorOperationResponse.Builder targetWorkerSetting(WorkerSetting 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.Builderavoiding the need to create one manually viaWorkerSetting.builder().When the
Consumercompletes,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:
targetWorkerSetting(WorkerSetting)
-
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
DescribeConnectorOperationResponse.Builder errorInfo(StateDescription 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.Builderavoiding the need to create one manually viaStateDescription.builder().When the
Consumercompletes,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:
errorInfo(StateDescription)
-
creationTime
DescribeConnectorOperationResponse.Builder creationTime(Instant 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
DescribeConnectorOperationResponse.Builder endTime(Instant 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.
-
-