#[non_exhaustive]pub struct SetIpAddressTypeInput {
pub resource_type: Option<ResourceType>,
pub resource_name: Option<String>,
pub ip_address_type: Option<IpAddressType>,
pub accept_bundle_update: 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.resource_type: Option<ResourceType>
The resource type.
The resource values are Distribution
, Instance
, and LoadBalancer
.
Distribution-related APIs are available only in the N. Virginia (us-east-1
) Amazon Web Services Region. Set your Amazon Web Services Region configuration to us-east-1
to create, view, or edit distributions.
resource_name: Option<String>
The name of the resource for which to set the IP address type.
ip_address_type: Option<IpAddressType>
The IP address type to set for the specified resource.
The possible values are ipv4
for IPv4 only, ipv6
for IPv6 only, and dualstack
for IPv4 and IPv6.
accept_bundle_update: Option<bool>
Required parameter to accept the instance bundle update when changing to, and from, IPv6-only.
An instance bundle will change when switching from dual-stack
or ipv4
, to ipv6
. It also changes when switching from ipv6
, to dual-stack
or ipv4
.
You must include this parameter in the command to update the bundle. For example, if you switch from dual-stack
to ipv6
, the bundle will be updated, and billing for the IPv6-only instance bundle begins immediately.
Implementations§
source§impl SetIpAddressTypeInput
impl SetIpAddressTypeInput
sourcepub fn resource_type(&self) -> Option<&ResourceType>
pub fn resource_type(&self) -> Option<&ResourceType>
The resource type.
The resource values are Distribution
, Instance
, and LoadBalancer
.
Distribution-related APIs are available only in the N. Virginia (us-east-1
) Amazon Web Services Region. Set your Amazon Web Services Region configuration to us-east-1
to create, view, or edit distributions.
sourcepub fn resource_name(&self) -> Option<&str>
pub fn resource_name(&self) -> Option<&str>
The name of the resource for which to set the IP address type.
sourcepub fn ip_address_type(&self) -> Option<&IpAddressType>
pub fn ip_address_type(&self) -> Option<&IpAddressType>
The IP address type to set for the specified resource.
The possible values are ipv4
for IPv4 only, ipv6
for IPv6 only, and dualstack
for IPv4 and IPv6.
sourcepub fn accept_bundle_update(&self) -> Option<bool>
pub fn accept_bundle_update(&self) -> Option<bool>
Required parameter to accept the instance bundle update when changing to, and from, IPv6-only.
An instance bundle will change when switching from dual-stack
or ipv4
, to ipv6
. It also changes when switching from ipv6
, to dual-stack
or ipv4
.
You must include this parameter in the command to update the bundle. For example, if you switch from dual-stack
to ipv6
, the bundle will be updated, and billing for the IPv6-only instance bundle begins immediately.
source§impl SetIpAddressTypeInput
impl SetIpAddressTypeInput
sourcepub fn builder() -> SetIpAddressTypeInputBuilder
pub fn builder() -> SetIpAddressTypeInputBuilder
Creates a new builder-style object to manufacture SetIpAddressTypeInput
.
Trait Implementations§
source§impl Clone for SetIpAddressTypeInput
impl Clone for SetIpAddressTypeInput
source§fn clone(&self) -> SetIpAddressTypeInput
fn clone(&self) -> SetIpAddressTypeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SetIpAddressTypeInput
impl Debug for SetIpAddressTypeInput
source§impl PartialEq for SetIpAddressTypeInput
impl PartialEq for SetIpAddressTypeInput
source§fn eq(&self, other: &SetIpAddressTypeInput) -> bool
fn eq(&self, other: &SetIpAddressTypeInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SetIpAddressTypeInput
Auto Trait Implementations§
impl Freeze for SetIpAddressTypeInput
impl RefUnwindSafe for SetIpAddressTypeInput
impl Send for SetIpAddressTypeInput
impl Sync for SetIpAddressTypeInput
impl Unpin for SetIpAddressTypeInput
impl UnwindSafe for SetIpAddressTypeInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more