EntityTypeDefinition Class
- java.
lang. Object - com.
azure. resourcemanager. customerinsights. models. MetadataDefinitionBase - com.
azure. resourcemanager. customerinsights. models. EntityTypeDefinition
- com.
- com.
public class EntityTypeDefinition
extends MetadataDefinitionBase
Describes an entity.
Constructor Summary
Constructor | Description |
---|---|
EntityTypeDefinition() |
Creates an instance of Entity |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
apiEntitySetName()
Get the api |
Entity |
entityType()
Get the entity |
List<Property |
fields()
Get the fields property: The properties of the Profile. |
Integer |
instancesCount()
Get the instances |
Offset |
lastChangedUtc()
Get the last |
Provisioning |
provisioningState()
Get the provisioning |
String |
schemaItemTypeLink()
Get the schema |
String |
tenantId()
Get the tenant |
String |
timestampFieldName()
Get the timestamp |
String |
typeName()
Get the type |
void |
validate()
Validates the instance. |
Entity |
withApiEntitySetName(String apiEntitySetName)
Set the api |
Entity |
withAttributes(Map<String,List<String>> attributes)
Set the attributes property: The attributes for the Type. |
Entity |
withDescription(Map<String,String> description)
Set the description property: Localized descriptions for the property. |
Entity |
withDisplayName(Map<String,String> displayName)
Set the display |
Entity |
withEntityType(EntityTypes entityType)
Set the entity |
Entity |
withFields(List<PropertyDefinition> fields)
Set the fields property: The properties of the Profile. |
Entity |
withInstancesCount(Integer instancesCount)
Set the instances |
Entity |
withLargeImage(String largeImage)
Set the large |
Entity |
withLocalizedAttributes(Map<String,Map<String,String>> localizedAttributes)
Set the localized |
Entity |
withMediumImage(String mediumImage)
Set the medium |
Entity |
withSchemaItemTypeLink(String schemaItemTypeLink)
Set the schema |
Entity |
withSmallImage(String smallImage)
Set the small |
Entity |
withTimestampFieldName(String timestampFieldName)
Set the timestamp |
Entity |
withTypeName(String typeName)
Set the type |
Methods inherited from MetadataDefinitionBase
Methods inherited from java.lang.Object
Constructor Details
EntityTypeDefinition
public EntityTypeDefinition()
Creates an instance of EntityTypeDefinition class.
Method Details
apiEntitySetName
public String 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:
entityType
public EntityTypes entityType()
Get the entityType property: Type of entity.
Returns:
fields
public List
Get the fields property: The properties of the Profile.
Returns:
instancesCount
public Integer instancesCount()
Get the instancesCount property: The instance count.
Returns:
lastChangedUtc
public OffsetDateTime lastChangedUtc()
Get the lastChangedUtc property: The last changed time for the type definition.
Returns:
provisioningState
public ProvisioningStates provisioningState()
Get the provisioningState property: Provisioning state.
Returns:
schemaItemTypeLink
public String schemaItemTypeLink()
Get the schemaItemTypeLink property: The schema org link. This helps ACI identify and suggest semantic models.
Returns:
tenantId
public String tenantId()
Get the tenantId property: The hub name.
Returns:
timestampFieldName
public String timestampFieldName()
Get the timestampFieldName property: The timestamp property name. Represents the time when the interaction or profile update happened.
Returns:
typeName
public String typeName()
Get the typeName property: The name of the entity.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
EntityTypeDefinition.validate()withApiEntitySetName
public EntityTypeDefinition withApiEntitySetName(String apiEntitySetName)
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:
Returns:
withAttributes
public EntityTypeDefinition withAttributes(Map<>
Set the attributes property: The attributes for the Type.
Overrides:
EntityTypeDefinition.withAttributes(Map<String,List<String>> attributes)Parameters:
withDescription
public EntityTypeDefinition withDescription(Map
Set the description property: Localized descriptions for the property.
Overrides:
EntityTypeDefinition.withDescription(Map<String,String> description)Parameters:
withDisplayName
public EntityTypeDefinition withDisplayName(Map
Set the displayName property: Localized display names for the property.
Overrides:
EntityTypeDefinition.withDisplayName(Map<String,String> displayName)Parameters:
withEntityType
public EntityTypeDefinition withEntityType(EntityTypes entityType)
Set the entityType property: Type of entity.
Parameters:
Returns:
withFields
public EntityTypeDefinition withFields(List
Set the fields property: The properties of the Profile.
Parameters:
Returns:
withInstancesCount
public EntityTypeDefinition withInstancesCount(Integer instancesCount)
Set the instancesCount property: The instance count.
Parameters:
Returns:
withLargeImage
public EntityTypeDefinition withLargeImage(String largeImage)
Set the largeImage property: Large Image associated with the Property or EntityType.
Overrides:
EntityTypeDefinition.withLargeImage(String largeImage)Parameters:
withLocalizedAttributes
public EntityTypeDefinition withLocalizedAttributes(Map<>
Set the localizedAttributes property: Any custom localized attributes for the Type.
Overrides:
EntityTypeDefinition.withLocalizedAttributes(Map<String,Map<String,String>> localizedAttributes)Parameters:
withMediumImage
public EntityTypeDefinition withMediumImage(String mediumImage)
Set the mediumImage property: Medium Image associated with the Property or EntityType.
Overrides:
EntityTypeDefinition.withMediumImage(String mediumImage)Parameters:
withSchemaItemTypeLink
public EntityTypeDefinition withSchemaItemTypeLink(String schemaItemTypeLink)
Set the schemaItemTypeLink property: The schema org link. This helps ACI identify and suggest semantic models.
Parameters:
Returns:
withSmallImage
public EntityTypeDefinition withSmallImage(String smallImage)
Set the smallImage property: Small Image associated with the Property or EntityType.
Overrides:
EntityTypeDefinition.withSmallImage(String smallImage)Parameters:
withTimestampFieldName
public EntityTypeDefinition withTimestampFieldName(String timestampFieldName)
Set the timestampFieldName property: The timestamp property name. Represents the time when the interaction or profile update happened.
Parameters:
Returns:
withTypeName
public EntityTypeDefinition withTypeName(String typeName)
Set the typeName property: The name of the entity.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for