Struct aws_sdk_outposts::types::builders::Ec2CapacityBuilder
source · #[non_exhaustive]pub struct Ec2CapacityBuilder { /* private fields */ }
Expand description
A builder for Ec2Capacity
.
Implementations§
source§impl Ec2CapacityBuilder
impl Ec2CapacityBuilder
sourcepub fn set_family(self, input: Option<String>) -> Self
pub fn set_family(self, input: Option<String>) -> Self
The family of the EC2 capacity.
sourcepub fn get_family(&self) -> &Option<String>
pub fn get_family(&self) -> &Option<String>
The family of the EC2 capacity.
sourcepub fn set_max_size(self, input: Option<String>) -> Self
pub fn set_max_size(self, input: Option<String>) -> Self
The maximum size of the EC2 capacity.
sourcepub fn get_max_size(&self) -> &Option<String>
pub fn get_max_size(&self) -> &Option<String>
The maximum size of the EC2 capacity.
sourcepub fn set_quantity(self, input: Option<String>) -> Self
pub fn set_quantity(self, input: Option<String>) -> Self
The quantity of the EC2 capacity.
sourcepub fn get_quantity(&self) -> &Option<String>
pub fn get_quantity(&self) -> &Option<String>
The quantity of the EC2 capacity.
sourcepub fn build(self) -> Ec2Capacity
pub fn build(self) -> Ec2Capacity
Consumes the builder and constructs a Ec2Capacity
.
Trait Implementations§
source§impl Clone for Ec2CapacityBuilder
impl Clone for Ec2CapacityBuilder
source§fn clone(&self) -> Ec2CapacityBuilder
fn clone(&self) -> Ec2CapacityBuilder
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 Ec2CapacityBuilder
impl Debug for Ec2CapacityBuilder
source§impl Default for Ec2CapacityBuilder
impl Default for Ec2CapacityBuilder
source§fn default() -> Ec2CapacityBuilder
fn default() -> Ec2CapacityBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for Ec2CapacityBuilder
impl PartialEq for Ec2CapacityBuilder
source§fn eq(&self, other: &Ec2CapacityBuilder) -> bool
fn eq(&self, other: &Ec2CapacityBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Ec2CapacityBuilder
Auto Trait Implementations§
impl RefUnwindSafe for Ec2CapacityBuilder
impl Send for Ec2CapacityBuilder
impl Sync for Ec2CapacityBuilder
impl Unpin for Ec2CapacityBuilder
impl UnwindSafe for Ec2CapacityBuilder
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.