#[non_exhaustive]pub struct CreateDefaultSubnetInput {
pub availability_zone: Option<String>,
pub dry_run: Option<bool>,
pub ipv6_native: 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.availability_zone: Option<String>
The Availability Zone in which to create the default subnet.
dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
ipv6_native: Option<bool>
Indicates whether to create an IPv6 only subnet. If you already have a default subnet for this Availability Zone, you must delete it before you can create an IPv6 only subnet.
Implementations§
source§impl CreateDefaultSubnetInput
impl CreateDefaultSubnetInput
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone in which to create the default subnet.
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn ipv6_native(&self) -> Option<bool>
pub fn ipv6_native(&self) -> Option<bool>
Indicates whether to create an IPv6 only subnet. If you already have a default subnet for this Availability Zone, you must delete it before you can create an IPv6 only subnet.
source§impl CreateDefaultSubnetInput
impl CreateDefaultSubnetInput
sourcepub fn builder() -> CreateDefaultSubnetInputBuilder
pub fn builder() -> CreateDefaultSubnetInputBuilder
Creates a new builder-style object to manufacture CreateDefaultSubnetInput
.
Trait Implementations§
source§impl Clone for CreateDefaultSubnetInput
impl Clone for CreateDefaultSubnetInput
source§fn clone(&self) -> CreateDefaultSubnetInput
fn clone(&self) -> CreateDefaultSubnetInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateDefaultSubnetInput
impl Debug for CreateDefaultSubnetInput
source§impl PartialEq<CreateDefaultSubnetInput> for CreateDefaultSubnetInput
impl PartialEq<CreateDefaultSubnetInput> for CreateDefaultSubnetInput
source§fn eq(&self, other: &CreateDefaultSubnetInput) -> bool
fn eq(&self, other: &CreateDefaultSubnetInput) -> bool
self
and other
values to be equal, and is used
by ==
.