Struct aws_sdk_ec2::model::placement_response::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for PlacementResponse
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn group_name(self, input: impl Into<String>) -> Self
pub fn group_name(self, input: impl Into<String>) -> Self
The name of the placement group that the instance is in.
sourcepub fn set_group_name(self, input: Option<String>) -> Self
pub fn set_group_name(self, input: Option<String>) -> Self
The name of the placement group that the instance is in.
sourcepub fn build(self) -> PlacementResponse
pub fn build(self) -> PlacementResponse
Consumes the builder and constructs a PlacementResponse
.