#[non_exhaustive]pub struct ListProfileObjectTypeItemBuilder { /* private fields */ }
Expand description
A builder for ListProfileObjectTypeItem
.
Implementations§
source§impl ListProfileObjectTypeItemBuilder
impl ListProfileObjectTypeItemBuilder
sourcepub fn object_type_name(self, input: impl Into<String>) -> Self
pub fn object_type_name(self, input: impl Into<String>) -> Self
The name of the profile object type.
This field is required.sourcepub fn set_object_type_name(self, input: Option<String>) -> Self
pub fn set_object_type_name(self, input: Option<String>) -> Self
The name of the profile object type.
sourcepub fn get_object_type_name(&self) -> &Option<String>
pub fn get_object_type_name(&self) -> &Option<String>
The name of the profile object type.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Description of the profile object type.
This field is required.sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Description of the profile object type.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Description of the profile object type.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp of when the domain was created.
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.
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<ListProfileObjectTypeItem, BuildError>
pub fn build(self) -> Result<ListProfileObjectTypeItem, BuildError>
Consumes the builder and constructs a ListProfileObjectTypeItem
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListProfileObjectTypeItemBuilder
impl Clone for ListProfileObjectTypeItemBuilder
source§fn clone(&self) -> ListProfileObjectTypeItemBuilder
fn clone(&self) -> ListProfileObjectTypeItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListProfileObjectTypeItemBuilder
impl Default for ListProfileObjectTypeItemBuilder
source§fn default() -> ListProfileObjectTypeItemBuilder
fn default() -> ListProfileObjectTypeItemBuilder
source§impl PartialEq for ListProfileObjectTypeItemBuilder
impl PartialEq for ListProfileObjectTypeItemBuilder
source§fn eq(&self, other: &ListProfileObjectTypeItemBuilder) -> bool
fn eq(&self, other: &ListProfileObjectTypeItemBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListProfileObjectTypeItemBuilder
Auto Trait Implementations§
impl Freeze for ListProfileObjectTypeItemBuilder
impl RefUnwindSafe for ListProfileObjectTypeItemBuilder
impl Send for ListProfileObjectTypeItemBuilder
impl Sync for ListProfileObjectTypeItemBuilder
impl Unpin for ListProfileObjectTypeItemBuilder
impl UnwindSafe for ListProfileObjectTypeItemBuilder
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