Interface CreatePipelineRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreatePipelineRequest.Builder,,CreatePipelineRequest> IoTSiteWiseRequest.Builder,SdkBuilder<CreatePipelineRequest.Builder,,CreatePipelineRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreatePipelineRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.computations(Collection<ComputeNode> computations) The list of compute nodes that form the pipeline DAG.computations(Consumer<ComputeNode.Builder>... computations) The list of compute nodes that form the pipeline DAG.computations(ComputeNode... computations) The list of compute nodes that form the pipeline DAG.description(String description) A description of the pipeline.environmentVariables(Map<String, String> environmentVariables) Environment variables shared across all compute nodes in the pipeline.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.pipelineName(String pipelineName) The name of the pipeline to create.A list of key-value pairs that contain metadata for the pipeline.workspaceName(String workspaceName) The name of the workspace.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
workspaceName
The name of the workspace.
- Parameters:
workspaceName- The name of the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipelineName
The name of the pipeline to create. Must be unique within the workspace.
- Parameters:
pipelineName- The name of the pipeline to create. Must be unique within the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the pipeline.
- Parameters:
description- A description of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentVariables
Environment variables shared across all compute nodes in the pipeline. Individual compute nodes can override these values with their own environment variables.
- Parameters:
environmentVariables- Environment variables shared across all compute nodes in the pipeline. Individual compute nodes can override these values with their own environment variables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computations
The list of compute nodes that form the pipeline DAG. Each compute node references a task and can declare dependencies on other nodes.
- Parameters:
computations- The list of compute nodes that form the pipeline DAG. Each compute node references a task and can declare dependencies on other nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computations
The list of compute nodes that form the pipeline DAG. Each compute node references a task and can declare dependencies on other nodes.
- Parameters:
computations- The list of compute nodes that form the pipeline DAG. Each compute node references a task and can declare dependencies on other nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computations
The list of compute nodes that form the pipeline DAG. Each compute node references a task and can declare dependencies on other nodes.
This is a convenience method that creates an instance of theComputeNode.Builderavoiding the need to create one manually viaComputeNode.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocomputations(List<ComputeNode>).- Parameters:
computations- a consumer that will call methods onComputeNode.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A list of key-value pairs that contain metadata for the pipeline. For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide.
- Parameters:
tags- A list of key-value pairs that contain metadata for the pipeline. For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token, the server returns the cached result from the original successful request without performing the operation again.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token, the server returns the cached result from the original successful request without performing the operation again.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreatePipelineRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreatePipelineRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-