Struct aws_sdk_ec2::operation::modify_vpc_endpoint_service_configuration::builders::ModifyVpcEndpointServiceConfigurationInputBuilder
source · #[non_exhaustive]pub struct ModifyVpcEndpointServiceConfigurationInputBuilder { /* private fields */ }
Expand description
A builder for ModifyVpcEndpointServiceConfigurationInput
.
Implementations§
source§impl ModifyVpcEndpointServiceConfigurationInputBuilder
impl ModifyVpcEndpointServiceConfigurationInputBuilder
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn service_id(self, input: impl Into<String>) -> Self
pub fn service_id(self, input: impl Into<String>) -> Self
The ID of the service.
sourcepub fn set_service_id(self, input: Option<String>) -> Self
pub fn set_service_id(self, input: Option<String>) -> Self
The ID of the service.
sourcepub fn get_service_id(&self) -> &Option<String>
pub fn get_service_id(&self) -> &Option<String>
The ID of the service.
sourcepub fn private_dns_name(self, input: impl Into<String>) -> Self
pub fn private_dns_name(self, input: impl Into<String>) -> Self
(Interface endpoint configuration) The private DNS name to assign to the endpoint service.
sourcepub fn set_private_dns_name(self, input: Option<String>) -> Self
pub fn set_private_dns_name(self, input: Option<String>) -> Self
(Interface endpoint configuration) The private DNS name to assign to the endpoint service.
sourcepub fn get_private_dns_name(&self) -> &Option<String>
pub fn get_private_dns_name(&self) -> &Option<String>
(Interface endpoint configuration) The private DNS name to assign to the endpoint service.
sourcepub fn remove_private_dns_name(self, input: bool) -> Self
pub fn remove_private_dns_name(self, input: bool) -> Self
(Interface endpoint configuration) Removes the private DNS name of the endpoint service.
sourcepub fn set_remove_private_dns_name(self, input: Option<bool>) -> Self
pub fn set_remove_private_dns_name(self, input: Option<bool>) -> Self
(Interface endpoint configuration) Removes the private DNS name of the endpoint service.
sourcepub fn get_remove_private_dns_name(&self) -> &Option<bool>
pub fn get_remove_private_dns_name(&self) -> &Option<bool>
(Interface endpoint configuration) Removes the private DNS name of the endpoint service.
sourcepub fn acceptance_required(self, input: bool) -> Self
pub fn acceptance_required(self, input: bool) -> Self
Indicates whether requests to create an endpoint to your service must be accepted.
sourcepub fn set_acceptance_required(self, input: Option<bool>) -> Self
pub fn set_acceptance_required(self, input: Option<bool>) -> Self
Indicates whether requests to create an endpoint to your service must be accepted.
sourcepub fn get_acceptance_required(&self) -> &Option<bool>
pub fn get_acceptance_required(&self) -> &Option<bool>
Indicates whether requests to create an endpoint to your service must be accepted.
sourcepub fn add_network_load_balancer_arns(self, input: impl Into<String>) -> Self
pub fn add_network_load_balancer_arns(self, input: impl Into<String>) -> Self
Appends an item to add_network_load_balancer_arns
.
To override the contents of this collection use set_add_network_load_balancer_arns
.
The Amazon Resource Names (ARNs) of Network Load Balancers to add to your service configuration.
sourcepub fn set_add_network_load_balancer_arns(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_add_network_load_balancer_arns( self, input: Option<Vec<String>> ) -> Self
The Amazon Resource Names (ARNs) of Network Load Balancers to add to your service configuration.
sourcepub fn get_add_network_load_balancer_arns(&self) -> &Option<Vec<String>>
pub fn get_add_network_load_balancer_arns(&self) -> &Option<Vec<String>>
The Amazon Resource Names (ARNs) of Network Load Balancers to add to your service configuration.
sourcepub fn remove_network_load_balancer_arns(self, input: impl Into<String>) -> Self
pub fn remove_network_load_balancer_arns(self, input: impl Into<String>) -> Self
Appends an item to remove_network_load_balancer_arns
.
To override the contents of this collection use set_remove_network_load_balancer_arns
.
The Amazon Resource Names (ARNs) of Network Load Balancers to remove from your service configuration.
sourcepub fn set_remove_network_load_balancer_arns(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_remove_network_load_balancer_arns( self, input: Option<Vec<String>> ) -> Self
The Amazon Resource Names (ARNs) of Network Load Balancers to remove from your service configuration.
sourcepub fn get_remove_network_load_balancer_arns(&self) -> &Option<Vec<String>>
pub fn get_remove_network_load_balancer_arns(&self) -> &Option<Vec<String>>
The Amazon Resource Names (ARNs) of Network Load Balancers to remove from your service configuration.
sourcepub fn add_gateway_load_balancer_arns(self, input: impl Into<String>) -> Self
pub fn add_gateway_load_balancer_arns(self, input: impl Into<String>) -> Self
Appends an item to add_gateway_load_balancer_arns
.
To override the contents of this collection use set_add_gateway_load_balancer_arns
.
The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to your service configuration.
sourcepub fn set_add_gateway_load_balancer_arns(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_add_gateway_load_balancer_arns( self, input: Option<Vec<String>> ) -> Self
The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to your service configuration.
sourcepub fn get_add_gateway_load_balancer_arns(&self) -> &Option<Vec<String>>
pub fn get_add_gateway_load_balancer_arns(&self) -> &Option<Vec<String>>
The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to your service configuration.
sourcepub fn remove_gateway_load_balancer_arns(self, input: impl Into<String>) -> Self
pub fn remove_gateway_load_balancer_arns(self, input: impl Into<String>) -> Self
Appends an item to remove_gateway_load_balancer_arns
.
To override the contents of this collection use set_remove_gateway_load_balancer_arns
.
The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from your service configuration.
sourcepub fn set_remove_gateway_load_balancer_arns(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_remove_gateway_load_balancer_arns( self, input: Option<Vec<String>> ) -> Self
The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from your service configuration.
sourcepub fn get_remove_gateway_load_balancer_arns(&self) -> &Option<Vec<String>>
pub fn get_remove_gateway_load_balancer_arns(&self) -> &Option<Vec<String>>
The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from your service configuration.
sourcepub fn add_supported_ip_address_types(self, input: impl Into<String>) -> Self
pub fn add_supported_ip_address_types(self, input: impl Into<String>) -> Self
Appends an item to add_supported_ip_address_types
.
To override the contents of this collection use set_add_supported_ip_address_types
.
The IP address types to add to your service configuration.
sourcepub fn set_add_supported_ip_address_types(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_add_supported_ip_address_types( self, input: Option<Vec<String>> ) -> Self
The IP address types to add to your service configuration.
sourcepub fn get_add_supported_ip_address_types(&self) -> &Option<Vec<String>>
pub fn get_add_supported_ip_address_types(&self) -> &Option<Vec<String>>
The IP address types to add to your service configuration.
sourcepub fn remove_supported_ip_address_types(self, input: impl Into<String>) -> Self
pub fn remove_supported_ip_address_types(self, input: impl Into<String>) -> Self
Appends an item to remove_supported_ip_address_types
.
To override the contents of this collection use set_remove_supported_ip_address_types
.
The IP address types to remove from your service configuration.
sourcepub fn set_remove_supported_ip_address_types(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_remove_supported_ip_address_types( self, input: Option<Vec<String>> ) -> Self
The IP address types to remove from your service configuration.
sourcepub fn get_remove_supported_ip_address_types(&self) -> &Option<Vec<String>>
pub fn get_remove_supported_ip_address_types(&self) -> &Option<Vec<String>>
The IP address types to remove from your service configuration.
sourcepub fn build(
self
) -> Result<ModifyVpcEndpointServiceConfigurationInput, BuildError>
pub fn build( self ) -> Result<ModifyVpcEndpointServiceConfigurationInput, BuildError>
Consumes the builder and constructs a ModifyVpcEndpointServiceConfigurationInput
.
source§impl ModifyVpcEndpointServiceConfigurationInputBuilder
impl ModifyVpcEndpointServiceConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ModifyVpcEndpointServiceConfigurationOutput, SdkError<ModifyVpcEndpointServiceConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ModifyVpcEndpointServiceConfigurationOutput, SdkError<ModifyVpcEndpointServiceConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyVpcEndpointServiceConfigurationInputBuilder
impl Clone for ModifyVpcEndpointServiceConfigurationInputBuilder
source§fn clone(&self) -> ModifyVpcEndpointServiceConfigurationInputBuilder
fn clone(&self) -> ModifyVpcEndpointServiceConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ModifyVpcEndpointServiceConfigurationInputBuilder
impl Default for ModifyVpcEndpointServiceConfigurationInputBuilder
source§fn default() -> ModifyVpcEndpointServiceConfigurationInputBuilder
fn default() -> ModifyVpcEndpointServiceConfigurationInputBuilder
source§impl PartialEq<ModifyVpcEndpointServiceConfigurationInputBuilder> for ModifyVpcEndpointServiceConfigurationInputBuilder
impl PartialEq<ModifyVpcEndpointServiceConfigurationInputBuilder> for ModifyVpcEndpointServiceConfigurationInputBuilder
source§fn eq(&self, other: &ModifyVpcEndpointServiceConfigurationInputBuilder) -> bool
fn eq(&self, other: &ModifyVpcEndpointServiceConfigurationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.