Struct aws_sdk_datapipeline::operation::set_status::SetStatusInput
source · #[non_exhaustive]pub struct SetStatusInput {
pub pipeline_id: Option<String>,
pub object_ids: Option<Vec<String>>,
pub status: Option<String>,
}
Expand description
Contains the parameters for SetStatus.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.pipeline_id: Option<String>
The ID of the pipeline that contains the objects.
object_ids: Option<Vec<String>>
The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of both types.
status: 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
.
Implementations§
source§impl SetStatusInput
impl SetStatusInput
sourcepub fn pipeline_id(&self) -> Option<&str>
pub fn pipeline_id(&self) -> Option<&str>
The ID of the pipeline that contains the objects.
sourcepub fn object_ids(&self) -> &[String]
pub fn object_ids(&self) -> &[String]
The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of both types.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .object_ids.is_none()
.
source§impl SetStatusInput
impl SetStatusInput
sourcepub fn builder() -> SetStatusInputBuilder
pub fn builder() -> SetStatusInputBuilder
Creates a new builder-style object to manufacture SetStatusInput
.
Trait Implementations§
source§impl Clone for SetStatusInput
impl Clone for SetStatusInput
source§fn clone(&self) -> SetStatusInput
fn clone(&self) -> SetStatusInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SetStatusInput
impl Debug for SetStatusInput
source§impl PartialEq for SetStatusInput
impl PartialEq for SetStatusInput
source§fn eq(&self, other: &SetStatusInput) -> bool
fn eq(&self, other: &SetStatusInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SetStatusInput
Auto Trait Implementations§
impl RefUnwindSafe for SetStatusInput
impl Send for SetStatusInput
impl Sync for SetStatusInput
impl Unpin for SetStatusInput
impl UnwindSafe for SetStatusInput
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.