Struct aws_sdk_datapipeline::operation::get_pipeline_definition::builders::GetPipelineDefinitionInputBuilder
source · #[non_exhaustive]pub struct GetPipelineDefinitionInputBuilder { /* private fields */ }
Expand description
A builder for GetPipelineDefinitionInput
.
Implementations§
source§impl GetPipelineDefinitionInputBuilder
impl GetPipelineDefinitionInputBuilder
sourcepub fn pipeline_id(self, input: impl Into<String>) -> Self
pub fn pipeline_id(self, input: impl Into<String>) -> Self
The ID of the pipeline.
This field is required.sourcepub fn set_pipeline_id(self, input: Option<String>) -> Self
pub fn set_pipeline_id(self, input: Option<String>) -> Self
The ID of the pipeline.
sourcepub fn get_pipeline_id(&self) -> &Option<String>
pub fn get_pipeline_id(&self) -> &Option<String>
The ID of the pipeline.
sourcepub fn version(self, input: impl Into<String>) -> Self
pub fn version(self, input: impl Into<String>) -> Self
The version of the pipeline definition to retrieve. Set this parameter to latest
(default) to use the last definition saved to the pipeline or active
to use the last definition that was activated.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
The version of the pipeline definition to retrieve. Set this parameter to latest
(default) to use the last definition saved to the pipeline or active
to use the last definition that was activated.
sourcepub fn get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
The version of the pipeline definition to retrieve. Set this parameter to latest
(default) to use the last definition saved to the pipeline or active
to use the last definition that was activated.
sourcepub fn build(self) -> Result<GetPipelineDefinitionInput, BuildError>
pub fn build(self) -> Result<GetPipelineDefinitionInput, BuildError>
Consumes the builder and constructs a GetPipelineDefinitionInput
.
source§impl GetPipelineDefinitionInputBuilder
impl GetPipelineDefinitionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetPipelineDefinitionOutput, SdkError<GetPipelineDefinitionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetPipelineDefinitionOutput, SdkError<GetPipelineDefinitionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetPipelineDefinitionInputBuilder
impl Clone for GetPipelineDefinitionInputBuilder
source§fn clone(&self) -> GetPipelineDefinitionInputBuilder
fn clone(&self) -> GetPipelineDefinitionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetPipelineDefinitionInputBuilder
impl Default for GetPipelineDefinitionInputBuilder
source§fn default() -> GetPipelineDefinitionInputBuilder
fn default() -> GetPipelineDefinitionInputBuilder
source§impl PartialEq for GetPipelineDefinitionInputBuilder
impl PartialEq for GetPipelineDefinitionInputBuilder
source§fn eq(&self, other: &GetPipelineDefinitionInputBuilder) -> bool
fn eq(&self, other: &GetPipelineDefinitionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.