Struct aws_sdk_datapipeline::operation::activate_pipeline::builders::ActivatePipelineInputBuilder
source · #[non_exhaustive]pub struct ActivatePipelineInputBuilder { /* private fields */ }
Expand description
A builder for ActivatePipelineInput
.
Implementations§
source§impl ActivatePipelineInputBuilder
impl ActivatePipelineInputBuilder
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 parameter_values(self, input: ParameterValue) -> Self
pub fn parameter_values(self, input: ParameterValue) -> Self
Appends an item to parameter_values
.
To override the contents of this collection use set_parameter_values
.
A list of parameter values to pass to the pipeline at activation.
sourcepub fn set_parameter_values(self, input: Option<Vec<ParameterValue>>) -> Self
pub fn set_parameter_values(self, input: Option<Vec<ParameterValue>>) -> Self
A list of parameter values to pass to the pipeline at activation.
sourcepub fn get_parameter_values(&self) -> &Option<Vec<ParameterValue>>
pub fn get_parameter_values(&self) -> &Option<Vec<ParameterValue>>
A list of parameter values to pass to the pipeline at activation.
sourcepub fn start_timestamp(self, input: DateTime) -> Self
pub fn start_timestamp(self, input: DateTime) -> Self
The date and time to resume the pipeline. By default, the pipeline resumes from the last completed execution.
sourcepub fn set_start_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_start_timestamp(self, input: Option<DateTime>) -> Self
The date and time to resume the pipeline. By default, the pipeline resumes from the last completed execution.
sourcepub fn get_start_timestamp(&self) -> &Option<DateTime>
pub fn get_start_timestamp(&self) -> &Option<DateTime>
The date and time to resume the pipeline. By default, the pipeline resumes from the last completed execution.
sourcepub fn build(self) -> Result<ActivatePipelineInput, BuildError>
pub fn build(self) -> Result<ActivatePipelineInput, BuildError>
Consumes the builder and constructs a ActivatePipelineInput
.
source§impl ActivatePipelineInputBuilder
impl ActivatePipelineInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ActivatePipelineOutput, SdkError<ActivatePipelineError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ActivatePipelineOutput, SdkError<ActivatePipelineError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ActivatePipelineInputBuilder
impl Clone for ActivatePipelineInputBuilder
source§fn clone(&self) -> ActivatePipelineInputBuilder
fn clone(&self) -> ActivatePipelineInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ActivatePipelineInputBuilder
impl Debug for ActivatePipelineInputBuilder
source§impl Default for ActivatePipelineInputBuilder
impl Default for ActivatePipelineInputBuilder
source§fn default() -> ActivatePipelineInputBuilder
fn default() -> ActivatePipelineInputBuilder
source§impl PartialEq for ActivatePipelineInputBuilder
impl PartialEq for ActivatePipelineInputBuilder
source§fn eq(&self, other: &ActivatePipelineInputBuilder) -> bool
fn eq(&self, other: &ActivatePipelineInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ActivatePipelineInputBuilder
Auto Trait Implementations§
impl Freeze for ActivatePipelineInputBuilder
impl RefUnwindSafe for ActivatePipelineInputBuilder
impl Send for ActivatePipelineInputBuilder
impl Sync for ActivatePipelineInputBuilder
impl Unpin for ActivatePipelineInputBuilder
impl UnwindSafe for ActivatePipelineInputBuilder
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