Struct aws_sdk_ec2::model::internet_gateway::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for InternetGateway
.
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
.
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 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 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.
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.
sourcepub fn build(self) -> InternetGateway
pub fn build(self) -> InternetGateway
Consumes the builder and constructs a InternetGateway
.