Struct aws_sdk_codepipeline::types::builders::InputArtifactBuilder
source · #[non_exhaustive]pub struct InputArtifactBuilder { /* private fields */ }
Expand description
A builder for InputArtifact
.
Implementations§
source§impl InputArtifactBuilder
impl InputArtifactBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the artifact to be worked on (for example, "My App").
Artifacts are the files that are worked on by actions in the pipeline. See the action configuration for each action for details about artifact parameters. For example, the S3 source action input artifact is a file name (or file path), and the files are generally provided as a ZIP file. Example artifact name: SampleApp_Windows.zip
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.
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 artifact to be worked on (for example, "My App").
Artifacts are the files that are worked on by actions in the pipeline. See the action configuration for each action for details about artifact parameters. For example, the S3 source action input artifact is a file name (or file path), and the files are generally provided as a ZIP file. Example artifact name: SampleApp_Windows.zip
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.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the artifact to be worked on (for example, "My App").
Artifacts are the files that are worked on by actions in the pipeline. See the action configuration for each action for details about artifact parameters. For example, the S3 source action input artifact is a file name (or file path), and the files are generally provided as a ZIP file. Example artifact name: SampleApp_Windows.zip
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.
sourcepub fn build(self) -> Result<InputArtifact, BuildError>
pub fn build(self) -> Result<InputArtifact, BuildError>
Consumes the builder and constructs a InputArtifact
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for InputArtifactBuilder
impl Clone for InputArtifactBuilder
source§fn clone(&self) -> InputArtifactBuilder
fn clone(&self) -> InputArtifactBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InputArtifactBuilder
impl Debug for InputArtifactBuilder
source§impl Default for InputArtifactBuilder
impl Default for InputArtifactBuilder
source§fn default() -> InputArtifactBuilder
fn default() -> InputArtifactBuilder
source§impl PartialEq for InputArtifactBuilder
impl PartialEq for InputArtifactBuilder
source§fn eq(&self, other: &InputArtifactBuilder) -> bool
fn eq(&self, other: &InputArtifactBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.