#[non_exhaustive]pub struct ListDomainItemBuilder { /* private fields */ }
Expand description
A builder for ListDomainItem
.
Implementations§
source§impl ListDomainItemBuilder
impl ListDomainItemBuilder
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The unique name of the domain.
This field is required.sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The unique name of the domain.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The unique name of the domain.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp of when the domain was created.
This field is required.sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The timestamp of when the domain was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp of when the domain was created.
sourcepub fn last_updated_at(self, input: DateTime) -> Self
pub fn last_updated_at(self, input: DateTime) -> Self
The timestamp of when the domain was most recently edited.
This field is required.sourcepub fn set_last_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_at(self, input: Option<DateTime>) -> Self
The timestamp of when the domain was most recently edited.
sourcepub fn get_last_updated_at(&self) -> &Option<DateTime>
pub fn get_last_updated_at(&self) -> &Option<DateTime>
The timestamp of when the domain was most recently edited.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags used to organize, track, or control access for this resource.
The tags used to organize, track, or control access for this resource.
The tags used to organize, track, or control access for this resource.
sourcepub fn build(self) -> Result<ListDomainItem, BuildError>
pub fn build(self) -> Result<ListDomainItem, BuildError>
Consumes the builder and constructs a ListDomainItem
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListDomainItemBuilder
impl Clone for ListDomainItemBuilder
source§fn clone(&self) -> ListDomainItemBuilder
fn clone(&self) -> ListDomainItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListDomainItemBuilder
impl Debug for ListDomainItemBuilder
source§impl Default for ListDomainItemBuilder
impl Default for ListDomainItemBuilder
source§fn default() -> ListDomainItemBuilder
fn default() -> ListDomainItemBuilder
source§impl PartialEq for ListDomainItemBuilder
impl PartialEq for ListDomainItemBuilder
source§fn eq(&self, other: &ListDomainItemBuilder) -> bool
fn eq(&self, other: &ListDomainItemBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListDomainItemBuilder
Auto Trait Implementations§
impl Freeze for ListDomainItemBuilder
impl RefUnwindSafe for ListDomainItemBuilder
impl Send for ListDomainItemBuilder
impl Sync for ListDomainItemBuilder
impl Unpin for ListDomainItemBuilder
impl UnwindSafe for ListDomainItemBuilder
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