Struct aws_sdk_quicksight::operation::create_vpc_connection::builders::CreateVPCConnectionFluentBuilder
source · pub struct CreateVPCConnectionFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateVPCConnection.
Creates a new VPC connection.
Implementations§
source§impl CreateVPCConnectionFluentBuilder
impl CreateVPCConnectionFluentBuilder
sourcepub fn as_input(&self) -> &CreateVpcConnectionInputBuilder
pub fn as_input(&self) -> &CreateVpcConnectionInputBuilder
Access the CreateVPCConnection as a reference.
sourcepub async fn send(
self
) -> Result<CreateVpcConnectionOutput, SdkError<CreateVPCConnectionError, HttpResponse>>
pub async fn send( self ) -> Result<CreateVpcConnectionOutput, SdkError<CreateVPCConnectionError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateVpcConnectionOutput, CreateVPCConnectionError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateVpcConnectionOutput, CreateVPCConnectionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
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 subnet_ids(self, input: impl Into<String>) -> Self
pub fn subnet_ids(self, input: impl Into<String>) -> Self
Appends an item to SubnetIds.
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 SecurityGroupIds.
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 DnsResolvers.
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.
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.
Trait Implementations§
source§impl Clone for CreateVPCConnectionFluentBuilder
impl Clone for CreateVPCConnectionFluentBuilder
source§fn clone(&self) -> CreateVPCConnectionFluentBuilder
fn clone(&self) -> CreateVPCConnectionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more