Interface Pipeline.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Pipeline.Builder,Pipeline>
,SdkBuilder<Pipeline.Builder,Pipeline>
,SdkPojo
- Enclosing class:
- Pipeline
public static interface Pipeline.Builder extends SdkPojo, CopyableBuilder<Pipeline.Builder,Pipeline>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Pipeline.Builder
createdBy(Consumer<UserContext.Builder> createdBy)
Sets the value of the CreatedBy property for this object.Pipeline.Builder
createdBy(UserContext createdBy)
Sets the value of the CreatedBy property for this object.Pipeline.Builder
creationTime(Instant creationTime)
The creation time of the pipeline.default Pipeline.Builder
lastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)
Sets the value of the LastModifiedBy property for this object.Pipeline.Builder
lastModifiedBy(UserContext lastModifiedBy)
Sets the value of the LastModifiedBy property for this object.Pipeline.Builder
lastModifiedTime(Instant lastModifiedTime)
The time that the pipeline was last modified.Pipeline.Builder
lastRunTime(Instant lastRunTime)
The time when the pipeline was last run.default Pipeline.Builder
parallelismConfiguration(Consumer<ParallelismConfiguration.Builder> parallelismConfiguration)
The parallelism configuration applied to the pipeline.Pipeline.Builder
parallelismConfiguration(ParallelismConfiguration parallelismConfiguration)
The parallelism configuration applied to the pipeline.Pipeline.Builder
pipelineArn(String pipelineArn)
The Amazon Resource Name (ARN) of the pipeline.Pipeline.Builder
pipelineDescription(String pipelineDescription)
The description of the pipeline.Pipeline.Builder
pipelineDisplayName(String pipelineDisplayName)
The display name of the pipeline.Pipeline.Builder
pipelineName(String pipelineName)
The name of the pipeline.Pipeline.Builder
pipelineStatus(String pipelineStatus)
The status of the pipeline.Pipeline.Builder
pipelineStatus(PipelineStatus pipelineStatus)
The status of the pipeline.Pipeline.Builder
roleArn(String roleArn)
The Amazon Resource Name (ARN) of the role that created the pipeline.Pipeline.Builder
tags(Collection<Tag> tags)
A list of tags that apply to the pipeline.Pipeline.Builder
tags(Consumer<Tag.Builder>... tags)
A list of tags that apply to the pipeline.Pipeline.Builder
tags(Tag... tags)
A list of tags that apply to the pipeline.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
pipelineArn
Pipeline.Builder pipelineArn(String pipelineArn)
The Amazon Resource Name (ARN) of the pipeline.
- Parameters:
pipelineArn
- The Amazon Resource Name (ARN) of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipelineName
Pipeline.Builder pipelineName(String pipelineName)
The name of the pipeline.
- Parameters:
pipelineName
- The name of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipelineDisplayName
Pipeline.Builder pipelineDisplayName(String pipelineDisplayName)
The display name of the pipeline.
- Parameters:
pipelineDisplayName
- The display name of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipelineDescription
Pipeline.Builder pipelineDescription(String pipelineDescription)
The description of the pipeline.
- Parameters:
pipelineDescription
- The description of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
Pipeline.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of the role that created the pipeline.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the role that created the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipelineStatus
Pipeline.Builder pipelineStatus(String pipelineStatus)
The status of the pipeline.
- Parameters:
pipelineStatus
- The status of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PipelineStatus
,PipelineStatus
-
pipelineStatus
Pipeline.Builder pipelineStatus(PipelineStatus pipelineStatus)
The status of the pipeline.
- Parameters:
pipelineStatus
- The status of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PipelineStatus
,PipelineStatus
-
creationTime
Pipeline.Builder creationTime(Instant creationTime)
The creation time of the pipeline.
- Parameters:
creationTime
- The creation time of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
Pipeline.Builder lastModifiedTime(Instant lastModifiedTime)
The time that the pipeline was last modified.
- Parameters:
lastModifiedTime
- The time that the pipeline was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunTime
Pipeline.Builder lastRunTime(Instant lastRunTime)
The time when the pipeline was last run.
- Parameters:
lastRunTime
- The time when the pipeline was last run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Pipeline.Builder createdBy(UserContext createdBy)
Sets the value of the CreatedBy property for this object.- Parameters:
createdBy
- The new value for the CreatedBy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
default Pipeline.Builder createdBy(Consumer<UserContext.Builder> createdBy)
Sets the value of the CreatedBy property for this object. This is a convenience method that creates an instance of theUserContext.Builder
avoiding the need to create one manually viaUserContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreatedBy(UserContext)
.- Parameters:
createdBy
- a consumer that will call methods onUserContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
createdBy(UserContext)
-
lastModifiedBy
Pipeline.Builder lastModifiedBy(UserContext lastModifiedBy)
Sets the value of the LastModifiedBy property for this object.- Parameters:
lastModifiedBy
- The new value for the LastModifiedBy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
default Pipeline.Builder lastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)
Sets the value of the LastModifiedBy property for this object. This is a convenience method that creates an instance of theUserContext.Builder
avoiding the need to create one manually viaUserContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastModifiedBy(UserContext)
.- Parameters:
lastModifiedBy
- a consumer that will call methods onUserContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
lastModifiedBy(UserContext)
-
parallelismConfiguration
Pipeline.Builder parallelismConfiguration(ParallelismConfiguration parallelismConfiguration)
The parallelism configuration applied to the pipeline.
- Parameters:
parallelismConfiguration
- The parallelism configuration applied to the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parallelismConfiguration
default Pipeline.Builder parallelismConfiguration(Consumer<ParallelismConfiguration.Builder> parallelismConfiguration)
The parallelism configuration applied to the pipeline.
This is a convenience method that creates an instance of theParallelismConfiguration.Builder
avoiding the need to create one manually viaParallelismConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparallelismConfiguration(ParallelismConfiguration)
.- Parameters:
parallelismConfiguration
- a consumer that will call methods onParallelismConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
parallelismConfiguration(ParallelismConfiguration)
-
tags
Pipeline.Builder tags(Collection<Tag> tags)
A list of tags that apply to the pipeline.
- Parameters:
tags
- A list of tags that apply to the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Pipeline.Builder tags(Tag... tags)
A list of tags that apply to the pipeline.
- Parameters:
tags
- A list of tags that apply to the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Pipeline.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags that apply to the pipeline.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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
)
-
-