Interface RunPipelineActivityRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<RunPipelineActivityRequest.Builder,
,RunPipelineActivityRequest> IoTAnalyticsRequest.Builder
,SdkBuilder<RunPipelineActivityRequest.Builder,
,RunPipelineActivityRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
RunPipelineActivityRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.payloads
(Collection<SdkBytes> payloads) The sample message payloads on which the pipeline activity is run.The sample message payloads on which the pipeline activity is run.pipelineActivity
(Consumer<PipelineActivity.Builder> pipelineActivity) The pipeline activity that is run.pipelineActivity
(PipelineActivity pipelineActivity) The pipeline activity that is run.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotanalytics.model.IoTAnalyticsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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 thePipelineActivity.Builder
avoiding the need to create one manually viaPipelineActivity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topipelineActivity(PipelineActivity)
.- Parameters:
pipelineActivity
- a consumer that will call methods onPipelineActivity.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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
RunPipelineActivityRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-