Struct aws_sdk_ec2::model::target_groups_config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TargetGroupsConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn target_groups(self, input: TargetGroup) -> Self
pub fn target_groups(self, input: TargetGroup) -> Self
Appends an item to target_groups
.
To override the contents of this collection use set_target_groups
.
One or more target groups.
sourcepub fn set_target_groups(self, input: Option<Vec<TargetGroup>>) -> Self
pub fn set_target_groups(self, input: Option<Vec<TargetGroup>>) -> Self
One or more target groups.
sourcepub fn build(self) -> TargetGroupsConfig
pub fn build(self) -> TargetGroupsConfig
Consumes the builder and constructs a TargetGroupsConfig
.