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
source§fn eq(&self, other: &OutputArtifactBuilder) -> bool
fn eq(&self, other: &OutputArtifactBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.