Struct aws_sdk_ec2::types::builders::InstanceCountBuilder
source · #[non_exhaustive]pub struct InstanceCountBuilder { /* private fields */ }
Expand description
A builder for InstanceCount
.
Implementations§
source§impl InstanceCountBuilder
impl InstanceCountBuilder
sourcepub fn instance_count(self, input: i32) -> Self
pub fn instance_count(self, input: i32) -> Self
The number of listed Reserved Instances in the state specified by the state
.
sourcepub fn set_instance_count(self, input: Option<i32>) -> Self
pub fn set_instance_count(self, input: Option<i32>) -> Self
The number of listed Reserved Instances in the state specified by the state
.
sourcepub fn get_instance_count(&self) -> &Option<i32>
pub fn get_instance_count(&self) -> &Option<i32>
The number of listed Reserved Instances in the state specified by the state
.
sourcepub fn state(self, input: ListingState) -> Self
pub fn state(self, input: ListingState) -> Self
The states of the listed Reserved Instances.
sourcepub fn set_state(self, input: Option<ListingState>) -> Self
pub fn set_state(self, input: Option<ListingState>) -> Self
The states of the listed Reserved Instances.
sourcepub fn get_state(&self) -> &Option<ListingState>
pub fn get_state(&self) -> &Option<ListingState>
The states of the listed Reserved Instances.
sourcepub fn build(self) -> InstanceCount
pub fn build(self) -> InstanceCount
Consumes the builder and constructs a InstanceCount
.
Trait Implementations§
source§impl Clone for InstanceCountBuilder
impl Clone for InstanceCountBuilder
source§fn clone(&self) -> InstanceCountBuilder
fn clone(&self) -> InstanceCountBuilder
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 InstanceCountBuilder
impl Debug for InstanceCountBuilder
source§impl Default for InstanceCountBuilder
impl Default for InstanceCountBuilder
source§fn default() -> InstanceCountBuilder
fn default() -> InstanceCountBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<InstanceCountBuilder> for InstanceCountBuilder
impl PartialEq<InstanceCountBuilder> for InstanceCountBuilder
source§fn eq(&self, other: &InstanceCountBuilder) -> bool
fn eq(&self, other: &InstanceCountBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstanceCountBuilder
Auto Trait Implementations§
impl RefUnwindSafe for InstanceCountBuilder
impl Send for InstanceCountBuilder
impl Sync for InstanceCountBuilder
impl Unpin for InstanceCountBuilder
impl UnwindSafe for InstanceCountBuilder
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