#[non_exhaustive]pub struct PrivateDnsNameConfigurationBuilder { /* private fields */ }
Expand description
A builder for PrivateDnsNameConfiguration
.
Implementations§
source§impl PrivateDnsNameConfigurationBuilder
impl PrivateDnsNameConfigurationBuilder
sourcepub fn state(self, input: DnsNameState) -> Self
pub fn state(self, input: DnsNameState) -> Self
The verification state of the VPC endpoint service.
>Consumers of the endpoint service can use the private name only when the state is verified
.
sourcepub fn set_state(self, input: Option<DnsNameState>) -> Self
pub fn set_state(self, input: Option<DnsNameState>) -> Self
The verification state of the VPC endpoint service.
>Consumers of the endpoint service can use the private name only when the state is verified
.
sourcepub fn get_state(&self) -> &Option<DnsNameState>
pub fn get_state(&self) -> &Option<DnsNameState>
The verification state of the VPC endpoint service.
>Consumers of the endpoint service can use the private name only when the state is verified
.
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The endpoint service verification type, for example TXT.
sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
The endpoint service verification type, for example TXT.
sourcepub fn get_type(&self) -> &Option<String>
pub fn get_type(&self) -> &Option<String>
The endpoint service verification type, for example TXT.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
The value the service provider adds to the private DNS name domain record before verification.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
The value the service provider adds to the private DNS name domain record before verification.
sourcepub fn get_value(&self) -> &Option<String>
pub fn get_value(&self) -> &Option<String>
The value the service provider adds to the private DNS name domain record before verification.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the record subdomain the service provider needs to create. The service provider adds the value
text to the name
.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the record subdomain the service provider needs to create. The service provider adds the value
text to the name
.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the record subdomain the service provider needs to create. The service provider adds the value
text to the name
.
sourcepub fn build(self) -> PrivateDnsNameConfiguration
pub fn build(self) -> PrivateDnsNameConfiguration
Consumes the builder and constructs a PrivateDnsNameConfiguration
.
Trait Implementations§
source§impl Clone for PrivateDnsNameConfigurationBuilder
impl Clone for PrivateDnsNameConfigurationBuilder
source§fn clone(&self) -> PrivateDnsNameConfigurationBuilder
fn clone(&self) -> PrivateDnsNameConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PrivateDnsNameConfigurationBuilder
impl Default for PrivateDnsNameConfigurationBuilder
source§fn default() -> PrivateDnsNameConfigurationBuilder
fn default() -> PrivateDnsNameConfigurationBuilder
source§impl PartialEq for PrivateDnsNameConfigurationBuilder
impl PartialEq for PrivateDnsNameConfigurationBuilder
source§fn eq(&self, other: &PrivateDnsNameConfigurationBuilder) -> bool
fn eq(&self, other: &PrivateDnsNameConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PrivateDnsNameConfigurationBuilder
Auto Trait Implementations§
impl Freeze for PrivateDnsNameConfigurationBuilder
impl RefUnwindSafe for PrivateDnsNameConfigurationBuilder
impl Send for PrivateDnsNameConfigurationBuilder
impl Sync for PrivateDnsNameConfigurationBuilder
impl Unpin for PrivateDnsNameConfigurationBuilder
impl UnwindSafe for PrivateDnsNameConfigurationBuilder
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