#[non_exhaustive]pub struct IdNamespaceSummaryBuilder { /* private fields */ }
Expand description
A builder for IdNamespaceSummary
.
Implementations§
source§impl IdNamespaceSummaryBuilder
impl IdNamespaceSummaryBuilder
sourcepub fn id_namespace_name(self, input: impl Into<String>) -> Self
pub fn id_namespace_name(self, input: impl Into<String>) -> Self
The name of the ID namespace.
This field is required.sourcepub fn set_id_namespace_name(self, input: Option<String>) -> Self
pub fn set_id_namespace_name(self, input: Option<String>) -> Self
The name of the ID namespace.
sourcepub fn get_id_namespace_name(&self) -> &Option<String>
pub fn get_id_namespace_name(&self) -> &Option<String>
The name of the ID namespace.
sourcepub fn id_namespace_arn(self, input: impl Into<String>) -> Self
pub fn id_namespace_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the ID namespace.
This field is required.sourcepub fn set_id_namespace_arn(self, input: Option<String>) -> Self
pub fn set_id_namespace_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the ID namespace.
sourcepub fn get_id_namespace_arn(&self) -> &Option<String>
pub fn get_id_namespace_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the ID namespace.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the ID namespace.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the ID namespace.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the ID namespace.
sourcepub fn type(self, input: IdNamespaceType) -> Self
pub fn type(self, input: IdNamespaceType) -> Self
The type of ID namespace. There are two types: SOURCE
and TARGET
.
The SOURCE
contains configurations for sourceId
data that will be processed in an ID mapping workflow.
The TARGET
contains a configuration of targetId
to which all sourceIds
will resolve to.
sourcepub fn set_type(self, input: Option<IdNamespaceType>) -> Self
pub fn set_type(self, input: Option<IdNamespaceType>) -> Self
The type of ID namespace. There are two types: SOURCE
and TARGET
.
The SOURCE
contains configurations for sourceId
data that will be processed in an ID mapping workflow.
The TARGET
contains a configuration of targetId
to which all sourceIds
will resolve to.
sourcepub fn get_type(&self) -> &Option<IdNamespaceType>
pub fn get_type(&self) -> &Option<IdNamespaceType>
The type of ID namespace. There are two types: SOURCE
and TARGET
.
The SOURCE
contains configurations for sourceId
data that will be processed in an ID mapping workflow.
The TARGET
contains a configuration of targetId
to which all sourceIds
will resolve to.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp of when the ID namespace 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 ID namespace was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp of when the ID namespace was created.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The timestamp of when the ID namespace was last updated.
This field is required.sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The timestamp of when the ID namespace was last updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The timestamp of when the ID namespace was last updated.
sourcepub fn build(self) -> Result<IdNamespaceSummary, BuildError>
pub fn build(self) -> Result<IdNamespaceSummary, BuildError>
Consumes the builder and constructs a IdNamespaceSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for IdNamespaceSummaryBuilder
impl Clone for IdNamespaceSummaryBuilder
source§fn clone(&self) -> IdNamespaceSummaryBuilder
fn clone(&self) -> IdNamespaceSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IdNamespaceSummaryBuilder
impl Debug for IdNamespaceSummaryBuilder
source§impl Default for IdNamespaceSummaryBuilder
impl Default for IdNamespaceSummaryBuilder
source§fn default() -> IdNamespaceSummaryBuilder
fn default() -> IdNamespaceSummaryBuilder
source§impl PartialEq for IdNamespaceSummaryBuilder
impl PartialEq for IdNamespaceSummaryBuilder
source§fn eq(&self, other: &IdNamespaceSummaryBuilder) -> bool
fn eq(&self, other: &IdNamespaceSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IdNamespaceSummaryBuilder
Auto Trait Implementations§
impl Freeze for IdNamespaceSummaryBuilder
impl RefUnwindSafe for IdNamespaceSummaryBuilder
impl Send for IdNamespaceSummaryBuilder
impl Sync for IdNamespaceSummaryBuilder
impl Unpin for IdNamespaceSummaryBuilder
impl UnwindSafe for IdNamespaceSummaryBuilder
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