#[non_exhaustive]pub struct SetStatusInputBuilder { /* private fields */ }
Expand description
A builder for SetStatusInput
.
Implementations§
source§impl SetStatusInputBuilder
impl SetStatusInputBuilder
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 that contains the objects.
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 that contains the objects.
sourcepub fn object_ids(self, input: impl Into<String>) -> Self
pub fn object_ids(self, input: impl Into<String>) -> Self
Appends an item to object_ids
.
To override the contents of this collection use set_object_ids
.
The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of both types.
sourcepub fn set_object_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_object_ids(self, input: Option<Vec<String>>) -> Self
The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of both types.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status to be set on all the objects specified in objectIds
. For components, use PAUSE
or RESUME
. For instances, use TRY_CANCEL
, RERUN
, or MARK_FINISHED
.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status to be set on all the objects specified in objectIds
. For components, use PAUSE
or RESUME
. For instances, use TRY_CANCEL
, RERUN
, or MARK_FINISHED
.
sourcepub fn build(self) -> Result<SetStatusInput, BuildError>
pub fn build(self) -> Result<SetStatusInput, BuildError>
Consumes the builder and constructs a SetStatusInput
.
Trait Implementations§
source§impl Clone for SetStatusInputBuilder
impl Clone for SetStatusInputBuilder
source§fn clone(&self) -> SetStatusInputBuilder
fn clone(&self) -> SetStatusInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SetStatusInputBuilder
impl Debug for SetStatusInputBuilder
source§impl Default for SetStatusInputBuilder
impl Default for SetStatusInputBuilder
source§fn default() -> SetStatusInputBuilder
fn default() -> SetStatusInputBuilder
source§impl PartialEq<SetStatusInputBuilder> for SetStatusInputBuilder
impl PartialEq<SetStatusInputBuilder> for SetStatusInputBuilder
source§fn eq(&self, other: &SetStatusInputBuilder) -> bool
fn eq(&self, other: &SetStatusInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.