Struct aws_sdk_quicksight::operation::update_vpc_connection::builders::UpdateVpcConnectionInputBuilder
source · #[non_exhaustive]pub struct UpdateVpcConnectionInputBuilder { /* private fields */ }Expand description
A builder for UpdateVpcConnectionInput.
Implementations§
source§impl UpdateVpcConnectionInputBuilder
impl UpdateVpcConnectionInputBuilder
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 that contains the VPC connection that you want to update.
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 that contains the VPC connection that you want to update.
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 that contains the VPC connection that you want to update.
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 updating. 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 updating. 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 updating. 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
An IAM role associated 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
An IAM role associated with the VPC connection.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
An IAM role associated with the VPC connection.
sourcepub fn build(self) -> Result<UpdateVpcConnectionInput, BuildError>
pub fn build(self) -> Result<UpdateVpcConnectionInput, BuildError>
Consumes the builder and constructs a UpdateVpcConnectionInput.
source§impl UpdateVpcConnectionInputBuilder
impl UpdateVpcConnectionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateVpcConnectionOutput, SdkError<UpdateVPCConnectionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateVpcConnectionOutput, SdkError<UpdateVPCConnectionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateVpcConnectionInputBuilder
impl Clone for UpdateVpcConnectionInputBuilder
source§fn clone(&self) -> UpdateVpcConnectionInputBuilder
fn clone(&self) -> UpdateVpcConnectionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateVpcConnectionInputBuilder
impl Default for UpdateVpcConnectionInputBuilder
source§fn default() -> UpdateVpcConnectionInputBuilder
fn default() -> UpdateVpcConnectionInputBuilder
source§impl PartialEq for UpdateVpcConnectionInputBuilder
impl PartialEq for UpdateVpcConnectionInputBuilder
source§fn eq(&self, other: &UpdateVpcConnectionInputBuilder) -> bool
fn eq(&self, other: &UpdateVpcConnectionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateVpcConnectionInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateVpcConnectionInputBuilder
impl RefUnwindSafe for UpdateVpcConnectionInputBuilder
impl Send for UpdateVpcConnectionInputBuilder
impl Sync for UpdateVpcConnectionInputBuilder
impl Unpin for UpdateVpcConnectionInputBuilder
impl UnwindSafe for UpdateVpcConnectionInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more