Interface RestartConnectorRequest.Builder

  • Method Details

    • connectorArn

      RestartConnectorRequest.Builder connectorArn(String connectorArn)

      The Amazon Resource Name (ARN) of the connector that you want to restart.

      Parameters:
      connectorArn - The Amazon Resource Name (ARN) of the connector that you want to restart.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • onlyFailedTasks

      RestartConnectorRequest.Builder onlyFailedTasks(Boolean onlyFailedTasks)

      Specifies whether to restart only the connector's failed tasks. If true, the operation restarts only the tasks that are currently in a failed state, and healthy tasks continue running. If false or not specified, the operation restarts the connector and all of its tasks.

      Parameters:
      onlyFailedTasks - Specifies whether to restart only the connector's failed tasks. If true, the operation restarts only the tasks that are currently in a failed state, and healthy tasks continue running. If false or not specified, the operation restarts the connector and all of its tasks.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      RestartConnectorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.