Interface CreatePipelineRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreatePipelineRequest.Builder,CreatePipelineRequest>,DataPipelineRequest.Builder,SdkBuilder<CreatePipelineRequest.Builder,CreatePipelineRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreatePipelineRequest
public static interface CreatePipelineRequest.Builder extends DataPipelineRequest.Builder, SdkPojo, CopyableBuilder<CreatePipelineRequest.Builder,CreatePipelineRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreatePipelineRequest.Builderdescription(String description)The description for the pipeline.CreatePipelineRequest.Buildername(String name)The name for the pipeline.CreatePipelineRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreatePipelineRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreatePipelineRequest.Buildertags(Collection<Tag> tags)A list of tags to associate with the pipeline at creation.CreatePipelineRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of tags to associate with the pipeline at creation.CreatePipelineRequest.Buildertags(Tag... tags)A list of tags to associate with the pipeline at creation.CreatePipelineRequest.BuilderuniqueId(String uniqueId)A unique identifier.-
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.datapipeline.model.DataPipelineRequest.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 Detail
-
name
CreatePipelineRequest.Builder name(String name)
The name for the pipeline. You can use the same name for multiple pipelines associated with your AWS account, because AWS Data Pipeline assigns each pipeline a unique pipeline identifier.
- Parameters:
name- The name for the pipeline. You can use the same name for multiple pipelines associated with your AWS account, because AWS Data Pipeline assigns each pipeline a unique pipeline identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uniqueId
CreatePipelineRequest.Builder uniqueId(String uniqueId)
A unique identifier. This identifier is not the same as the pipeline identifier assigned by AWS Data Pipeline. You are responsible for defining the format and ensuring the uniqueness of this identifier. You use this parameter to ensure idempotency during repeated calls to
CreatePipeline. For example, if the first call toCreatePipelinedoes not succeed, you can pass in the same unique identifier and pipeline name combination on a subsequent call toCreatePipeline.CreatePipelineensures that if a pipeline already exists with the same name and unique identifier, a new pipeline is not created. Instead, you'll receive the pipeline identifier from the previous attempt. The uniqueness of the name and unique identifier combination is scoped to the AWS account or IAM user credentials.- Parameters:
uniqueId- A unique identifier. This identifier is not the same as the pipeline identifier assigned by AWS Data Pipeline. You are responsible for defining the format and ensuring the uniqueness of this identifier. You use this parameter to ensure idempotency during repeated calls toCreatePipeline. For example, if the first call toCreatePipelinedoes not succeed, you can pass in the same unique identifier and pipeline name combination on a subsequent call toCreatePipeline.CreatePipelineensures that if a pipeline already exists with the same name and unique identifier, a new pipeline is not created. Instead, you'll receive the pipeline identifier from the previous attempt. The uniqueness of the name and unique identifier combination is scoped to the AWS account or IAM user credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreatePipelineRequest.Builder description(String description)
The description for the pipeline.
- Parameters:
description- The description for the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreatePipelineRequest.Builder tags(Collection<Tag> tags)
A list of tags to associate with the pipeline at creation. Tags let you control access to pipelines. For more information, see Controlling User Access to Pipelines in the AWS Data Pipeline Developer Guide.
- Parameters:
tags- A list of tags to associate with the pipeline at creation. Tags let you control access to pipelines. For more information, see Controlling User Access to Pipelines in the AWS Data Pipeline Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreatePipelineRequest.Builder tags(Tag... tags)
A list of tags to associate with the pipeline at creation. Tags let you control access to pipelines. For more information, see Controlling User Access to Pipelines in the AWS Data Pipeline Developer Guide.
- Parameters:
tags- A list of tags to associate with the pipeline at creation. Tags let you control access to pipelines. For more information, see Controlling User Access to Pipelines in the AWS Data Pipeline Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreatePipelineRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags to associate with the pipeline at creation. Tags let you control access to pipelines. For more information, see Controlling User Access to Pipelines in the AWS Data Pipeline Developer Guide.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreatePipelineRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreatePipelineRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-