Struct aws_sdk_ec2::model::vpc_attachment::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for VpcAttachment
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn state(self, input: AttachmentStatus) -> Self
pub fn state(self, input: AttachmentStatus) -> Self
The current state of the attachment.
sourcepub fn set_state(self, input: Option<AttachmentStatus>) -> Self
pub fn set_state(self, input: Option<AttachmentStatus>) -> Self
The current state of the attachment.
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) -> VpcAttachment
pub fn build(self) -> VpcAttachment
Consumes the builder and constructs a VpcAttachment
.