Struct aws_sdk_codepipeline::input::get_pipeline_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetPipelineInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the pipeline for which you want to get information. Pipeline names must be unique under an AWS user account.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the pipeline for which you want to get information. Pipeline names must be unique under an AWS user account.
sourcepub fn version(self, input: i32) -> Self
pub fn version(self, input: i32) -> Self
The version number of the pipeline. If you do not specify a version, defaults to the current version.
sourcepub fn set_version(self, input: Option<i32>) -> Self
pub fn set_version(self, input: Option<i32>) -> Self
The version number of the pipeline. If you do not specify a version, defaults to the current version.
sourcepub fn build(self) -> Result<GetPipelineInput, BuildError>
pub fn build(self) -> Result<GetPipelineInput, BuildError>
Consumes the builder and constructs a GetPipelineInput
.