Struct aws_sdk_apigatewayv2::types::DomainName
source · #[non_exhaustive]pub struct DomainName {
pub api_mapping_selection_expression: Option<String>,
pub domain_name: Option<String>,
pub domain_name_configurations: Option<Vec<DomainNameConfiguration>>,
pub mutual_tls_authentication: Option<MutualTlsAuthentication>,
pub tags: Option<HashMap<String, String>>,
}
Expand description
Represents a domain name.
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.api_mapping_selection_expression: Option<String>
The API mapping selection expression.
domain_name: Option<String>
The name of the DomainName resource.
domain_name_configurations: Option<Vec<DomainNameConfiguration>>
The domain name configurations.
mutual_tls_authentication: Option<MutualTlsAuthentication>
The mutual TLS authentication configuration for a custom domain name.
The collection of tags associated with a domain name.
Implementations§
source§impl DomainName
impl DomainName
sourcepub fn api_mapping_selection_expression(&self) -> Option<&str>
pub fn api_mapping_selection_expression(&self) -> Option<&str>
The API mapping selection expression.
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The name of the DomainName resource.
sourcepub fn domain_name_configurations(&self) -> &[DomainNameConfiguration]
pub fn domain_name_configurations(&self) -> &[DomainNameConfiguration]
The domain name configurations.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .domain_name_configurations.is_none()
.
sourcepub fn mutual_tls_authentication(&self) -> Option<&MutualTlsAuthentication>
pub fn mutual_tls_authentication(&self) -> Option<&MutualTlsAuthentication>
The mutual TLS authentication configuration for a custom domain name.
The collection of tags associated with a domain name.
source§impl DomainName
impl DomainName
sourcepub fn builder() -> DomainNameBuilder
pub fn builder() -> DomainNameBuilder
Creates a new builder-style object to manufacture DomainName
.
Trait Implementations§
source§impl Clone for DomainName
impl Clone for DomainName
source§fn clone(&self) -> DomainName
fn clone(&self) -> DomainName
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 Debug for DomainName
impl Debug for DomainName
source§impl PartialEq for DomainName
impl PartialEq for DomainName
source§fn eq(&self, other: &DomainName) -> bool
fn eq(&self, other: &DomainName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DomainName
Auto Trait Implementations§
impl RefUnwindSafe for DomainName
impl Send for DomainName
impl Sync for DomainName
impl Unpin for DomainName
impl UnwindSafe for DomainName
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.