Struct aws_sdk_opsworks::types::builders::InstancesCountBuilder
source · #[non_exhaustive]pub struct InstancesCountBuilder { /* private fields */ }
Expand description
A builder for InstancesCount
.
Implementations§
source§impl InstancesCountBuilder
impl InstancesCountBuilder
sourcepub fn set_assigning(self, input: Option<i32>) -> Self
pub fn set_assigning(self, input: Option<i32>) -> Self
The number of instances in the Assigning state.
sourcepub fn get_assigning(&self) -> &Option<i32>
pub fn get_assigning(&self) -> &Option<i32>
The number of instances in the Assigning state.
sourcepub fn set_booting(self, input: Option<i32>) -> Self
pub fn set_booting(self, input: Option<i32>) -> Self
The number of instances with booting
status.
sourcepub fn get_booting(&self) -> &Option<i32>
pub fn get_booting(&self) -> &Option<i32>
The number of instances with booting
status.
sourcepub fn connection_lost(self, input: i32) -> Self
pub fn connection_lost(self, input: i32) -> Self
The number of instances with connection_lost
status.
sourcepub fn set_connection_lost(self, input: Option<i32>) -> Self
pub fn set_connection_lost(self, input: Option<i32>) -> Self
The number of instances with connection_lost
status.
sourcepub fn get_connection_lost(&self) -> &Option<i32>
pub fn get_connection_lost(&self) -> &Option<i32>
The number of instances with connection_lost
status.
sourcepub fn deregistering(self, input: i32) -> Self
pub fn deregistering(self, input: i32) -> Self
The number of instances in the Deregistering state.
sourcepub fn set_deregistering(self, input: Option<i32>) -> Self
pub fn set_deregistering(self, input: Option<i32>) -> Self
The number of instances in the Deregistering state.
sourcepub fn get_deregistering(&self) -> &Option<i32>
pub fn get_deregistering(&self) -> &Option<i32>
The number of instances in the Deregistering state.
sourcepub fn set_online(self, input: Option<i32>) -> Self
pub fn set_online(self, input: Option<i32>) -> Self
The number of instances with online
status.
sourcepub fn get_online(&self) -> &Option<i32>
pub fn get_online(&self) -> &Option<i32>
The number of instances with online
status.
sourcepub fn set_pending(self, input: Option<i32>) -> Self
pub fn set_pending(self, input: Option<i32>) -> Self
The number of instances with pending
status.
sourcepub fn get_pending(&self) -> &Option<i32>
pub fn get_pending(&self) -> &Option<i32>
The number of instances with pending
status.
sourcepub fn set_rebooting(self, input: Option<i32>) -> Self
pub fn set_rebooting(self, input: Option<i32>) -> Self
The number of instances with rebooting
status.
sourcepub fn get_rebooting(&self) -> &Option<i32>
pub fn get_rebooting(&self) -> &Option<i32>
The number of instances with rebooting
status.
sourcepub fn registered(self, input: i32) -> Self
pub fn registered(self, input: i32) -> Self
The number of instances in the Registered state.
sourcepub fn set_registered(self, input: Option<i32>) -> Self
pub fn set_registered(self, input: Option<i32>) -> Self
The number of instances in the Registered state.
sourcepub fn get_registered(&self) -> &Option<i32>
pub fn get_registered(&self) -> &Option<i32>
The number of instances in the Registered state.
sourcepub fn registering(self, input: i32) -> Self
pub fn registering(self, input: i32) -> Self
The number of instances in the Registering state.
sourcepub fn set_registering(self, input: Option<i32>) -> Self
pub fn set_registering(self, input: Option<i32>) -> Self
The number of instances in the Registering state.
sourcepub fn get_registering(&self) -> &Option<i32>
pub fn get_registering(&self) -> &Option<i32>
The number of instances in the Registering state.
sourcepub fn set_requested(self, input: Option<i32>) -> Self
pub fn set_requested(self, input: Option<i32>) -> Self
The number of instances with requested
status.
sourcepub fn get_requested(&self) -> &Option<i32>
pub fn get_requested(&self) -> &Option<i32>
The number of instances with requested
status.
sourcepub fn running_setup(self, input: i32) -> Self
pub fn running_setup(self, input: i32) -> Self
The number of instances with running_setup
status.
sourcepub fn set_running_setup(self, input: Option<i32>) -> Self
pub fn set_running_setup(self, input: Option<i32>) -> Self
The number of instances with running_setup
status.
sourcepub fn get_running_setup(&self) -> &Option<i32>
pub fn get_running_setup(&self) -> &Option<i32>
The number of instances with running_setup
status.
sourcepub fn setup_failed(self, input: i32) -> Self
pub fn setup_failed(self, input: i32) -> Self
The number of instances with setup_failed
status.
sourcepub fn set_setup_failed(self, input: Option<i32>) -> Self
pub fn set_setup_failed(self, input: Option<i32>) -> Self
The number of instances with setup_failed
status.
sourcepub fn get_setup_failed(&self) -> &Option<i32>
pub fn get_setup_failed(&self) -> &Option<i32>
The number of instances with setup_failed
status.
sourcepub fn shutting_down(self, input: i32) -> Self
pub fn shutting_down(self, input: i32) -> Self
The number of instances with shutting_down
status.
sourcepub fn set_shutting_down(self, input: Option<i32>) -> Self
pub fn set_shutting_down(self, input: Option<i32>) -> Self
The number of instances with shutting_down
status.
sourcepub fn get_shutting_down(&self) -> &Option<i32>
pub fn get_shutting_down(&self) -> &Option<i32>
The number of instances with shutting_down
status.
sourcepub fn start_failed(self, input: i32) -> Self
pub fn start_failed(self, input: i32) -> Self
The number of instances with start_failed
status.
sourcepub fn set_start_failed(self, input: Option<i32>) -> Self
pub fn set_start_failed(self, input: Option<i32>) -> Self
The number of instances with start_failed
status.
sourcepub fn get_start_failed(&self) -> &Option<i32>
pub fn get_start_failed(&self) -> &Option<i32>
The number of instances with start_failed
status.
sourcepub fn stop_failed(self, input: i32) -> Self
pub fn stop_failed(self, input: i32) -> Self
The number of instances with stop_failed
status.
sourcepub fn set_stop_failed(self, input: Option<i32>) -> Self
pub fn set_stop_failed(self, input: Option<i32>) -> Self
The number of instances with stop_failed
status.
sourcepub fn get_stop_failed(&self) -> &Option<i32>
pub fn get_stop_failed(&self) -> &Option<i32>
The number of instances with stop_failed
status.
sourcepub fn set_stopped(self, input: Option<i32>) -> Self
pub fn set_stopped(self, input: Option<i32>) -> Self
The number of instances with stopped
status.
sourcepub fn get_stopped(&self) -> &Option<i32>
pub fn get_stopped(&self) -> &Option<i32>
The number of instances with stopped
status.
sourcepub fn set_stopping(self, input: Option<i32>) -> Self
pub fn set_stopping(self, input: Option<i32>) -> Self
The number of instances with stopping
status.
sourcepub fn get_stopping(&self) -> &Option<i32>
pub fn get_stopping(&self) -> &Option<i32>
The number of instances with stopping
status.
sourcepub fn terminated(self, input: i32) -> Self
pub fn terminated(self, input: i32) -> Self
The number of instances with terminated
status.
sourcepub fn set_terminated(self, input: Option<i32>) -> Self
pub fn set_terminated(self, input: Option<i32>) -> Self
The number of instances with terminated
status.
sourcepub fn get_terminated(&self) -> &Option<i32>
pub fn get_terminated(&self) -> &Option<i32>
The number of instances with terminated
status.
sourcepub fn terminating(self, input: i32) -> Self
pub fn terminating(self, input: i32) -> Self
The number of instances with terminating
status.
sourcepub fn set_terminating(self, input: Option<i32>) -> Self
pub fn set_terminating(self, input: Option<i32>) -> Self
The number of instances with terminating
status.
sourcepub fn get_terminating(&self) -> &Option<i32>
pub fn get_terminating(&self) -> &Option<i32>
The number of instances with terminating
status.
sourcepub fn unassigning(self, input: i32) -> Self
pub fn unassigning(self, input: i32) -> Self
The number of instances in the Unassigning state.
sourcepub fn set_unassigning(self, input: Option<i32>) -> Self
pub fn set_unassigning(self, input: Option<i32>) -> Self
The number of instances in the Unassigning state.
sourcepub fn get_unassigning(&self) -> &Option<i32>
pub fn get_unassigning(&self) -> &Option<i32>
The number of instances in the Unassigning state.
sourcepub fn build(self) -> InstancesCount
pub fn build(self) -> InstancesCount
Consumes the builder and constructs a InstancesCount
.
Trait Implementations§
source§impl Clone for InstancesCountBuilder
impl Clone for InstancesCountBuilder
source§fn clone(&self) -> InstancesCountBuilder
fn clone(&self) -> InstancesCountBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InstancesCountBuilder
impl Debug for InstancesCountBuilder
source§impl Default for InstancesCountBuilder
impl Default for InstancesCountBuilder
source§fn default() -> InstancesCountBuilder
fn default() -> InstancesCountBuilder
source§impl PartialEq for InstancesCountBuilder
impl PartialEq for InstancesCountBuilder
source§fn eq(&self, other: &InstancesCountBuilder) -> bool
fn eq(&self, other: &InstancesCountBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstancesCountBuilder
Auto Trait Implementations§
impl Freeze for InstancesCountBuilder
impl RefUnwindSafe for InstancesCountBuilder
impl Send for InstancesCountBuilder
impl Sync for InstancesCountBuilder
impl Unpin for InstancesCountBuilder
impl UnwindSafe for InstancesCountBuilder
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