#[non_exhaustive]pub struct EgressOnlyInternetGatewayBuilder { /* private fields */ }
Expand description
A builder for EgressOnlyInternetGateway
.
Implementations§
source§impl EgressOnlyInternetGatewayBuilder
impl EgressOnlyInternetGatewayBuilder
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 get_attachments(&self) -> &Option<Vec<InternetGatewayAttachment>>
pub fn get_attachments(&self) -> &Option<Vec<InternetGatewayAttachment>>
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.
sourcepub fn get_egress_only_internet_gateway_id(&self) -> &Option<String>
pub fn get_egress_only_internet_gateway_id(&self) -> &Option<String>
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.
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
.
Trait Implementations§
source§impl Clone for EgressOnlyInternetGatewayBuilder
impl Clone for EgressOnlyInternetGatewayBuilder
source§fn clone(&self) -> EgressOnlyInternetGatewayBuilder
fn clone(&self) -> EgressOnlyInternetGatewayBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EgressOnlyInternetGatewayBuilder
impl Default for EgressOnlyInternetGatewayBuilder
source§fn default() -> EgressOnlyInternetGatewayBuilder
fn default() -> EgressOnlyInternetGatewayBuilder
source§impl PartialEq<EgressOnlyInternetGatewayBuilder> for EgressOnlyInternetGatewayBuilder
impl PartialEq<EgressOnlyInternetGatewayBuilder> for EgressOnlyInternetGatewayBuilder
source§fn eq(&self, other: &EgressOnlyInternetGatewayBuilder) -> bool
fn eq(&self, other: &EgressOnlyInternetGatewayBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.