Struct aws_sdk_apprunner::operation::create_vpc_connector::builders::CreateVpcConnectorInputBuilder
source · #[non_exhaustive]pub struct CreateVpcConnectorInputBuilder { /* private fields */ }
Expand description
A builder for CreateVpcConnectorInput
.
Implementations§
source§impl CreateVpcConnectorInputBuilder
impl CreateVpcConnectorInputBuilder
sourcepub fn vpc_connector_name(self, input: impl Into<String>) -> Self
pub fn vpc_connector_name(self, input: impl Into<String>) -> Self
A name for the VPC connector.
This field is required.sourcepub fn set_vpc_connector_name(self, input: Option<String>) -> Self
pub fn set_vpc_connector_name(self, input: Option<String>) -> Self
A name for the VPC connector.
sourcepub fn get_vpc_connector_name(&self) -> &Option<String>
pub fn get_vpc_connector_name(&self) -> &Option<String>
A name for the VPC connector.
sourcepub fn subnets(self, input: impl Into<String>) -> Self
pub fn subnets(self, input: impl Into<String>) -> Self
Appends an item to subnets
.
To override the contents of this collection use set_subnets
.
A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.
App Runner currently only provides support for IPv4.
sourcepub fn set_subnets(self, input: Option<Vec<String>>) -> Self
pub fn set_subnets(self, input: Option<Vec<String>>) -> Self
A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.
App Runner currently only provides support for IPv4.
sourcepub fn get_subnets(&self) -> &Option<Vec<String>>
pub fn get_subnets(&self) -> &Option<Vec<String>>
A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.
App Runner currently only provides support for IPv4.
sourcepub fn security_groups(self, input: impl Into<String>) -> Self
pub fn security_groups(self, input: impl Into<String>) -> Self
Appends an item to security_groups
.
To override the contents of this collection use set_security_groups
.
A list of IDs of security groups that App Runner should use for access to Amazon Web Services resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
sourcepub fn set_security_groups(self, input: Option<Vec<String>>) -> Self
pub fn set_security_groups(self, input: Option<Vec<String>>) -> Self
A list of IDs of security groups that App Runner should use for access to Amazon Web Services resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
sourcepub fn get_security_groups(&self) -> &Option<Vec<String>>
pub fn get_security_groups(&self) -> &Option<Vec<String>>
A list of IDs of security groups that App Runner should use for access to Amazon Web Services resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.
A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.
A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.
sourcepub fn build(self) -> Result<CreateVpcConnectorInput, BuildError>
pub fn build(self) -> Result<CreateVpcConnectorInput, BuildError>
Consumes the builder and constructs a CreateVpcConnectorInput
.
source§impl CreateVpcConnectorInputBuilder
impl CreateVpcConnectorInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateVpcConnectorOutput, SdkError<CreateVpcConnectorError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateVpcConnectorOutput, SdkError<CreateVpcConnectorError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateVpcConnectorInputBuilder
impl Clone for CreateVpcConnectorInputBuilder
source§fn clone(&self) -> CreateVpcConnectorInputBuilder
fn clone(&self) -> CreateVpcConnectorInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateVpcConnectorInputBuilder
impl Default for CreateVpcConnectorInputBuilder
source§fn default() -> CreateVpcConnectorInputBuilder
fn default() -> CreateVpcConnectorInputBuilder
source§impl PartialEq for CreateVpcConnectorInputBuilder
impl PartialEq for CreateVpcConnectorInputBuilder
source§fn eq(&self, other: &CreateVpcConnectorInputBuilder) -> bool
fn eq(&self, other: &CreateVpcConnectorInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.