#[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 ==.impl StructuralPartialEq for SetStatusInputBuilder
Auto Trait Implementations§
impl Freeze for SetStatusInputBuilder
impl RefUnwindSafe for SetStatusInputBuilder
impl Send for SetStatusInputBuilder
impl Sync for SetStatusInputBuilder
impl Unpin for SetStatusInputBuilder
impl UnwindSafe for SetStatusInputBuilder
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> 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