Struct aws_sdk_ec2::types::builders::VpcAttachmentBuilder
source · #[non_exhaustive]pub struct VpcAttachmentBuilder { /* private fields */ }Expand description
A builder for VpcAttachment.
Implementations§
source§impl VpcAttachmentBuilder
impl VpcAttachmentBuilder
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.
Trait Implementations§
source§impl Clone for VpcAttachmentBuilder
impl Clone for VpcAttachmentBuilder
source§fn clone(&self) -> VpcAttachmentBuilder
fn clone(&self) -> VpcAttachmentBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for VpcAttachmentBuilder
impl Debug for VpcAttachmentBuilder
source§impl Default for VpcAttachmentBuilder
impl Default for VpcAttachmentBuilder
source§fn default() -> VpcAttachmentBuilder
fn default() -> VpcAttachmentBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<VpcAttachmentBuilder> for VpcAttachmentBuilder
impl PartialEq<VpcAttachmentBuilder> for VpcAttachmentBuilder
source§fn eq(&self, other: &VpcAttachmentBuilder) -> bool
fn eq(&self, other: &VpcAttachmentBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.