pub struct Builder { /* private fields */ }Expand description
A builder for UpdatePipelineStatusInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The desired status of the pipeline:
-
Active: The pipeline is processing jobs. -
Paused: The pipeline is not currently processing jobs.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The desired status of the pipeline:
-
Active: The pipeline is processing jobs. -
Paused: The pipeline is not currently processing jobs.
sourcepub fn build(self) -> Result<UpdatePipelineStatusInput, BuildError>
pub fn build(self) -> Result<UpdatePipelineStatusInput, BuildError>
Consumes the builder and constructs a UpdatePipelineStatusInput.