#[non_exhaustive]pub struct UpdateAcceleratorInput {
pub accelerator_arn: Option<String>,
pub name: Option<String>,
pub ip_address_type: Option<IpAddressType>,
pub enabled: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.accelerator_arn: Option<String>
The Amazon Resource Name (ARN) of the accelerator to update.
name: Option<String>
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.
ip_address_type: Option<IpAddressType>
The IP address type that an accelerator supports. For a standard accelerator, the value can be IPV4 or DUAL_STACK.
enabled: Option<bool>
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.
Implementations§
source§impl UpdateAcceleratorInput
impl UpdateAcceleratorInput
sourcepub fn accelerator_arn(&self) -> Option<&str>
pub fn accelerator_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the accelerator to update.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
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) -> Option<&IpAddressType>
pub fn ip_address_type(&self) -> Option<&IpAddressType>
The IP address type that an accelerator supports. For a standard accelerator, the value can be IPV4 or DUAL_STACK.
source§impl UpdateAcceleratorInput
impl UpdateAcceleratorInput
sourcepub fn builder() -> UpdateAcceleratorInputBuilder
pub fn builder() -> UpdateAcceleratorInputBuilder
Creates a new builder-style object to manufacture UpdateAcceleratorInput
.
Trait Implementations§
source§impl Clone for UpdateAcceleratorInput
impl Clone for UpdateAcceleratorInput
source§fn clone(&self) -> UpdateAcceleratorInput
fn clone(&self) -> UpdateAcceleratorInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateAcceleratorInput
impl Debug for UpdateAcceleratorInput
source§impl PartialEq for UpdateAcceleratorInput
impl PartialEq for UpdateAcceleratorInput
source§fn eq(&self, other: &UpdateAcceleratorInput) -> bool
fn eq(&self, other: &UpdateAcceleratorInput) -> bool
self
and other
values to be equal, and is used
by ==
.