Struct aws_sdk_ec2::model::egress_only_internet_gateway::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for EgressOnlyInternetGateway
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn attachments(self, input: InternetGatewayAttachment) -> Self
pub fn attachments(self, input: InternetGatewayAttachment) -> Self
Appends an item to attachments
.
To override the contents of this collection use set_attachments
.
Information about the attachment of the egress-only internet gateway.
sourcepub fn set_attachments(
self,
input: Option<Vec<InternetGatewayAttachment>>
) -> Self
pub fn set_attachments(
self,
input: Option<Vec<InternetGatewayAttachment>>
) -> Self
Information about the attachment of the egress-only internet gateway.
sourcepub fn egress_only_internet_gateway_id(self, input: impl Into<String>) -> Self
pub fn egress_only_internet_gateway_id(self, input: impl Into<String>) -> Self
The ID of the egress-only internet gateway.
sourcepub fn set_egress_only_internet_gateway_id(self, input: Option<String>) -> Self
pub fn set_egress_only_internet_gateway_id(self, input: Option<String>) -> Self
The ID of the egress-only internet gateway.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags assigned to the egress-only internet gateway.
The tags assigned to the egress-only internet gateway.
sourcepub fn build(self) -> EgressOnlyInternetGateway
pub fn build(self) -> EgressOnlyInternetGateway
Consumes the builder and constructs a EgressOnlyInternetGateway
.