#[non_exhaustive]pub struct AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails {
pub enable_resource_name_dns_aaaa_record: Option<bool>,
pub enable_resource_name_dns_a_record: Option<bool>,
pub hostname_type: Option<String>,
}
Expand description
Describes the options for Amazon EC2 instance hostnames.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.enable_resource_name_dns_aaaa_record: Option<bool>
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
enable_resource_name_dns_a_record: Option<bool>
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
hostname_type: Option<String>
The type of hostname for EC2 instances.
Implementations§
source§impl AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails
impl AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails
sourcepub fn enable_resource_name_dns_aaaa_record(&self) -> Option<bool>
pub fn enable_resource_name_dns_aaaa_record(&self) -> Option<bool>
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
sourcepub fn enable_resource_name_dns_a_record(&self) -> Option<bool>
pub fn enable_resource_name_dns_a_record(&self) -> Option<bool>
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
sourcepub fn hostname_type(&self) -> Option<&str>
pub fn hostname_type(&self) -> Option<&str>
The type of hostname for EC2 instances.
source§impl AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails
impl AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails
sourcepub fn builder() -> AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetailsBuilder
pub fn builder() -> AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetailsBuilder
Creates a new builder-style object to manufacture AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails
.
Trait Implementations§
source§impl Clone for AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails
impl Clone for AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails
source§fn clone(&self) -> AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails
fn clone(&self) -> AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails
impl PartialEq for AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails
source§fn eq(
&self,
other: &AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails
) -> bool
fn eq( &self, other: &AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails
Auto Trait Implementations§
impl RefUnwindSafe for AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails
impl Send for AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails
impl Sync for AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails
impl Unpin for AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails
impl UnwindSafe for AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.