Struct aws_sdk_ec2::operation::modify_vpc_endpoint_service_configuration::builders::ModifyVpcEndpointServiceConfigurationFluentBuilder
source · pub struct ModifyVpcEndpointServiceConfigurationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ModifyVpcEndpointServiceConfiguration
.
Modifies the attributes of your VPC endpoint service configuration. You can change the Network Load Balancers or Gateway Load Balancers for your service, and you can specify whether acceptance is required for requests to connect to your endpoint service through an interface VPC endpoint.
If you set or modify the private DNS name, you must prove that you own the private DNS domain name.
Implementations§
source§impl ModifyVpcEndpointServiceConfigurationFluentBuilder
impl ModifyVpcEndpointServiceConfigurationFluentBuilder
sourcepub fn as_input(&self) -> &ModifyVpcEndpointServiceConfigurationInputBuilder
pub fn as_input(&self) -> &ModifyVpcEndpointServiceConfigurationInputBuilder
Access the ModifyVpcEndpointServiceConfiguration as a reference.
sourcepub async fn send(
self
) -> Result<ModifyVpcEndpointServiceConfigurationOutput, SdkError<ModifyVpcEndpointServiceConfigurationError, HttpResponse>>
pub async fn send( self ) -> Result<ModifyVpcEndpointServiceConfigurationOutput, SdkError<ModifyVpcEndpointServiceConfigurationError, 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 async fn customize(
self
) -> Result<CustomizableOperation<ModifyVpcEndpointServiceConfigurationOutput, ModifyVpcEndpointServiceConfigurationError>, SdkError<ModifyVpcEndpointServiceConfigurationError>>
pub async fn customize( self ) -> Result<CustomizableOperation<ModifyVpcEndpointServiceConfigurationOutput, ModifyVpcEndpointServiceConfigurationError>, SdkError<ModifyVpcEndpointServiceConfigurationError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 AddNetworkLoadBalancerArns
.
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 RemoveNetworkLoadBalancerArns
.
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 AddGatewayLoadBalancerArns
.
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 RemoveGatewayLoadBalancerArns
.
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 AddSupportedIpAddressTypes
.
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 RemoveSupportedIpAddressTypes
.
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.
Trait Implementations§
source§impl Clone for ModifyVpcEndpointServiceConfigurationFluentBuilder
impl Clone for ModifyVpcEndpointServiceConfigurationFluentBuilder
source§fn clone(&self) -> ModifyVpcEndpointServiceConfigurationFluentBuilder
fn clone(&self) -> ModifyVpcEndpointServiceConfigurationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more