Struct aws_sdk_datapipeline::types::builders::PipelineObjectBuilder
source · #[non_exhaustive]pub struct PipelineObjectBuilder { /* private fields */ }Expand description
A builder for PipelineObject.
Implementations§
source§impl PipelineObjectBuilder
impl PipelineObjectBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the object.
This field is required.sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the object.
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.
Key-value pairs that define the properties of the object.
sourcepub fn set_fields(self, input: Option<Vec<Field>>) -> Self
pub fn set_fields(self, input: Option<Vec<Field>>) -> Self
Key-value pairs that define the properties of the object.
sourcepub fn get_fields(&self) -> &Option<Vec<Field>>
pub fn get_fields(&self) -> &Option<Vec<Field>>
Key-value pairs that define the properties of the object.
sourcepub fn build(self) -> Result<PipelineObject, BuildError>
pub fn build(self) -> Result<PipelineObject, BuildError>
Consumes the builder and constructs a PipelineObject.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PipelineObjectBuilder
impl Clone for PipelineObjectBuilder
source§fn clone(&self) -> PipelineObjectBuilder
fn clone(&self) -> PipelineObjectBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PipelineObjectBuilder
impl Debug for PipelineObjectBuilder
source§impl Default for PipelineObjectBuilder
impl Default for PipelineObjectBuilder
source§fn default() -> PipelineObjectBuilder
fn default() -> PipelineObjectBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PipelineObjectBuilder
impl PartialEq for PipelineObjectBuilder
source§fn eq(&self, other: &PipelineObjectBuilder) -> bool
fn eq(&self, other: &PipelineObjectBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PipelineObjectBuilder
Auto Trait Implementations§
impl Freeze for PipelineObjectBuilder
impl RefUnwindSafe for PipelineObjectBuilder
impl Send for PipelineObjectBuilder
impl Sync for PipelineObjectBuilder
impl Unpin for PipelineObjectBuilder
impl UnwindSafe for PipelineObjectBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.