Struct aws_sdk_ec2::types::builders::InternetGatewayBuilder
source · #[non_exhaustive]pub struct InternetGatewayBuilder { /* private fields */ }
Expand description
A builder for InternetGateway
.
Implementations§
source§impl InternetGatewayBuilder
impl InternetGatewayBuilder
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
.
Any VPCs attached to the internet gateway.
sourcepub fn set_attachments(
self,
input: Option<Vec<InternetGatewayAttachment>>
) -> Self
pub fn set_attachments( self, input: Option<Vec<InternetGatewayAttachment>> ) -> Self
Any VPCs attached to the internet gateway.
sourcepub fn get_attachments(&self) -> &Option<Vec<InternetGatewayAttachment>>
pub fn get_attachments(&self) -> &Option<Vec<InternetGatewayAttachment>>
Any VPCs attached to the internet gateway.
sourcepub fn internet_gateway_id(self, input: impl Into<String>) -> Self
pub fn internet_gateway_id(self, input: impl Into<String>) -> Self
The ID of the internet gateway.
sourcepub fn set_internet_gateway_id(self, input: Option<String>) -> Self
pub fn set_internet_gateway_id(self, input: Option<String>) -> Self
The ID of the internet gateway.
sourcepub fn get_internet_gateway_id(&self) -> &Option<String>
pub fn get_internet_gateway_id(&self) -> &Option<String>
The ID of the internet gateway.
sourcepub fn owner_id(self, input: impl Into<String>) -> Self
pub fn owner_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that owns the internet gateway.
sourcepub fn set_owner_id(self, input: Option<String>) -> Self
pub fn set_owner_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that owns the internet gateway.
sourcepub fn get_owner_id(&self) -> &Option<String>
pub fn get_owner_id(&self) -> &Option<String>
The ID of the Amazon Web Services account that owns the internet gateway.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Any tags assigned to the internet gateway.
Any tags assigned to the internet gateway.
Any tags assigned to the internet gateway.
sourcepub fn build(self) -> InternetGateway
pub fn build(self) -> InternetGateway
Consumes the builder and constructs a InternetGateway
.
Trait Implementations§
source§impl Clone for InternetGatewayBuilder
impl Clone for InternetGatewayBuilder
source§fn clone(&self) -> InternetGatewayBuilder
fn clone(&self) -> InternetGatewayBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InternetGatewayBuilder
impl Debug for InternetGatewayBuilder
source§impl Default for InternetGatewayBuilder
impl Default for InternetGatewayBuilder
source§fn default() -> InternetGatewayBuilder
fn default() -> InternetGatewayBuilder
source§impl PartialEq<InternetGatewayBuilder> for InternetGatewayBuilder
impl PartialEq<InternetGatewayBuilder> for InternetGatewayBuilder
source§fn eq(&self, other: &InternetGatewayBuilder) -> bool
fn eq(&self, other: &InternetGatewayBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.