Struct aws_sdk_quicksight::operation::create_vpc_connection::builders::CreateVpcConnectionInputBuilder
source · #[non_exhaustive]pub struct CreateVpcConnectionInputBuilder { /* private fields */ }Expand description
A builder for CreateVpcConnectionInput.
Implementations§
source§impl CreateVpcConnectionInputBuilder
impl CreateVpcConnectionInputBuilder
sourcepub fn aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID of the account where you want to create a new VPC connection.
This field is required.sourcepub fn set_aws_account_id(self, input: Option<String>) -> Self
pub fn set_aws_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID of the account where you want to create a new VPC connection.
sourcepub fn get_aws_account_id(&self) -> &Option<String>
pub fn get_aws_account_id(&self) -> &Option<String>
The Amazon Web Services account ID of the account where you want to create a new VPC connection.
sourcepub fn vpc_connection_id(self, input: impl Into<String>) -> Self
pub fn vpc_connection_id(self, input: impl Into<String>) -> Self
The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.
This field is required.sourcepub fn set_vpc_connection_id(self, input: Option<String>) -> Self
pub fn set_vpc_connection_id(self, input: Option<String>) -> Self
The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.
sourcepub fn get_vpc_connection_id(&self) -> &Option<String>
pub fn get_vpc_connection_id(&self) -> &Option<String>
The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The display name for the VPC connection.
This field is required.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 for the VPC connection.
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 for the VPC connection.
sourcepub fn get_subnet_ids(&self) -> &Option<Vec<String>>
pub fn get_subnet_ids(&self) -> &Option<Vec<String>>
A list of subnet IDs for the VPC connection.
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 connection.
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 connection.
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 connection.
sourcepub fn dns_resolvers(self, input: impl Into<String>) -> Self
pub fn dns_resolvers(self, input: impl Into<String>) -> Self
Appends an item to dns_resolvers.
To override the contents of this collection use set_dns_resolvers.
A list of IP addresses of DNS resolver endpoints for the VPC connection.
sourcepub fn set_dns_resolvers(self, input: Option<Vec<String>>) -> Self
pub fn set_dns_resolvers(self, input: Option<Vec<String>>) -> Self
A list of IP addresses of DNS resolver endpoints for the VPC connection.
sourcepub fn get_dns_resolvers(&self) -> &Option<Vec<String>>
pub fn get_dns_resolvers(&self) -> &Option<Vec<String>>
A list of IP addresses of DNS resolver endpoints for the VPC connection.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The IAM role to associate with the VPC connection.
This field is required.sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The IAM role to associate with the VPC connection.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The IAM role to associate with the VPC connection.
Appends an item to tags.
To override the contents of this collection use set_tags.
A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.
A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.
A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.
sourcepub fn build(self) -> Result<CreateVpcConnectionInput, BuildError>
pub fn build(self) -> Result<CreateVpcConnectionInput, BuildError>
Consumes the builder and constructs a CreateVpcConnectionInput.
source§impl CreateVpcConnectionInputBuilder
impl CreateVpcConnectionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateVpcConnectionOutput, SdkError<CreateVPCConnectionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateVpcConnectionOutput, SdkError<CreateVPCConnectionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateVpcConnectionInputBuilder
impl Clone for CreateVpcConnectionInputBuilder
source§fn clone(&self) -> CreateVpcConnectionInputBuilder
fn clone(&self) -> CreateVpcConnectionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateVpcConnectionInputBuilder
impl Default for CreateVpcConnectionInputBuilder
source§fn default() -> CreateVpcConnectionInputBuilder
fn default() -> CreateVpcConnectionInputBuilder
source§impl PartialEq for CreateVpcConnectionInputBuilder
impl PartialEq for CreateVpcConnectionInputBuilder
source§fn eq(&self, other: &CreateVpcConnectionInputBuilder) -> bool
fn eq(&self, other: &CreateVpcConnectionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.