Struct aws_sdk_globalaccelerator::operation::remove_endpoints::builders::RemoveEndpointsFluentBuilder
source · pub struct RemoveEndpointsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to RemoveEndpoints
.
Remove endpoints from an endpoint group.
The RemoveEndpoints
API operation is the recommended option for removing endpoints. The alternative is to remove endpoints by updating an endpoint group by using the UpdateEndpointGroup API operation. There are two advantages to using AddEndpoints
to remove endpoints instead:
-
It's more convenient, because you only need to specify the endpoints that you want to remove. With the
UpdateEndpointGroup
API operation, you must specify all of the endpoints in the endpoint group except the ones that you want to remove from the group. -
It's faster, because Global Accelerator doesn't need to resolve any endpoints. With the
UpdateEndpointGroup
API operation, Global Accelerator must resolve all of the endpoints that remain in the group.
Implementations§
source§impl RemoveEndpointsFluentBuilder
impl RemoveEndpointsFluentBuilder
sourcepub fn as_input(&self) -> &RemoveEndpointsInputBuilder
pub fn as_input(&self) -> &RemoveEndpointsInputBuilder
Access the RemoveEndpoints as a reference.
sourcepub async fn send(
self
) -> Result<RemoveEndpointsOutput, SdkError<RemoveEndpointsError, HttpResponse>>
pub async fn send( self ) -> Result<RemoveEndpointsOutput, SdkError<RemoveEndpointsError, 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 fn customize(
self
) -> CustomizableOperation<RemoveEndpointsOutput, RemoveEndpointsError, Self>
pub fn customize( self ) -> CustomizableOperation<RemoveEndpointsOutput, RemoveEndpointsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn endpoint_identifiers(self, input: EndpointIdentifier) -> Self
pub fn endpoint_identifiers(self, input: EndpointIdentifier) -> Self
Appends an item to EndpointIdentifiers
.
To override the contents of this collection use set_endpoint_identifiers
.
The identifiers of the endpoints that you want to remove.
sourcepub fn set_endpoint_identifiers(
self,
input: Option<Vec<EndpointIdentifier>>
) -> Self
pub fn set_endpoint_identifiers( self, input: Option<Vec<EndpointIdentifier>> ) -> Self
The identifiers of the endpoints that you want to remove.
sourcepub fn get_endpoint_identifiers(&self) -> &Option<Vec<EndpointIdentifier>>
pub fn get_endpoint_identifiers(&self) -> &Option<Vec<EndpointIdentifier>>
The identifiers of the endpoints that you want to remove.
sourcepub fn endpoint_group_arn(self, input: impl Into<String>) -> Self
pub fn endpoint_group_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the endpoint group.
sourcepub fn set_endpoint_group_arn(self, input: Option<String>) -> Self
pub fn set_endpoint_group_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the endpoint group.
sourcepub fn get_endpoint_group_arn(&self) -> &Option<String>
pub fn get_endpoint_group_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the endpoint group.
Trait Implementations§
source§impl Clone for RemoveEndpointsFluentBuilder
impl Clone for RemoveEndpointsFluentBuilder
source§fn clone(&self) -> RemoveEndpointsFluentBuilder
fn clone(&self) -> RemoveEndpointsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more