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 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 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 ==.