Struct aws_sdk_ec2::model::target_configuration::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TargetConfiguration
.
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 instances the Convertible Reserved Instance offering can be applied to. This parameter is reserved and cannot be specified in a request
sourcepub fn set_instance_count(self, input: Option<i32>) -> Self
pub fn set_instance_count(self, input: Option<i32>) -> Self
The number of instances the Convertible Reserved Instance offering can be applied to. This parameter is reserved and cannot be specified in a request
sourcepub fn offering_id(self, input: impl Into<String>) -> Self
pub fn offering_id(self, input: impl Into<String>) -> Self
The ID of the Convertible Reserved Instance offering.
sourcepub fn set_offering_id(self, input: Option<String>) -> Self
pub fn set_offering_id(self, input: Option<String>) -> Self
The ID of the Convertible Reserved Instance offering.
sourcepub fn build(self) -> TargetConfiguration
pub fn build(self) -> TargetConfiguration
Consumes the builder and constructs a TargetConfiguration
.