Struct aws_sdk_ec2::model::instance_count::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for InstanceCount
.
Implementations§
source§impl Builder
impl Builder
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
.