pub struct Builder { /* private fields */ }
Expand description
A builder for ActivatePipelineInput
.
Implementations§
source§impl Builder
impl Builder
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.
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 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 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 build(self) -> Result<ActivatePipelineInput, BuildError>
pub fn build(self) -> Result<ActivatePipelineInput, BuildError>
Consumes the builder and constructs a ActivatePipelineInput
.