Struct aws_sdk_route53resolver::operation::update_resolver_endpoint::builders::UpdateResolverEndpointFluentBuilder
source · pub struct UpdateResolverEndpointFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateResolverEndpoint.
Updates the name, or enpoint type for an inbound or an outbound Resolver endpoint. You can only update between IPV4 and DUALSTACK, IPV6 endpoint type can't be updated to other type.
Implementations§
source§impl UpdateResolverEndpointFluentBuilder
impl UpdateResolverEndpointFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateResolverEndpoint, AwsResponseRetryClassifier>, SdkError<UpdateResolverEndpointError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateResolverEndpoint, AwsResponseRetryClassifier>, SdkError<UpdateResolverEndpointError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateResolverEndpointOutput, SdkError<UpdateResolverEndpointError>>
pub async fn send( self ) -> Result<UpdateResolverEndpointOutput, SdkError<UpdateResolverEndpointError>>
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 resolver_endpoint_id(self, input: impl Into<String>) -> Self
pub fn resolver_endpoint_id(self, input: impl Into<String>) -> Self
The ID of the Resolver endpoint that you want to update.
sourcepub fn set_resolver_endpoint_id(self, input: Option<String>) -> Self
pub fn set_resolver_endpoint_id(self, input: Option<String>) -> Self
The ID of the Resolver endpoint that you want to update.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the Resolver endpoint that you want to update.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the Resolver endpoint that you want to update.
sourcepub fn resolver_endpoint_type(self, input: ResolverEndpointType) -> Self
pub fn resolver_endpoint_type(self, input: ResolverEndpointType) -> Self
Specifies the endpoint type for what type of IP address the endpoint uses to forward DNS queries.
sourcepub fn set_resolver_endpoint_type(
self,
input: Option<ResolverEndpointType>
) -> Self
pub fn set_resolver_endpoint_type( self, input: Option<ResolverEndpointType> ) -> Self
Specifies the endpoint type for what type of IP address the endpoint uses to forward DNS queries.
sourcepub fn update_ip_addresses(self, input: UpdateIpAddress) -> Self
pub fn update_ip_addresses(self, input: UpdateIpAddress) -> Self
Appends an item to UpdateIpAddresses.
To override the contents of this collection use set_update_ip_addresses.
Updates the Resolver endpoint type to IpV4, Ipv6, or dual-stack.
sourcepub fn set_update_ip_addresses(
self,
input: Option<Vec<UpdateIpAddress>>
) -> Self
pub fn set_update_ip_addresses( self, input: Option<Vec<UpdateIpAddress>> ) -> Self
Updates the Resolver endpoint type to IpV4, Ipv6, or dual-stack.
Trait Implementations§
source§impl Clone for UpdateResolverEndpointFluentBuilder
impl Clone for UpdateResolverEndpointFluentBuilder
source§fn clone(&self) -> UpdateResolverEndpointFluentBuilder
fn clone(&self) -> UpdateResolverEndpointFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more