Struct aws_sdk_globalaccelerator::operation::add_endpoints::builders::AddEndpointsFluentBuilder
source · pub struct AddEndpointsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to AddEndpoints
.
Add endpoints to an endpoint group. The AddEndpoints
API operation is the recommended option for adding endpoints. The alternative options are to add endpoints when you create an endpoint group (with the CreateEndpointGroup API) or when you update an endpoint group (with the UpdateEndpointGroup API).
There are two advantages to using AddEndpoints
to add endpoints in Global Accelerator:
-
It's faster, because Global Accelerator only has to resolve the new endpoints that you're adding, rather than resolving new and existing endpoints.
-
It's more convenient, because you don't need to specify the current endpoints that are already in the endpoint group, in addition to the new endpoints that you want to add.
For information about endpoint types and requirements for endpoints that you can add to Global Accelerator, see Endpoints for standard accelerators in the Global Accelerator Developer Guide.
Implementations§
source§impl AddEndpointsFluentBuilder
impl AddEndpointsFluentBuilder
sourcepub fn as_input(&self) -> &AddEndpointsInputBuilder
pub fn as_input(&self) -> &AddEndpointsInputBuilder
Access the AddEndpoints as a reference.
sourcepub async fn send(
self
) -> Result<AddEndpointsOutput, SdkError<AddEndpointsError, HttpResponse>>
pub async fn send( self ) -> Result<AddEndpointsOutput, SdkError<AddEndpointsError, 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<AddEndpointsOutput, AddEndpointsError, Self>
pub fn customize( self ) -> CustomizableOperation<AddEndpointsOutput, AddEndpointsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn endpoint_configurations(self, input: EndpointConfiguration) -> Self
pub fn endpoint_configurations(self, input: EndpointConfiguration) -> Self
Appends an item to EndpointConfigurations
.
To override the contents of this collection use set_endpoint_configurations
.
The list of endpoint objects.
sourcepub fn set_endpoint_configurations(
self,
input: Option<Vec<EndpointConfiguration>>
) -> Self
pub fn set_endpoint_configurations( self, input: Option<Vec<EndpointConfiguration>> ) -> Self
The list of endpoint objects.
sourcepub fn get_endpoint_configurations(&self) -> &Option<Vec<EndpointConfiguration>>
pub fn get_endpoint_configurations(&self) -> &Option<Vec<EndpointConfiguration>>
The list of endpoint objects.
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 AddEndpointsFluentBuilder
impl Clone for AddEndpointsFluentBuilder
source§fn clone(&self) -> AddEndpointsFluentBuilder
fn clone(&self) -> AddEndpointsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more