Struct aws_sdk_networkmanager::model::vpc_attachment::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for VpcAttachment
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn attachment(self, input: Attachment) -> Self
pub fn attachment(self, input: Attachment) -> Self
Provides details about the VPC attachment.
sourcepub fn set_attachment(self, input: Option<Attachment>) -> Self
pub fn set_attachment(self, input: Option<Attachment>) -> Self
Provides details about the VPC attachment.
sourcepub fn subnet_arns(self, input: impl Into<String>) -> Self
pub fn subnet_arns(self, input: impl Into<String>) -> Self
Appends an item to subnet_arns
.
To override the contents of this collection use set_subnet_arns
.
The subnet ARNs.
sourcepub fn set_subnet_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_arns(self, input: Option<Vec<String>>) -> Self
The subnet ARNs.
sourcepub fn options(self, input: VpcOptions) -> Self
pub fn options(self, input: VpcOptions) -> Self
Provides details about the VPC attachment.
sourcepub fn set_options(self, input: Option<VpcOptions>) -> Self
pub fn set_options(self, input: Option<VpcOptions>) -> Self
Provides details about the VPC attachment.
sourcepub fn build(self) -> VpcAttachment
pub fn build(self) -> VpcAttachment
Consumes the builder and constructs a VpcAttachment
.