Struct aws_sdk_finspace::types::builders::CustomDnsServerBuilder
source · #[non_exhaustive]pub struct CustomDnsServerBuilder { /* private fields */ }Expand description
A builder for CustomDnsServer.
Implementations§
source§impl CustomDnsServerBuilder
impl CustomDnsServerBuilder
sourcepub fn custom_dns_server_name(self, input: impl Into<String>) -> Self
pub fn custom_dns_server_name(self, input: impl Into<String>) -> Self
The name of the DNS server.
This field is required.sourcepub fn set_custom_dns_server_name(self, input: Option<String>) -> Self
pub fn set_custom_dns_server_name(self, input: Option<String>) -> Self
The name of the DNS server.
sourcepub fn get_custom_dns_server_name(&self) -> &Option<String>
pub fn get_custom_dns_server_name(&self) -> &Option<String>
The name of the DNS server.
sourcepub fn custom_dns_server_ip(self, input: impl Into<String>) -> Self
pub fn custom_dns_server_ip(self, input: impl Into<String>) -> Self
The IP address of the DNS server.
This field is required.sourcepub fn set_custom_dns_server_ip(self, input: Option<String>) -> Self
pub fn set_custom_dns_server_ip(self, input: Option<String>) -> Self
The IP address of the DNS server.
sourcepub fn get_custom_dns_server_ip(&self) -> &Option<String>
pub fn get_custom_dns_server_ip(&self) -> &Option<String>
The IP address of the DNS server.
sourcepub fn build(self) -> Result<CustomDnsServer, BuildError>
pub fn build(self) -> Result<CustomDnsServer, BuildError>
Consumes the builder and constructs a CustomDnsServer.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CustomDnsServerBuilder
impl Clone for CustomDnsServerBuilder
source§fn clone(&self) -> CustomDnsServerBuilder
fn clone(&self) -> CustomDnsServerBuilder
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 CustomDnsServerBuilder
impl Debug for CustomDnsServerBuilder
source§impl Default for CustomDnsServerBuilder
impl Default for CustomDnsServerBuilder
source§fn default() -> CustomDnsServerBuilder
fn default() -> CustomDnsServerBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CustomDnsServerBuilder
impl PartialEq for CustomDnsServerBuilder
source§fn eq(&self, other: &CustomDnsServerBuilder) -> bool
fn eq(&self, other: &CustomDnsServerBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CustomDnsServerBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CustomDnsServerBuilder
impl Send for CustomDnsServerBuilder
impl Sync for CustomDnsServerBuilder
impl Unpin for CustomDnsServerBuilder
impl UnwindSafe for CustomDnsServerBuilder
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.