pub struct Builder { /* private fields */ }
Expand description
A builder for ModifyVpcEndpointServiceConfigurationInput
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 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 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 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 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 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 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 build(
self
) -> Result<ModifyVpcEndpointServiceConfigurationInput, BuildError>
pub fn build(
self
) -> Result<ModifyVpcEndpointServiceConfigurationInput, BuildError>
Consumes the builder and constructs a ModifyVpcEndpointServiceConfigurationInput
.