Struct aws_sdk_opsworks::types::builders::StackSummaryBuilder
source · #[non_exhaustive]pub struct StackSummaryBuilder { /* private fields */ }
Expand description
A builder for StackSummary
.
Implementations§
source§impl StackSummaryBuilder
impl StackSummaryBuilder
sourcepub fn set_stack_id(self, input: Option<String>) -> Self
pub fn set_stack_id(self, input: Option<String>) -> Self
The stack ID.
sourcepub fn get_stack_id(&self) -> &Option<String>
pub fn get_stack_id(&self) -> &Option<String>
The stack ID.
sourcepub fn layers_count(self, input: i32) -> Self
pub fn layers_count(self, input: i32) -> Self
The number of layers.
sourcepub fn set_layers_count(self, input: Option<i32>) -> Self
pub fn set_layers_count(self, input: Option<i32>) -> Self
The number of layers.
sourcepub fn get_layers_count(&self) -> &Option<i32>
pub fn get_layers_count(&self) -> &Option<i32>
The number of layers.
sourcepub fn apps_count(self, input: i32) -> Self
pub fn apps_count(self, input: i32) -> Self
The number of apps.
sourcepub fn set_apps_count(self, input: Option<i32>) -> Self
pub fn set_apps_count(self, input: Option<i32>) -> Self
The number of apps.
sourcepub fn get_apps_count(&self) -> &Option<i32>
pub fn get_apps_count(&self) -> &Option<i32>
The number of apps.
sourcepub fn instances_count(self, input: InstancesCount) -> Self
pub fn instances_count(self, input: InstancesCount) -> Self
An InstancesCount
object with the number of instances in each status.
sourcepub fn set_instances_count(self, input: Option<InstancesCount>) -> Self
pub fn set_instances_count(self, input: Option<InstancesCount>) -> Self
An InstancesCount
object with the number of instances in each status.
sourcepub fn get_instances_count(&self) -> &Option<InstancesCount>
pub fn get_instances_count(&self) -> &Option<InstancesCount>
An InstancesCount
object with the number of instances in each status.
sourcepub fn build(self) -> StackSummary
pub fn build(self) -> StackSummary
Consumes the builder and constructs a StackSummary
.
Trait Implementations§
source§impl Clone for StackSummaryBuilder
impl Clone for StackSummaryBuilder
source§fn clone(&self) -> StackSummaryBuilder
fn clone(&self) -> StackSummaryBuilder
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 StackSummaryBuilder
impl Debug for StackSummaryBuilder
source§impl Default for StackSummaryBuilder
impl Default for StackSummaryBuilder
source§fn default() -> StackSummaryBuilder
fn default() -> StackSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StackSummaryBuilder
impl PartialEq for StackSummaryBuilder
source§fn eq(&self, other: &StackSummaryBuilder) -> bool
fn eq(&self, other: &StackSummaryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StackSummaryBuilder
Auto Trait Implementations§
impl Freeze for StackSummaryBuilder
impl RefUnwindSafe for StackSummaryBuilder
impl Send for StackSummaryBuilder
impl Sync for StackSummaryBuilder
impl Unpin for StackSummaryBuilder
impl UnwindSafe for StackSummaryBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.