Class EntityTypeDefinition
java.lang.Object
com.azure.resourcemanager.customerinsights.models.MetadataDefinitionBase
com.azure.resourcemanager.customerinsights.models.EntityTypeDefinition
- Direct Known Subclasses:
InteractionTypeDefinition
,ProfileTypeDefinition
Describes an entity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the apiEntitySetName property: The api entity set name.Get the entityType property: Type of entity.fields()
Get the fields property: The properties of the Profile.Get the instancesCount property: The instance count.Get the lastChangedUtc property: The last changed time for the type definition.Get the provisioningState property: Provisioning state.Get the schemaItemTypeLink property: The schema org link.tenantId()
Get the tenantId property: The hub name.Get the timestampFieldName property: The timestamp property name.typeName()
Get the typeName property: The name of the entity.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.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.MetadataDefinitionBase
attributes, description, displayName, largeImage, localizedAttributes, mediumImage, smallImage
-
Constructor Details
-
EntityTypeDefinition
public EntityTypeDefinition()Creates an instance of EntityTypeDefinition class.
-
-
Method Details
-
apiEntitySetName
Get the apiEntitySetName property: The api entity set name. This becomes the odata entity set name for the entity Type being referred in this object.- Returns:
- the apiEntitySetName value.
-
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.- Parameters:
apiEntitySetName
- the apiEntitySetName value to set.- Returns:
- the EntityTypeDefinition object itself.
-
entityType
Get the entityType property: Type of entity.- Returns:
- the entityType value.
-
withEntityType
Set the entityType property: Type of entity.- Parameters:
entityType
- the entityType value to set.- Returns:
- the EntityTypeDefinition object itself.
-
fields
Get the fields property: The properties of the Profile.- Returns:
- the fields value.
-
withFields
Set the fields property: The properties of the Profile.- Parameters:
fields
- the fields value to set.- Returns:
- the EntityTypeDefinition object itself.
-
instancesCount
Get the instancesCount property: The instance count.- Returns:
- the instancesCount value.
-
withInstancesCount
Set the instancesCount property: The instance count.- Parameters:
instancesCount
- the instancesCount value to set.- Returns:
- the EntityTypeDefinition object itself.
-
lastChangedUtc
Get the lastChangedUtc property: The last changed time for the type definition.- Returns:
- the lastChangedUtc value.
-
provisioningState
Get the provisioningState property: Provisioning state.- Returns:
- the provisioningState value.
-
schemaItemTypeLink
Get the schemaItemTypeLink property: The schema org link. This helps ACI identify and suggest semantic models.- Returns:
- the schemaItemTypeLink value.
-
withSchemaItemTypeLink
Set the schemaItemTypeLink property: The schema org link. This helps ACI identify and suggest semantic models.- Parameters:
schemaItemTypeLink
- the schemaItemTypeLink value to set.- Returns:
- the EntityTypeDefinition object itself.
-
tenantId
Get the tenantId property: The hub name.- Returns:
- the tenantId value.
-
timestampFieldName
Get the timestampFieldName property: The timestamp property name. Represents the time when the interaction or profile update happened.- Returns:
- the timestampFieldName value.
-
withTimestampFieldName
Set the timestampFieldName property: The timestamp property name. Represents the time when the interaction or profile update happened.- Parameters:
timestampFieldName
- the timestampFieldName value to set.- Returns:
- the EntityTypeDefinition object itself.
-
typeName
Get the typeName property: The name of the entity.- Returns:
- the typeName value.
-
withTypeName
Set the typeName property: The name of the entity.- 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 classMetadataDefinitionBase
- 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 classMetadataDefinitionBase
- 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 classMetadataDefinitionBase
- Parameters:
displayName
- the displayName value to set.- Returns:
- the MetadataDefinitionBase object itself.
-
withLocalizedAttributes
public EntityTypeDefinition withLocalizedAttributes(Map<String, Map<String, String>> localizedAttributes) Set the localizedAttributes property: Any custom localized attributes for the Type.- Overrides:
withLocalizedAttributes
in classMetadataDefinitionBase
- 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 classMetadataDefinitionBase
- 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 classMetadataDefinitionBase
- 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 classMetadataDefinitionBase
- Parameters:
largeImage
- the largeImage value to set.- Returns:
- the MetadataDefinitionBase object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classMetadataDefinitionBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-