Struct aws_sdk_customerprofiles::operation::put_profile_object_type::PutProfileObjectTypeOutput
source · #[non_exhaustive]pub struct PutProfileObjectTypeOutput {
pub object_type_name: String,
pub description: String,
pub template_id: Option<String>,
pub expiration_days: Option<i32>,
pub encryption_key: Option<String>,
pub allow_profile_creation: bool,
pub source_last_updated_timestamp_format: Option<String>,
pub fields: Option<HashMap<String, ObjectTypeField>>,
pub keys: Option<HashMap<String, Vec<ObjectTypeKey>>>,
pub created_at: Option<DateTime>,
pub last_updated_at: Option<DateTime>,
pub tags: Option<HashMap<String, String>>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.object_type_name: String
The name of the profile object type.
description: String
Description of the profile object type.
template_id: Option<String>
A unique identifier for the object template.
expiration_days: Option<i32>
The number of days until the data in the object expires.
encryption_key: Option<String>
The customer-provided key to encrypt the profile object that will be created in this profile object type.
allow_profile_creation: 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.
source_last_updated_timestamp_format: Option<String>
The format of your sourceLastUpdatedTimestamp
that was previously set up in fields that were parsed using SimpleDateFormat. If you have sourceLastUpdatedTimestamp
in your field, you must set up sourceLastUpdatedTimestampFormat
.
fields: Option<HashMap<String, ObjectTypeField>>
A map of the name and ObjectType field.
keys: Option<HashMap<String, Vec<ObjectTypeKey>>>
A list of unique keys that can be used to map data to the profile.
created_at: Option<DateTime>
The timestamp of when the domain was created.
last_updated_at: Option<DateTime>
The timestamp of when the domain was most recently edited.
The tags used to organize, track, or control access for this resource.
Implementations§
source§impl PutProfileObjectTypeOutput
impl PutProfileObjectTypeOutput
sourcepub fn object_type_name(&self) -> &str
pub fn object_type_name(&self) -> &str
The name of the profile object type.
sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
Description of the profile object type.
sourcepub fn template_id(&self) -> Option<&str>
pub fn template_id(&self) -> Option<&str>
A unique identifier for the object template.
sourcepub fn expiration_days(&self) -> Option<i32>
pub fn expiration_days(&self) -> Option<i32>
The number of days until the data in the object expires.
sourcepub fn encryption_key(&self) -> Option<&str>
pub fn encryption_key(&self) -> Option<&str>
The customer-provided key to encrypt the profile object that will be created in this profile object type.
sourcepub fn allow_profile_creation(&self) -> bool
pub fn allow_profile_creation(&self) -> 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) -> Option<&str>
pub fn source_last_updated_timestamp_format(&self) -> Option<&str>
The format of your sourceLastUpdatedTimestamp
that was previously set up in fields that were parsed using SimpleDateFormat. If you have sourceLastUpdatedTimestamp
in your field, you must set up sourceLastUpdatedTimestampFormat
.
sourcepub fn fields(&self) -> Option<&HashMap<String, ObjectTypeField>>
pub fn fields(&self) -> Option<&HashMap<String, ObjectTypeField>>
A map of the name and ObjectType field.
sourcepub fn keys(&self) -> Option<&HashMap<String, Vec<ObjectTypeKey>>>
pub fn keys(&self) -> Option<&HashMap<String, Vec<ObjectTypeKey>>>
A list of unique keys that can be used to map data to the profile.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The timestamp of when the domain was created.
sourcepub fn last_updated_at(&self) -> Option<&DateTime>
pub fn last_updated_at(&self) -> Option<&DateTime>
The timestamp of when the domain was most recently edited.
The tags used to organize, track, or control access for this resource.
source§impl PutProfileObjectTypeOutput
impl PutProfileObjectTypeOutput
sourcepub fn builder() -> PutProfileObjectTypeOutputBuilder
pub fn builder() -> PutProfileObjectTypeOutputBuilder
Creates a new builder-style object to manufacture PutProfileObjectTypeOutput
.
Trait Implementations§
source§impl Clone for PutProfileObjectTypeOutput
impl Clone for PutProfileObjectTypeOutput
source§fn clone(&self) -> PutProfileObjectTypeOutput
fn clone(&self) -> PutProfileObjectTypeOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PutProfileObjectTypeOutput
impl Debug for PutProfileObjectTypeOutput
source§impl PartialEq for PutProfileObjectTypeOutput
impl PartialEq for PutProfileObjectTypeOutput
source§fn eq(&self, other: &PutProfileObjectTypeOutput) -> bool
fn eq(&self, other: &PutProfileObjectTypeOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for PutProfileObjectTypeOutput
impl RequestId for PutProfileObjectTypeOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for PutProfileObjectTypeOutput
Auto Trait Implementations§
impl Freeze for PutProfileObjectTypeOutput
impl RefUnwindSafe for PutProfileObjectTypeOutput
impl Send for PutProfileObjectTypeOutput
impl Sync for PutProfileObjectTypeOutput
impl Unpin for PutProfileObjectTypeOutput
impl UnwindSafe for PutProfileObjectTypeOutput
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