Struct aws_sdk_ec2::model::placement_group_info::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for PlacementGroupInfo
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn supported_strategies(self, input: PlacementGroupStrategy) -> Self
pub fn supported_strategies(self, input: PlacementGroupStrategy) -> Self
Appends an item to supported_strategies
.
To override the contents of this collection use set_supported_strategies
.
The supported placement group types.
sourcepub fn set_supported_strategies(
self,
input: Option<Vec<PlacementGroupStrategy>>
) -> Self
pub fn set_supported_strategies(
self,
input: Option<Vec<PlacementGroupStrategy>>
) -> Self
The supported placement group types.
sourcepub fn build(self) -> PlacementGroupInfo
pub fn build(self) -> PlacementGroupInfo
Consumes the builder and constructs a PlacementGroupInfo
.