Struct aws_sdk_ec2::model::classic_link_instance::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ClassicLinkInstance
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn groups(self, input: GroupIdentifier) -> Self
pub fn groups(self, input: GroupIdentifier) -> Self
Appends an item to groups
.
To override the contents of this collection use set_groups
.
A list of security groups.
sourcepub fn set_groups(self, input: Option<Vec<GroupIdentifier>>) -> Self
pub fn set_groups(self, input: Option<Vec<GroupIdentifier>>) -> Self
A list of security groups.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The ID of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The ID of the instance.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Any tags assigned to the instance.
Any tags assigned to the instance.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The ID of the VPC.
sourcepub fn build(self) -> ClassicLinkInstance
pub fn build(self) -> ClassicLinkInstance
Consumes the builder and constructs a ClassicLinkInstance
.