Interface RunPipelineActivityRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<RunPipelineActivityRequest.Builder,RunPipelineActivityRequest>, IoTAnalyticsRequest.Builder, SdkBuilder<RunPipelineActivityRequest.Builder,RunPipelineActivityRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
RunPipelineActivityRequest

public static interface RunPipelineActivityRequest.Builder extends IoTAnalyticsRequest.Builder, SdkPojo, CopyableBuilder<RunPipelineActivityRequest.Builder,RunPipelineActivityRequest>
  • Method Details

    • pipelineActivity

      RunPipelineActivityRequest.Builder pipelineActivity(PipelineActivity pipelineActivity)

      The pipeline activity that is run. This must not be a channel activity or a data store activity because these activities are used in a pipeline only to load the original message and to store the (possibly) transformed message. If a Lambda activity is specified, only short-running Lambda functions (those with a timeout of less than 30 seconds or less) can be used.

      Parameters:
      pipelineActivity - The pipeline activity that is run. This must not be a channel activity or a data store activity because these activities are used in a pipeline only to load the original message and to store the (possibly) transformed message. If a Lambda activity is specified, only short-running Lambda functions (those with a timeout of less than 30 seconds or less) can be used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pipelineActivity

      default RunPipelineActivityRequest.Builder pipelineActivity(Consumer<PipelineActivity.Builder> pipelineActivity)

      The pipeline activity that is run. This must not be a channel activity or a data store activity because these activities are used in a pipeline only to load the original message and to store the (possibly) transformed message. If a Lambda activity is specified, only short-running Lambda functions (those with a timeout of less than 30 seconds or less) can be used.

      This is a convenience method that creates an instance of the PipelineActivity.Builder avoiding the need to create one manually via PipelineActivity.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to pipelineActivity(PipelineActivity).

      Parameters:
      pipelineActivity - a consumer that will call methods on PipelineActivity.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • payloads

      The sample message payloads on which the pipeline activity is run.

      Parameters:
      payloads - The sample message payloads on which the pipeline activity is run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • payloads

      The sample message payloads on which the pipeline activity is run.

      Parameters:
      payloads - The sample message payloads on which the pipeline activity is run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      RunPipelineActivityRequest.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.