Struct aws_sdk_customerprofiles::operation::get_profile_object_type_template::builders::GetProfileObjectTypeTemplateOutputBuilder
source · #[non_exhaustive]pub struct GetProfileObjectTypeTemplateOutputBuilder { /* private fields */ }
Expand description
A builder for GetProfileObjectTypeTemplateOutput
.
Implementations§
source§impl GetProfileObjectTypeTemplateOutputBuilder
impl GetProfileObjectTypeTemplateOutputBuilder
sourcepub fn template_id(self, input: impl Into<String>) -> Self
pub fn template_id(self, input: impl Into<String>) -> Self
A unique identifier for the object template.
sourcepub fn set_template_id(self, input: Option<String>) -> Self
pub fn set_template_id(self, input: Option<String>) -> Self
A unique identifier for the object template.
sourcepub fn get_template_id(&self) -> &Option<String>
pub fn get_template_id(&self) -> &Option<String>
A unique identifier for the object template.
sourcepub fn source_name(self, input: impl Into<String>) -> Self
pub fn source_name(self, input: impl Into<String>) -> Self
The name of the source of the object template.
sourcepub fn set_source_name(self, input: Option<String>) -> Self
pub fn set_source_name(self, input: Option<String>) -> Self
The name of the source of the object template.
sourcepub fn get_source_name(&self) -> &Option<String>
pub fn get_source_name(&self) -> &Option<String>
The name of the source of the object template.
sourcepub fn source_object(self, input: impl Into<String>) -> Self
pub fn source_object(self, input: impl Into<String>) -> Self
The source of the object template.
sourcepub fn set_source_object(self, input: Option<String>) -> Self
pub fn set_source_object(self, input: Option<String>) -> Self
The source of the object template.
sourcepub fn get_source_object(&self) -> &Option<String>
pub fn get_source_object(&self) -> &Option<String>
The source of the object template.
sourcepub fn allow_profile_creation(self, input: bool) -> Self
pub fn allow_profile_creation(self, input: bool) -> Self
Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. The default is FALSE
. If the AllowProfileCreation flag is set to FALSE
, then the service tries to fetch a standard profile and associate this object with the profile. If it is set to TRUE
, and if no match is found, then the service creates a new standard profile.
sourcepub fn set_allow_profile_creation(self, input: Option<bool>) -> Self
pub fn set_allow_profile_creation(self, input: Option<bool>) -> Self
Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. The default is FALSE
. If the AllowProfileCreation flag is set to FALSE
, then the service tries to fetch a standard profile and associate this object with the profile. If it is set to TRUE
, and if no match is found, then the service creates a new standard profile.
sourcepub fn get_allow_profile_creation(&self) -> &Option<bool>
pub fn get_allow_profile_creation(&self) -> &Option<bool>
Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. The default is FALSE
. If the AllowProfileCreation flag is set to FALSE
, then the service tries to fetch a standard profile and associate this object with the profile. If it is set to TRUE
, and if no match is found, then the service creates a new standard profile.
sourcepub fn source_last_updated_timestamp_format(
self,
input: impl Into<String>
) -> Self
pub fn source_last_updated_timestamp_format( self, input: impl Into<String> ) -> Self
The format of your sourceLastUpdatedTimestamp
that was previously set up.
sourcepub fn set_source_last_updated_timestamp_format(
self,
input: Option<String>
) -> Self
pub fn set_source_last_updated_timestamp_format( self, input: Option<String> ) -> Self
The format of your sourceLastUpdatedTimestamp
that was previously set up.
sourcepub fn get_source_last_updated_timestamp_format(&self) -> &Option<String>
pub fn get_source_last_updated_timestamp_format(&self) -> &Option<String>
The format of your sourceLastUpdatedTimestamp
that was previously set up.
sourcepub fn fields(self, k: impl Into<String>, v: ObjectTypeField) -> Self
pub fn fields(self, k: impl Into<String>, v: ObjectTypeField) -> Self
Adds a key-value pair to fields
.
To override the contents of this collection use set_fields
.
A map of the name and ObjectType field.
sourcepub fn set_fields(self, input: Option<HashMap<String, ObjectTypeField>>) -> Self
pub fn set_fields(self, input: Option<HashMap<String, ObjectTypeField>>) -> Self
A map of the name and ObjectType field.
sourcepub fn get_fields(&self) -> &Option<HashMap<String, ObjectTypeField>>
pub fn get_fields(&self) -> &Option<HashMap<String, ObjectTypeField>>
A map of the name and ObjectType field.
sourcepub fn keys(self, k: impl Into<String>, v: Vec<ObjectTypeKey>) -> Self
pub fn keys(self, k: impl Into<String>, v: Vec<ObjectTypeKey>) -> Self
Adds a key-value pair to keys
.
To override the contents of this collection use set_keys
.
A list of unique keys that can be used to map data to the profile.
sourcepub fn set_keys(
self,
input: Option<HashMap<String, Vec<ObjectTypeKey>>>
) -> Self
pub fn set_keys( self, input: Option<HashMap<String, Vec<ObjectTypeKey>>> ) -> Self
A list of unique keys that can be used to map data to the profile.
sourcepub fn get_keys(&self) -> &Option<HashMap<String, Vec<ObjectTypeKey>>>
pub fn get_keys(&self) -> &Option<HashMap<String, Vec<ObjectTypeKey>>>
A list of unique keys that can be used to map data to the profile.
sourcepub fn build(self) -> GetProfileObjectTypeTemplateOutput
pub fn build(self) -> GetProfileObjectTypeTemplateOutput
Consumes the builder and constructs a GetProfileObjectTypeTemplateOutput
.
Trait Implementations§
source§impl Clone for GetProfileObjectTypeTemplateOutputBuilder
impl Clone for GetProfileObjectTypeTemplateOutputBuilder
source§fn clone(&self) -> GetProfileObjectTypeTemplateOutputBuilder
fn clone(&self) -> GetProfileObjectTypeTemplateOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetProfileObjectTypeTemplateOutputBuilder
impl Default for GetProfileObjectTypeTemplateOutputBuilder
source§fn default() -> GetProfileObjectTypeTemplateOutputBuilder
fn default() -> GetProfileObjectTypeTemplateOutputBuilder
source§impl PartialEq for GetProfileObjectTypeTemplateOutputBuilder
impl PartialEq for GetProfileObjectTypeTemplateOutputBuilder
source§fn eq(&self, other: &GetProfileObjectTypeTemplateOutputBuilder) -> bool
fn eq(&self, other: &GetProfileObjectTypeTemplateOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetProfileObjectTypeTemplateOutputBuilder
Auto Trait Implementations§
impl Freeze for GetProfileObjectTypeTemplateOutputBuilder
impl RefUnwindSafe for GetProfileObjectTypeTemplateOutputBuilder
impl Send for GetProfileObjectTypeTemplateOutputBuilder
impl Sync for GetProfileObjectTypeTemplateOutputBuilder
impl Unpin for GetProfileObjectTypeTemplateOutputBuilder
impl UnwindSafe for GetProfileObjectTypeTemplateOutputBuilder
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