#[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.
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 that contains the objects.
sourcepub fn get_pipeline_id(&self) -> &Option<String>
pub fn get_pipeline_id(&self) -> &Option<String>
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 get_object_ids(&self) -> &Option<Vec<String>>
pub fn get_object_ids(&self) -> &Option<Vec<String>>
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 get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
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
.
source§impl SetStatusInputBuilder
impl SetStatusInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SetStatusOutput, SdkError<SetStatusError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SetStatusOutput, SdkError<SetStatusError, HttpResponse>>
Sends a request with this input using the given client.
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 for SetStatusInputBuilder
impl PartialEq 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 ==
.