#[non_exhaustive]pub struct PipelineDescriptionBuilder { /* private fields */ }
Expand description
A builder for PipelineDescription
.
Implementations§
source§impl PipelineDescriptionBuilder
impl PipelineDescriptionBuilder
sourcepub fn pipeline_id(self, input: impl Into<String>) -> Self
pub fn pipeline_id(self, input: impl Into<String>) -> Self
The pipeline identifier that was assigned by AWS Data Pipeline. This is a string of the form df-297EG78HU43EEXAMPLE
.
sourcepub fn set_pipeline_id(self, input: Option<String>) -> Self
pub fn set_pipeline_id(self, input: Option<String>) -> Self
The pipeline identifier that was assigned by AWS Data Pipeline. This is a string of the form df-297EG78HU43EEXAMPLE
.
sourcepub fn get_pipeline_id(&self) -> &Option<String>
pub fn get_pipeline_id(&self) -> &Option<String>
The pipeline identifier that was assigned by AWS Data Pipeline. This is a string of the form df-297EG78HU43EEXAMPLE
.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the pipeline.
This field is required.sourcepub fn fields(self, input: Field) -> Self
pub fn fields(self, input: Field) -> Self
Appends an item to fields
.
To override the contents of this collection use set_fields
.
A list of read-only fields that contain metadata about the pipeline: @userId, @accountId, and @pipelineState.
sourcepub fn set_fields(self, input: Option<Vec<Field>>) -> Self
pub fn set_fields(self, input: Option<Vec<Field>>) -> Self
A list of read-only fields that contain metadata about the pipeline: @userId, @accountId, and @pipelineState.
sourcepub fn get_fields(&self) -> &Option<Vec<Field>>
pub fn get_fields(&self) -> &Option<Vec<Field>>
A list of read-only fields that contain metadata about the pipeline: @userId, @accountId, and @pipelineState.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Description of the pipeline.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Description of the pipeline.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Description of the pipeline.
Appends an item to tags
.
To override the contents of this collection use set_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.
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.
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.
sourcepub fn build(self) -> Result<PipelineDescription, BuildError>
pub fn build(self) -> Result<PipelineDescription, BuildError>
Consumes the builder and constructs a PipelineDescription
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PipelineDescriptionBuilder
impl Clone for PipelineDescriptionBuilder
source§fn clone(&self) -> PipelineDescriptionBuilder
fn clone(&self) -> PipelineDescriptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PipelineDescriptionBuilder
impl Debug for PipelineDescriptionBuilder
source§impl Default for PipelineDescriptionBuilder
impl Default for PipelineDescriptionBuilder
source§fn default() -> PipelineDescriptionBuilder
fn default() -> PipelineDescriptionBuilder
source§impl PartialEq for PipelineDescriptionBuilder
impl PartialEq for PipelineDescriptionBuilder
source§fn eq(&self, other: &PipelineDescriptionBuilder) -> bool
fn eq(&self, other: &PipelineDescriptionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.