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:
-
It's faster, because Global Accelerator only has to resolve the new endpoints that you're adding.
-
It's more convenient, because you don't need to specify all of the current endpoints that are already in the endpoint group in addition to the new endpoints that you want to add.
Implementations§
source§impl AddEndpointsFluentBuilder
impl AddEndpointsFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<AddEndpoints, AwsResponseRetryClassifier>, SdkError<AddEndpointsError>>
pub async fn customize( self ) -> Result<CustomizableOperation<AddEndpoints, AwsResponseRetryClassifier>, SdkError<AddEndpointsError>>
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<AddEndpointsOutput, SdkError<AddEndpointsError>>
pub async fn send( self ) -> Result<AddEndpointsOutput, SdkError<AddEndpointsError>>
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 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 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.
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