Struct aws_sdk_globalaccelerator::client::fluent_builders::UpdateCustomRoutingAccelerator
source · [−]pub struct UpdateCustomRoutingAccelerator { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateCustomRoutingAccelerator.
Update a custom routing accelerator.
Implementations
sourceimpl UpdateCustomRoutingAccelerator
impl UpdateCustomRoutingAccelerator
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateCustomRoutingAccelerator, AwsResponseRetryClassifier>, SdkError<UpdateCustomRoutingAcceleratorError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateCustomRoutingAccelerator, AwsResponseRetryClassifier>, SdkError<UpdateCustomRoutingAcceleratorError>>
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<UpdateCustomRoutingAcceleratorOutput, SdkError<UpdateCustomRoutingAcceleratorError>>
pub async fn send(
self
) -> Result<UpdateCustomRoutingAcceleratorOutput, SdkError<UpdateCustomRoutingAcceleratorError>>
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 accelerator_arn(self, input: impl Into<String>) -> Self
pub fn accelerator_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the accelerator to update.
sourcepub fn set_accelerator_arn(self, input: Option<String>) -> Self
pub fn set_accelerator_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the accelerator to update.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the accelerator. The name can have a maximum of 64 characters, must contain only alphanumeric characters, periods (.), or hyphens (-), and must not begin or end with a hyphen or period.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the accelerator. The name can have a maximum of 64 characters, must contain only alphanumeric characters, periods (.), or hyphens (-), and must not begin or end with a hyphen or period.
sourcepub fn ip_address_type(self, input: IpAddressType) -> Self
pub fn ip_address_type(self, input: IpAddressType) -> Self
The IP address type that an accelerator supports. For a custom routing accelerator, the value must be IPV4.
sourcepub fn set_ip_address_type(self, input: Option<IpAddressType>) -> Self
pub fn set_ip_address_type(self, input: Option<IpAddressType>) -> Self
The IP address type that an accelerator supports. For a custom routing accelerator, the value must be IPV4.
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
Indicates whether an accelerator is enabled. The value is true or false. The default value is true.
If the value is set to true, the accelerator cannot be deleted. If set to false, the accelerator can be deleted.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Indicates whether an accelerator is enabled. The value is true or false. The default value is true.
If the value is set to true, the accelerator cannot be deleted. If set to false, the accelerator can be deleted.
Trait Implementations
sourceimpl Clone for UpdateCustomRoutingAccelerator
impl Clone for UpdateCustomRoutingAccelerator
sourcefn clone(&self) -> UpdateCustomRoutingAccelerator
fn clone(&self) -> UpdateCustomRoutingAccelerator
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more