@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutProfileObjectTypeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutProfileObjectTypeRequest() |
Modifier and Type | Method and Description |
---|---|
PutProfileObjectTypeRequest |
addFieldsEntry(String key,
ObjectTypeField value)
Add a single Fields entry
|
PutProfileObjectTypeRequest |
addKeysEntry(String key,
List<ObjectTypeKey> value)
Add a single Keys entry
|
PutProfileObjectTypeRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
PutProfileObjectTypeRequest |
clearFieldsEntries()
Removes all the entries added into Fields.
|
PutProfileObjectTypeRequest |
clearKeysEntries()
Removes all the entries added into Keys.
|
PutProfileObjectTypeRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
PutProfileObjectTypeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getAllowProfileCreation()
Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this
type.
|
String |
getDescription()
Description of the profile object type.
|
String |
getDomainName()
The unique name of the domain.
|
String |
getEncryptionKey()
The customer-provided key to encrypt the profile object that will be created in this profile object type.
|
Integer |
getExpirationDays()
The number of days until the data in the object expires.
|
Map<String,ObjectTypeField> |
getFields()
A map of the name and ObjectType field.
|
Map<String,List<ObjectTypeKey>> |
getKeys()
A list of unique keys that can be used to map data to the profile.
|
Integer |
getMaxProfileObjectCount()
The amount of profile object max count assigned to the object type
|
String |
getObjectTypeName()
The name of the profile object type.
|
String |
getSourceLastUpdatedTimestampFormat()
The format of your
sourceLastUpdatedTimestamp that was previously set up. |
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
String |
getTemplateId()
A unique identifier for the object template.
|
int |
hashCode() |
Boolean |
isAllowProfileCreation()
Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this
type.
|
void |
setAllowProfileCreation(Boolean allowProfileCreation)
Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this
type.
|
void |
setDescription(String description)
Description of the profile object type.
|
void |
setDomainName(String domainName)
The unique name of the domain.
|
void |
setEncryptionKey(String encryptionKey)
The customer-provided key to encrypt the profile object that will be created in this profile object type.
|
void |
setExpirationDays(Integer expirationDays)
The number of days until the data in the object expires.
|
void |
setFields(Map<String,ObjectTypeField> fields)
A map of the name and ObjectType field.
|
void |
setKeys(Map<String,List<ObjectTypeKey>> keys)
A list of unique keys that can be used to map data to the profile.
|
void |
setMaxProfileObjectCount(Integer maxProfileObjectCount)
The amount of profile object max count assigned to the object type
|
void |
setObjectTypeName(String objectTypeName)
The name of the profile object type.
|
void |
setSourceLastUpdatedTimestampFormat(String sourceLastUpdatedTimestampFormat)
The format of your
sourceLastUpdatedTimestamp that was previously set up. |
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
void |
setTemplateId(String templateId)
A unique identifier for the object template.
|
String |
toString()
Returns a string representation of this object.
|
PutProfileObjectTypeRequest |
withAllowProfileCreation(Boolean allowProfileCreation)
Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this
type.
|
PutProfileObjectTypeRequest |
withDescription(String description)
Description of the profile object type.
|
PutProfileObjectTypeRequest |
withDomainName(String domainName)
The unique name of the domain.
|
PutProfileObjectTypeRequest |
withEncryptionKey(String encryptionKey)
The customer-provided key to encrypt the profile object that will be created in this profile object type.
|
PutProfileObjectTypeRequest |
withExpirationDays(Integer expirationDays)
The number of days until the data in the object expires.
|
PutProfileObjectTypeRequest |
withFields(Map<String,ObjectTypeField> fields)
A map of the name and ObjectType field.
|
PutProfileObjectTypeRequest |
withKeys(Map<String,List<ObjectTypeKey>> keys)
A list of unique keys that can be used to map data to the profile.
|
PutProfileObjectTypeRequest |
withMaxProfileObjectCount(Integer maxProfileObjectCount)
The amount of profile object max count assigned to the object type
|
PutProfileObjectTypeRequest |
withObjectTypeName(String objectTypeName)
The name of the profile object type.
|
PutProfileObjectTypeRequest |
withSourceLastUpdatedTimestampFormat(String sourceLastUpdatedTimestampFormat)
The format of your
sourceLastUpdatedTimestamp that was previously set up. |
PutProfileObjectTypeRequest |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
PutProfileObjectTypeRequest |
withTemplateId(String templateId)
A unique identifier for the object template.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDomainName(String domainName)
The unique name of the domain.
domainName
- The unique name of the domain.public String getDomainName()
The unique name of the domain.
public PutProfileObjectTypeRequest withDomainName(String domainName)
The unique name of the domain.
domainName
- The unique name of the domain.public void setObjectTypeName(String objectTypeName)
The name of the profile object type.
objectTypeName
- The name of the profile object type.public String getObjectTypeName()
The name of the profile object type.
public PutProfileObjectTypeRequest withObjectTypeName(String objectTypeName)
The name of the profile object type.
objectTypeName
- The name of the profile object type.public void setDescription(String description)
Description of the profile object type.
description
- Description of the profile object type.public String getDescription()
Description of the profile object type.
public PutProfileObjectTypeRequest withDescription(String description)
Description of the profile object type.
description
- Description of the profile object type.public void setTemplateId(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
.
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
.public String getTemplateId()
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 PutProfileObjectTypeRequest withTemplateId(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
.
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
.public void setExpirationDays(Integer expirationDays)
The number of days until the data in the object expires.
expirationDays
- The number of days until the data in the object expires.public Integer getExpirationDays()
The number of days until the data in the object expires.
public PutProfileObjectTypeRequest withExpirationDays(Integer expirationDays)
The number of days until the data in the object expires.
expirationDays
- The number of days until the data in the object expires.public void setEncryptionKey(String encryptionKey)
The customer-provided key to encrypt the profile object that will be created in this profile object type.
encryptionKey
- The customer-provided key to encrypt the profile object that will be created in this profile object type.public String getEncryptionKey()
The customer-provided key to encrypt the profile object that will be created in this profile object type.
public PutProfileObjectTypeRequest withEncryptionKey(String encryptionKey)
The customer-provided key to encrypt the profile object that will be created in this profile object type.
encryptionKey
- The customer-provided key to encrypt the profile object that will be created in this profile object type.public void setAllowProfileCreation(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.
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.public Boolean getAllowProfileCreation()
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 PutProfileObjectTypeRequest withAllowProfileCreation(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.
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.public Boolean isAllowProfileCreation()
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 void setSourceLastUpdatedTimestampFormat(String sourceLastUpdatedTimestampFormat)
The format of your sourceLastUpdatedTimestamp
that was previously set up.
sourceLastUpdatedTimestampFormat
- The format of your sourceLastUpdatedTimestamp
that was previously set up.public String getSourceLastUpdatedTimestampFormat()
The format of your sourceLastUpdatedTimestamp
that was previously set up.
sourceLastUpdatedTimestamp
that was previously set up.public PutProfileObjectTypeRequest withSourceLastUpdatedTimestampFormat(String sourceLastUpdatedTimestampFormat)
The format of your sourceLastUpdatedTimestamp
that was previously set up.
sourceLastUpdatedTimestampFormat
- The format of your sourceLastUpdatedTimestamp
that was previously set up.public void setMaxProfileObjectCount(Integer maxProfileObjectCount)
The amount of profile object max count assigned to the object type
maxProfileObjectCount
- The amount of profile object max count assigned to the object typepublic Integer getMaxProfileObjectCount()
The amount of profile object max count assigned to the object type
public PutProfileObjectTypeRequest withMaxProfileObjectCount(Integer maxProfileObjectCount)
The amount of profile object max count assigned to the object type
maxProfileObjectCount
- The amount of profile object max count assigned to the object typepublic Map<String,ObjectTypeField> getFields()
A map of the name and ObjectType field.
public void setFields(Map<String,ObjectTypeField> fields)
A map of the name and ObjectType field.
fields
- A map of the name and ObjectType field.public PutProfileObjectTypeRequest withFields(Map<String,ObjectTypeField> fields)
A map of the name and ObjectType field.
fields
- A map of the name and ObjectType field.public PutProfileObjectTypeRequest addFieldsEntry(String key, ObjectTypeField value)
public PutProfileObjectTypeRequest clearFieldsEntries()
public Map<String,List<ObjectTypeKey>> getKeys()
A list of unique keys that can be used to map data to the profile.
public void setKeys(Map<String,List<ObjectTypeKey>> keys)
A list of unique keys that can be used to map data to the profile.
keys
- A list of unique keys that can be used to map data to the profile.public PutProfileObjectTypeRequest withKeys(Map<String,List<ObjectTypeKey>> keys)
A list of unique keys that can be used to map data to the profile.
keys
- A list of unique keys that can be used to map data to the profile.public PutProfileObjectTypeRequest addKeysEntry(String key, List<ObjectTypeKey> value)
public PutProfileObjectTypeRequest clearKeysEntries()
public Map<String,String> getTags()
The tags used to organize, track, or control access for this resource.
public void setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
tags
- The tags used to organize, track, or control access for this resource.public PutProfileObjectTypeRequest withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
tags
- The tags used to organize, track, or control access for this resource.public PutProfileObjectTypeRequest addTagsEntry(String key, String value)
public PutProfileObjectTypeRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public PutProfileObjectTypeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()