Interface PipelineDescription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PipelineDescription.Builder,PipelineDescription>,SdkBuilder<PipelineDescription.Builder,PipelineDescription>,SdkPojo
- Enclosing class:
- PipelineDescription
public static interface PipelineDescription.Builder extends SdkPojo, CopyableBuilder<PipelineDescription.Builder,PipelineDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PipelineDescription.Builderdescription(String description)Description of the pipeline.PipelineDescription.Builderfields(Collection<Field> fields)A list of read-only fields that contain metadata about the pipeline: @userId, @accountId, and @pipelineState.PipelineDescription.Builderfields(Consumer<Field.Builder>... fields)A list of read-only fields that contain metadata about the pipeline: @userId, @accountId, and @pipelineState.PipelineDescription.Builderfields(Field... fields)A list of read-only fields that contain metadata about the pipeline: @userId, @accountId, and @pipelineState.PipelineDescription.Buildername(String name)The name of the pipeline.PipelineDescription.BuilderpipelineId(String pipelineId)The pipeline identifier that was assigned by AWS Data Pipeline.PipelineDescription.Buildertags(Collection<Tag> tags)A list of tags to associated with a pipeline.PipelineDescription.Buildertags(Consumer<Tag.Builder>... tags)A list of tags to associated with a pipeline.PipelineDescription.Buildertags(Tag... tags)A list of tags to associated with a 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
-
pipelineId
PipelineDescription.Builder pipelineId(String pipelineId)
The pipeline identifier that was assigned by AWS Data Pipeline. This is a string of the form
df-297EG78HU43EEXAMPLE.- Parameters:
pipelineId- The pipeline identifier that was assigned by AWS Data Pipeline. This is a string of the formdf-297EG78HU43EEXAMPLE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
PipelineDescription.Builder name(String name)
The name of the pipeline.
- Parameters:
name- The name of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
PipelineDescription.Builder fields(Collection<Field> fields)
A list of read-only fields that contain metadata about the pipeline: @userId, @accountId, and @pipelineState.
- Parameters:
fields- A list of read-only fields that contain metadata about the pipeline: @userId, @accountId, and- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
PipelineDescription.Builder fields(Field... fields)
A list of read-only fields that contain metadata about the pipeline: @userId, @accountId, and @pipelineState.
- Parameters:
fields- A list of read-only fields that contain metadata about the pipeline: @userId, @accountId, and- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
PipelineDescription.Builder fields(Consumer<Field.Builder>... fields)
A list of read-only fields that contain metadata about the pipeline: @userId, @accountId, and @pipelineState.
This is a convenience method that creates an instance of theField.Builderavoiding the need to create one manually viaField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#fields(List.) - Parameters:
fields- a consumer that will call methods onField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#fields(java.util.Collection)
-
description
PipelineDescription.Builder description(String description)
Description of the pipeline.
- Parameters:
description- Description of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
PipelineDescription.Builder tags(Collection<Tag> tags)
A list of tags to associated with a pipeline. 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 associated with a pipeline. 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
PipelineDescription.Builder tags(Tag... tags)
A list of tags to associated with a pipeline. 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 associated with a pipeline. 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
PipelineDescription.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags to associated with a pipeline. 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)
-
-