#[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 ==.impl StructuralPartialEq for PipelineDescriptionBuilder
Auto Trait Implementations§
impl Freeze for PipelineDescriptionBuilder
impl RefUnwindSafe for PipelineDescriptionBuilder
impl Send for PipelineDescriptionBuilder
impl Sync for PipelineDescriptionBuilder
impl Unpin for PipelineDescriptionBuilder
impl UnwindSafe for PipelineDescriptionBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more