Class ProfileTypeDefinition
java.lang.Object
com.azure.resourcemanager.customerinsights.models.MetadataDefinitionBase
com.azure.resourcemanager.customerinsights.models.EntityTypeDefinition
com.azure.resourcemanager.customerinsights.fluent.models.ProfileTypeDefinition
The profile type definition.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the strongIds property: The strong IDs.void
validate()
Validates the instance.withApiEntitySetName
(String apiEntitySetName) Set the apiEntitySetName property: The api entity set name.withAttributes
(Map<String, List<String>> attributes) Set the attributes property: The attributes for the Type.withDescription
(Map<String, String> description) Set the description property: Localized descriptions for the property.withDisplayName
(Map<String, String> displayName) Set the displayName property: Localized display names for the property.withEntityType
(EntityTypes entityType) Set the entityType property: Type of entity.withFields
(List<PropertyDefinition> fields) Set the fields property: The properties of the Profile.withInstancesCount
(Integer instancesCount) Set the instancesCount property: The instance count.withLargeImage
(String largeImage) Set the largeImage property: Large Image associated with the Property or EntityType.Set the localizedAttributes property: Any custom localized attributes for the Type.withMediumImage
(String mediumImage) Set the mediumImage property: Medium Image associated with the Property or EntityType.withSchemaItemTypeLink
(String schemaItemTypeLink) Set the schemaItemTypeLink property: The schema org link.withSmallImage
(String smallImage) Set the smallImage property: Small Image associated with the Property or EntityType.withStrongIds
(List<StrongId> strongIds) Set the strongIds property: The strong IDs.withTimestampFieldName
(String timestampFieldName) Set the timestampFieldName property: The timestamp property name.withTypeName
(String typeName) Set the typeName property: The name of the entity.Methods inherited from class com.azure.resourcemanager.customerinsights.models.EntityTypeDefinition
apiEntitySetName, entityType, fields, instancesCount, lastChangedUtc, provisioningState, schemaItemTypeLink, tenantId, timestampFieldName, typeName
Methods inherited from class com.azure.resourcemanager.customerinsights.models.MetadataDefinitionBase
attributes, description, displayName, largeImage, localizedAttributes, mediumImage, smallImage
-
Constructor Details
-
ProfileTypeDefinition
public ProfileTypeDefinition()Creates an instance of ProfileTypeDefinition class.
-
-
Method Details
-
strongIds
Get the strongIds property: The strong IDs.- Returns:
- the strongIds value.
-
withStrongIds
Set the strongIds property: The strong IDs.- Parameters:
strongIds
- the strongIds value to set.- Returns:
- the ProfileTypeDefinition object itself.
-
withApiEntitySetName
Set the apiEntitySetName property: The api entity set name. This becomes the odata entity set name for the entity Type being referred in this object.- Overrides:
withApiEntitySetName
in classEntityTypeDefinition
- Parameters:
apiEntitySetName
- the apiEntitySetName value to set.- Returns:
- the EntityTypeDefinition object itself.
-
withEntityType
Set the entityType property: Type of entity.- Overrides:
withEntityType
in classEntityTypeDefinition
- Parameters:
entityType
- the entityType value to set.- Returns:
- the EntityTypeDefinition object itself.
-
withFields
Set the fields property: The properties of the Profile.- Overrides:
withFields
in classEntityTypeDefinition
- Parameters:
fields
- the fields value to set.- Returns:
- the EntityTypeDefinition object itself.
-
withInstancesCount
Set the instancesCount property: The instance count.- Overrides:
withInstancesCount
in classEntityTypeDefinition
- Parameters:
instancesCount
- the instancesCount value to set.- Returns:
- the EntityTypeDefinition object itself.
-
withSchemaItemTypeLink
Set the schemaItemTypeLink property: The schema org link. This helps ACI identify and suggest semantic models.- Overrides:
withSchemaItemTypeLink
in classEntityTypeDefinition
- Parameters:
schemaItemTypeLink
- the schemaItemTypeLink value to set.- Returns:
- the EntityTypeDefinition object itself.
-
withTimestampFieldName
Set the timestampFieldName property: The timestamp property name. Represents the time when the interaction or profile update happened.- Overrides:
withTimestampFieldName
in classEntityTypeDefinition
- Parameters:
timestampFieldName
- the timestampFieldName value to set.- Returns:
- the EntityTypeDefinition object itself.
-
withTypeName
Set the typeName property: The name of the entity.- Overrides:
withTypeName
in classEntityTypeDefinition
- Parameters:
typeName
- the typeName value to set.- Returns:
- the EntityTypeDefinition object itself.
-
withAttributes
Set the attributes property: The attributes for the Type.- Overrides:
withAttributes
in classEntityTypeDefinition
- Parameters:
attributes
- the attributes value to set.- Returns:
- the MetadataDefinitionBase object itself.
-
withDescription
Set the description property: Localized descriptions for the property.- Overrides:
withDescription
in classEntityTypeDefinition
- Parameters:
description
- the description value to set.- Returns:
- the MetadataDefinitionBase object itself.
-
withDisplayName
Set the displayName property: Localized display names for the property.- Overrides:
withDisplayName
in classEntityTypeDefinition
- Parameters:
displayName
- the displayName value to set.- Returns:
- the MetadataDefinitionBase object itself.
-
withLocalizedAttributes
public ProfileTypeDefinition withLocalizedAttributes(Map<String, Map<String, String>> localizedAttributes) Set the localizedAttributes property: Any custom localized attributes for the Type.- Overrides:
withLocalizedAttributes
in classEntityTypeDefinition
- Parameters:
localizedAttributes
- the localizedAttributes value to set.- Returns:
- the MetadataDefinitionBase object itself.
-
withSmallImage
Set the smallImage property: Small Image associated with the Property or EntityType.- Overrides:
withSmallImage
in classEntityTypeDefinition
- Parameters:
smallImage
- the smallImage value to set.- Returns:
- the MetadataDefinitionBase object itself.
-
withMediumImage
Set the mediumImage property: Medium Image associated with the Property or EntityType.- Overrides:
withMediumImage
in classEntityTypeDefinition
- Parameters:
mediumImage
- the mediumImage value to set.- Returns:
- the MetadataDefinitionBase object itself.
-
withLargeImage
Set the largeImage property: Large Image associated with the Property or EntityType.- Overrides:
withLargeImage
in classEntityTypeDefinition
- Parameters:
largeImage
- the largeImage value to set.- Returns:
- the MetadataDefinitionBase object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classEntityTypeDefinition
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-