Struct aws_sdk_outposts::model::ec2_capacity::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for Ec2Capacity
.
Implementations
sourceimpl Builder
impl Builder
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 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 set_quantity(self, input: Option<String>) -> Self
pub fn set_quantity(self, input: Option<String>) -> Self
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
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more