Struct aws_sdk_securityhub::model::AwsEc2SubnetDetails
source · [−]#[non_exhaustive]pub struct AwsEc2SubnetDetails { /* private fields */ }Expand description
Contains information about a subnet in Amazon EC2.
Implementations
sourceimpl AwsEc2SubnetDetails
impl AwsEc2SubnetDetails
sourcepub fn assign_ipv6_address_on_creation(&self) -> bool
pub fn assign_ipv6_address_on_creation(&self) -> bool
Whether to assign an IPV6 address to a network interface that is created in this subnet.
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone for the subnet.
sourcepub fn availability_zone_id(&self) -> Option<&str>
pub fn availability_zone_id(&self) -> Option<&str>
The identifier of the Availability Zone for the subnet.
sourcepub fn available_ip_address_count(&self) -> i32
pub fn available_ip_address_count(&self) -> i32
The number of available IPV4 addresses in the subnet. Does not include addresses for stopped instances.
sourcepub fn cidr_block(&self) -> Option<&str>
pub fn cidr_block(&self) -> Option<&str>
The IPV4 CIDR block that is assigned to the subnet.
sourcepub fn default_for_az(&self) -> bool
pub fn default_for_az(&self) -> bool
Whether this subnet is the default subnet for the Availability Zone.
sourcepub fn map_public_ip_on_launch(&self) -> bool
pub fn map_public_ip_on_launch(&self) -> bool
Whether instances in this subnet receive a public IP address.
sourcepub fn owner_id(&self) -> Option<&str>
pub fn owner_id(&self) -> Option<&str>
The identifier of the Amazon Web Services account that owns the subnet.
sourcepub fn state(&self) -> Option<&str>
pub fn state(&self) -> Option<&str>
The current state of the subnet. Valid values are available or pending.
sourcepub fn subnet_arn(&self) -> Option<&str>
pub fn subnet_arn(&self) -> Option<&str>
The ARN of the subnet.
sourcepub fn ipv6_cidr_block_association_set(
&self
) -> Option<&[Ipv6CidrBlockAssociation]>
pub fn ipv6_cidr_block_association_set(
&self
) -> Option<&[Ipv6CidrBlockAssociation]>
The IPV6 CIDR blocks that are associated with the subnet.
sourceimpl AwsEc2SubnetDetails
impl AwsEc2SubnetDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsEc2SubnetDetails.
Trait Implementations
sourceimpl Clone for AwsEc2SubnetDetails
impl Clone for AwsEc2SubnetDetails
sourcefn clone(&self) -> AwsEc2SubnetDetails
fn clone(&self) -> AwsEc2SubnetDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AwsEc2SubnetDetails
impl Debug for AwsEc2SubnetDetails
sourceimpl PartialEq<AwsEc2SubnetDetails> for AwsEc2SubnetDetails
impl PartialEq<AwsEc2SubnetDetails> for AwsEc2SubnetDetails
sourcefn eq(&self, other: &AwsEc2SubnetDetails) -> bool
fn eq(&self, other: &AwsEc2SubnetDetails) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for AwsEc2SubnetDetails
Auto Trait Implementations
impl RefUnwindSafe for AwsEc2SubnetDetails
impl Send for AwsEc2SubnetDetails
impl Sync for AwsEc2SubnetDetails
impl Unpin for AwsEc2SubnetDetails
impl UnwindSafe for AwsEc2SubnetDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more