Struct aws_sdk_sesv2::types::builders::SoaRecordBuilder
source · #[non_exhaustive]pub struct SoaRecordBuilder { /* private fields */ }
Expand description
A builder for SoaRecord
.
Implementations§
source§impl SoaRecordBuilder
impl SoaRecordBuilder
sourcepub fn primary_name_server(self, input: impl Into<String>) -> Self
pub fn primary_name_server(self, input: impl Into<String>) -> Self
Primary name server specified in the SOA record.
sourcepub fn set_primary_name_server(self, input: Option<String>) -> Self
pub fn set_primary_name_server(self, input: Option<String>) -> Self
Primary name server specified in the SOA record.
sourcepub fn get_primary_name_server(&self) -> &Option<String>
pub fn get_primary_name_server(&self) -> &Option<String>
Primary name server specified in the SOA record.
sourcepub fn admin_email(self, input: impl Into<String>) -> Self
pub fn admin_email(self, input: impl Into<String>) -> Self
Administrative contact email from the SOA record.
sourcepub fn set_admin_email(self, input: Option<String>) -> Self
pub fn set_admin_email(self, input: Option<String>) -> Self
Administrative contact email from the SOA record.
sourcepub fn get_admin_email(&self) -> &Option<String>
pub fn get_admin_email(&self) -> &Option<String>
Administrative contact email from the SOA record.
sourcepub fn serial_number(self, input: i64) -> Self
pub fn serial_number(self, input: i64) -> Self
Serial number from the SOA record.
sourcepub fn set_serial_number(self, input: Option<i64>) -> Self
pub fn set_serial_number(self, input: Option<i64>) -> Self
Serial number from the SOA record.
sourcepub fn get_serial_number(&self) -> &Option<i64>
pub fn get_serial_number(&self) -> &Option<i64>
Serial number from the SOA record.
Trait Implementations§
source§impl Clone for SoaRecordBuilder
impl Clone for SoaRecordBuilder
source§fn clone(&self) -> SoaRecordBuilder
fn clone(&self) -> SoaRecordBuilder
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 SoaRecordBuilder
impl Debug for SoaRecordBuilder
source§impl Default for SoaRecordBuilder
impl Default for SoaRecordBuilder
source§fn default() -> SoaRecordBuilder
fn default() -> SoaRecordBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SoaRecordBuilder
impl PartialEq for SoaRecordBuilder
source§fn eq(&self, other: &SoaRecordBuilder) -> bool
fn eq(&self, other: &SoaRecordBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SoaRecordBuilder
Auto Trait Implementations§
impl Freeze for SoaRecordBuilder
impl RefUnwindSafe for SoaRecordBuilder
impl Send for SoaRecordBuilder
impl Sync for SoaRecordBuilder
impl Unpin for SoaRecordBuilder
impl UnwindSafe for SoaRecordBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.