@Generated(value="software.amazon.awssdk:codegen") public final class PutProfileObjectTypeRequest extends CustomerProfilesRequest implements ToCopyableBuilder<PutProfileObjectTypeRequest.Builder,PutProfileObjectTypeRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutProfileObjectTypeRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
allowProfileCreation()
Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this
type.
|
static PutProfileObjectTypeRequest.Builder |
builder() |
String |
description()
Description of the profile object type.
|
String |
domainName()
The unique name of the domain.
|
String |
encryptionKey()
The customer-provided key to encrypt the profile object that will be created in this profile object type.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Integer |
expirationDays()
The number of days until the data in the object expires.
|
Map<String,ObjectTypeField> |
fields()
A map of the name and ObjectType field.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFields()
For responses, this returns true if the service returned a value for the Fields property.
|
int |
hashCode() |
boolean |
hasKeys()
For responses, this returns true if the service returned a value for the Keys property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
Map<String,List<ObjectTypeKey>> |
keys()
A list of unique keys that can be used to map data to the profile.
|
String |
objectTypeName()
The name of the profile object type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutProfileObjectTypeRequest.Builder> |
serializableBuilderClass() |
String |
sourceLastUpdatedTimestampFormat()
The format of your
sourceLastUpdatedTimestamp that was previously set up. |
Map<String,String> |
tags()
The tags used to organize, track, or control access for this resource.
|
String |
templateId()
A unique identifier for the object template.
|
PutProfileObjectTypeRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String domainName()
The unique name of the domain.
public final String objectTypeName()
The name of the profile object type.
public final String description()
Description of the profile object type.
public final String templateId()
A unique identifier for the object template. For some attributes in the request, the service will use the default
value from the object template when TemplateId is present. If these attributes are present in the request, the
service may return a BadRequestException. These attributes include: AllowProfileCreation,
SourceLastUpdatedTimestampFormat, Fields, and Keys. For example, if AllowProfileCreation is set to true when
TemplateId is set, the service may return a BadRequestException.
BadRequestException. These attributes include:
AllowProfileCreation, SourceLastUpdatedTimestampFormat, Fields, and Keys. For example, if
AllowProfileCreation is set to true when TemplateId is set, the service may return a
BadRequestException.public final Integer expirationDays()
The number of days until the data in the object expires.
public final String encryptionKey()
The customer-provided key to encrypt the profile object that will be created in this profile object type.
public final Boolean allowProfileCreation()
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.
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.public final String sourceLastUpdatedTimestampFormat()
The format of your sourceLastUpdatedTimestamp that was previously set up.
sourceLastUpdatedTimestamp that was previously set up.public final boolean hasFields()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final Map<String,ObjectTypeField> fields()
A map of the name and ObjectType field.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasFields() method.
public final boolean hasKeys()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,List<ObjectTypeKey>> keys()
A list of unique keys that can be used to map data to the profile.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasKeys() method.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,String> tags()
The tags used to organize, track, or control access for this resource.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public PutProfileObjectTypeRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutProfileObjectTypeRequest.Builder,PutProfileObjectTypeRequest>toBuilder in class CustomerProfilesRequestpublic static PutProfileObjectTypeRequest.Builder builder()
public static Class<? extends PutProfileObjectTypeRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.