Struct aws_sdk_apigatewayv2::operation::create_vpc_link::builders::CreateVpcLinkInputBuilder
source · #[non_exhaustive]pub struct CreateVpcLinkInputBuilder { /* private fields */ }Expand description
A builder for CreateVpcLinkInput.
Implementations§
source§impl CreateVpcLinkInputBuilder
impl CreateVpcLinkInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the VPC link.
This field is required.sourcepub fn security_group_ids(self, input: impl Into<String>) -> Self
pub fn security_group_ids(self, input: impl Into<String>) -> Self
Appends an item to security_group_ids.
To override the contents of this collection use set_security_group_ids.
A list of security group IDs for the VPC link.
sourcepub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
A list of security group IDs for the VPC link.
sourcepub fn get_security_group_ids(&self) -> &Option<Vec<String>>
pub fn get_security_group_ids(&self) -> &Option<Vec<String>>
A list of security group IDs for the VPC link.
sourcepub fn subnet_ids(self, input: impl Into<String>) -> Self
pub fn subnet_ids(self, input: impl Into<String>) -> Self
Appends an item to subnet_ids.
To override the contents of this collection use set_subnet_ids.
A list of subnet IDs to include in the VPC link.
sourcepub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
A list of subnet IDs to include in the VPC link.
sourcepub fn get_subnet_ids(&self) -> &Option<Vec<String>>
pub fn get_subnet_ids(&self) -> &Option<Vec<String>>
A list of subnet IDs to include in the VPC link.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
A list of tags.
A list of tags.
A list of tags.
sourcepub fn build(self) -> Result<CreateVpcLinkInput, BuildError>
pub fn build(self) -> Result<CreateVpcLinkInput, BuildError>
Consumes the builder and constructs a CreateVpcLinkInput.
source§impl CreateVpcLinkInputBuilder
impl CreateVpcLinkInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateVpcLinkOutput, SdkError<CreateVpcLinkError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateVpcLinkOutput, SdkError<CreateVpcLinkError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateVpcLinkInputBuilder
impl Clone for CreateVpcLinkInputBuilder
source§fn clone(&self) -> CreateVpcLinkInputBuilder
fn clone(&self) -> CreateVpcLinkInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateVpcLinkInputBuilder
impl Debug for CreateVpcLinkInputBuilder
source§impl Default for CreateVpcLinkInputBuilder
impl Default for CreateVpcLinkInputBuilder
source§fn default() -> CreateVpcLinkInputBuilder
fn default() -> CreateVpcLinkInputBuilder
source§impl PartialEq for CreateVpcLinkInputBuilder
impl PartialEq for CreateVpcLinkInputBuilder
source§fn eq(&self, other: &CreateVpcLinkInputBuilder) -> bool
fn eq(&self, other: &CreateVpcLinkInputBuilder) -> bool
self and other values to be equal, and is used
by ==.