pub struct InstanceStoppedFluentBuilder { /* private fields */ }Expand description
Fluent builder for the instance_stopped waiter.
This builder is intended to be used similar to the other fluent builders for
normal operations on the client. However, instead of a send method, it has
a wait method that takes a maximum amount of time to wait.
Construct this fluent builder using the client by importing the
Waiters trait and calling the methods
prefixed with wait_until.
Implementations§
source§impl InstanceStoppedFluentBuilder
impl InstanceStoppedFluentBuilder
sourcepub fn as_input(&self) -> &DescribeInstancesInputBuilder
pub fn as_input(&self) -> &DescribeInstancesInputBuilder
Access the DescribeInstances as a reference.
sourcepub async fn wait(
self,
max_wait: Duration
) -> Result<InstanceStoppedFinalPoll, WaitUntilInstanceStoppedError>
pub async fn wait( self, max_wait: Duration ) -> Result<InstanceStoppedFinalPoll, WaitUntilInstanceStoppedError>
Wait until OpsWorks instance is stopped.
sourcepub fn stack_id(self, input: impl Into<String>) -> Self
pub fn stack_id(self, input: impl Into<String>) -> Self
A stack ID. If you use this parameter, DescribeInstances returns descriptions of the instances associated with the specified stack.
sourcepub fn set_stack_id(self, input: Option<String>) -> Self
pub fn set_stack_id(self, input: Option<String>) -> Self
A stack ID. If you use this parameter, DescribeInstances returns descriptions of the instances associated with the specified stack.
sourcepub fn get_stack_id(&self) -> &Option<String>
pub fn get_stack_id(&self) -> &Option<String>
A stack ID. If you use this parameter, DescribeInstances returns descriptions of the instances associated with the specified stack.
sourcepub fn layer_id(self, input: impl Into<String>) -> Self
pub fn layer_id(self, input: impl Into<String>) -> Self
A layer ID. If you use this parameter, DescribeInstances returns descriptions of the instances associated with the specified layer.
sourcepub fn set_layer_id(self, input: Option<String>) -> Self
pub fn set_layer_id(self, input: Option<String>) -> Self
A layer ID. If you use this parameter, DescribeInstances returns descriptions of the instances associated with the specified layer.
sourcepub fn get_layer_id(&self) -> &Option<String>
pub fn get_layer_id(&self) -> &Option<String>
A layer ID. If you use this parameter, DescribeInstances returns descriptions of the instances associated with the specified layer.
sourcepub fn instance_ids(self, input: impl Into<String>) -> Self
pub fn instance_ids(self, input: impl Into<String>) -> Self
Appends an item to InstanceIds.
To override the contents of this collection use set_instance_ids.
An array of instance IDs to be described. If you use this parameter, DescribeInstances returns a description of the specified instances. Otherwise, it returns a description of every instance.
sourcepub fn set_instance_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_instance_ids(self, input: Option<Vec<String>>) -> Self
An array of instance IDs to be described. If you use this parameter, DescribeInstances returns a description of the specified instances. Otherwise, it returns a description of every instance.
sourcepub fn get_instance_ids(&self) -> &Option<Vec<String>>
pub fn get_instance_ids(&self) -> &Option<Vec<String>>
An array of instance IDs to be described. If you use this parameter, DescribeInstances returns a description of the specified instances. Otherwise, it returns a description of every instance.
Trait Implementations§
source§impl Clone for InstanceStoppedFluentBuilder
impl Clone for InstanceStoppedFluentBuilder
source§fn clone(&self) -> InstanceStoppedFluentBuilder
fn clone(&self) -> InstanceStoppedFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for InstanceStoppedFluentBuilder
impl !RefUnwindSafe for InstanceStoppedFluentBuilder
impl Send for InstanceStoppedFluentBuilder
impl Sync for InstanceStoppedFluentBuilder
impl Unpin for InstanceStoppedFluentBuilder
impl !UnwindSafe for InstanceStoppedFluentBuilder
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