Struct aws_sdk_codepipeline::types::builders::OutputArtifactBuilder
source · #[non_exhaustive]pub struct OutputArtifactBuilder { /* private fields */ }
Expand description
A builder for OutputArtifact
.
Implementations§
source§impl OutputArtifactBuilder
impl OutputArtifactBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the output of an artifact, such as "My App".
The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.
Output artifact names must be unique within a pipeline.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the output of an artifact, such as "My App".
The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.
Output artifact names must be unique within a pipeline.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the output of an artifact, such as "My App".
The input artifact of an action must exactly match the output artifact declared in a preceding action, but the input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.
Output artifact names must be unique within a pipeline.
sourcepub fn build(self) -> Result<OutputArtifact, BuildError>
pub fn build(self) -> Result<OutputArtifact, BuildError>
Consumes the builder and constructs a OutputArtifact
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for OutputArtifactBuilder
impl Clone for OutputArtifactBuilder
source§fn clone(&self) -> OutputArtifactBuilder
fn clone(&self) -> OutputArtifactBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OutputArtifactBuilder
impl Debug for OutputArtifactBuilder
source§impl Default for OutputArtifactBuilder
impl Default for OutputArtifactBuilder
source§fn default() -> OutputArtifactBuilder
fn default() -> OutputArtifactBuilder
source§impl PartialEq for OutputArtifactBuilder
impl PartialEq for OutputArtifactBuilder
impl StructuralPartialEq for OutputArtifactBuilder
Auto Trait Implementations§
impl Freeze for OutputArtifactBuilder
impl RefUnwindSafe for OutputArtifactBuilder
impl Send for OutputArtifactBuilder
impl Sync for OutputArtifactBuilder
impl Unpin for OutputArtifactBuilder
impl UnwindSafe for OutputArtifactBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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