Class InteractionResourceFormatInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.customerinsights.fluent.models.InteractionResourceFormatInner

public final class InteractionResourceFormatInner extends com.azure.core.management.ProxyResource
The interaction resource format.
  • Constructor Details

    • InteractionResourceFormatInner

      public InteractionResourceFormatInner()
      Creates an instance of InteractionResourceFormatInner class.
  • Method Details

    • idPropertyNames

      public List<String> idPropertyNames()
      Get the idPropertyNames property: The id property names. Properties which uniquely identify an interaction instance.
      Returns:
      the idPropertyNames value.
    • withIdPropertyNames

      public InteractionResourceFormatInner withIdPropertyNames(List<String> idPropertyNames)
      Set the idPropertyNames property: The id property names. Properties which uniquely identify an interaction instance.
      Parameters:
      idPropertyNames - the idPropertyNames value to set.
      Returns:
      the InteractionResourceFormatInner object itself.
    • participantProfiles

      public List<Participant> participantProfiles()
      Get the participantProfiles property: Profiles that participated in the interaction.
      Returns:
      the participantProfiles value.
    • withParticipantProfiles

      public InteractionResourceFormatInner withParticipantProfiles(List<Participant> participantProfiles)
      Set the participantProfiles property: Profiles that participated in the interaction.
      Parameters:
      participantProfiles - the participantProfiles value to set.
      Returns:
      the InteractionResourceFormatInner object itself.
    • primaryParticipantProfilePropertyName

      public String primaryParticipantProfilePropertyName()
      Get the primaryParticipantProfilePropertyName property: The primary participant property name for an interaction ,This is used to logically represent the agent of the interaction, Specify the participant name here from ParticipantName.
      Returns:
      the primaryParticipantProfilePropertyName value.
    • withPrimaryParticipantProfilePropertyName

      public InteractionResourceFormatInner withPrimaryParticipantProfilePropertyName(String primaryParticipantProfilePropertyName)
      Set the primaryParticipantProfilePropertyName property: The primary participant property name for an interaction ,This is used to logically represent the agent of the interaction, Specify the participant name here from ParticipantName.
      Parameters:
      primaryParticipantProfilePropertyName - the primaryParticipantProfilePropertyName value to set.
      Returns:
      the InteractionResourceFormatInner object itself.
    • dataSourcePrecedenceRules

      public List<DataSourcePrecedence> dataSourcePrecedenceRules()
      Get the dataSourcePrecedenceRules property: This is specific to interactions modeled as activities. Data sources are used to determine where data is stored and also in precedence rules.
      Returns:
      the dataSourcePrecedenceRules value.
    • isActivity

      public Boolean isActivity()
      Get the isActivity property: An interaction can be tagged as an activity only during create. This enables the interaction to be editable and can enable merging of properties from multiple data sources based on precedence, which is defined at a link level.
      Returns:
      the isActivity value.
    • withIsActivity

      public InteractionResourceFormatInner withIsActivity(Boolean isActivity)
      Set the isActivity property: An interaction can be tagged as an activity only during create. This enables the interaction to be editable and can enable merging of properties from multiple data sources based on precedence, which is defined at a link level.
      Parameters:
      isActivity - the isActivity value to set.
      Returns:
      the InteractionResourceFormatInner object itself.
    • namePropertiesName

      public String namePropertiesName()
      Get the name property: The data source name.
      Returns:
      the name value.
    • dataSourceType

      public DataSourceType dataSourceType()
      Get the dataSourceType property: The data source type.
      Returns:
      the dataSourceType value.
    • status

      public Status status()
      Get the status property: The data source status.
      Returns:
      the status value.
    • idPropertiesId

      public Integer idPropertiesId()
      Get the id property: The data source ID.
      Returns:
      the id value.
    • dataSourceReferenceId

      public String dataSourceReferenceId()
      Get the dataSourceReferenceId property: The data source reference id.
      Returns:
      the dataSourceReferenceId value.
    • 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:
      the apiEntitySetName value.
    • withApiEntitySetName

      public InteractionResourceFormatInner 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:
      apiEntitySetName - the apiEntitySetName value to set.
      Returns:
      the InteractionResourceFormatInner object itself.
    • entityType

      public EntityTypes entityType()
      Get the entityType property: Type of entity.
      Returns:
      the entityType value.
    • withEntityType

      public InteractionResourceFormatInner withEntityType(EntityTypes entityType)
      Set the entityType property: Type of entity.
      Parameters:
      entityType - the entityType value to set.
      Returns:
      the InteractionResourceFormatInner object itself.
    • fields

      public List<PropertyDefinition> 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 InteractionResourceFormatInner object itself.
    • instancesCount

      public Integer instancesCount()
      Get the instancesCount property: The instance count.
      Returns:
      the instancesCount value.
    • withInstancesCount

      public InteractionResourceFormatInner withInstancesCount(Integer instancesCount)
      Set the instancesCount property: The instance count.
      Parameters:
      instancesCount - the instancesCount value to set.
      Returns:
      the InteractionResourceFormatInner object itself.
    • lastChangedUtc

      public OffsetDateTime lastChangedUtc()
      Get the lastChangedUtc property: The last changed time for the type definition.
      Returns:
      the lastChangedUtc value.
    • provisioningState

      public ProvisioningStates provisioningState()
      Get the provisioningState property: Provisioning state.
      Returns:
      the provisioningState value.
    • schemaItemTypeLink

      public String schemaItemTypeLink()
      Get the schemaItemTypeLink property: The schema org link. This helps ACI identify and suggest semantic models.
      Returns:
      the schemaItemTypeLink value.
    • withSchemaItemTypeLink

      public InteractionResourceFormatInner withSchemaItemTypeLink(String schemaItemTypeLink)
      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 InteractionResourceFormatInner object itself.
    • tenantId

      public String tenantId()
      Get the tenantId property: The hub name.
      Returns:
      the tenantId value.
    • timestampFieldName

      public String timestampFieldName()
      Get the timestampFieldName property: The timestamp property name. Represents the time when the interaction or profile update happened.
      Returns:
      the timestampFieldName value.
    • withTimestampFieldName

      public InteractionResourceFormatInner withTimestampFieldName(String timestampFieldName)
      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 InteractionResourceFormatInner object itself.
    • typeName

      public String typeName()
      Get the typeName property: The name of the entity.
      Returns:
      the typeName value.
    • withTypeName

      public InteractionResourceFormatInner withTypeName(String typeName)
      Set the typeName property: The name of the entity.
      Parameters:
      typeName - the typeName value to set.
      Returns:
      the InteractionResourceFormatInner object itself.
    • attributes

      public Map<String,List<String>> attributes()
      Get the attributes property: The attributes for the Type.
      Returns:
      the attributes value.
    • withAttributes

      public InteractionResourceFormatInner withAttributes(Map<String,List<String>> attributes)
      Set the attributes property: The attributes for the Type.
      Parameters:
      attributes - the attributes value to set.
      Returns:
      the InteractionResourceFormatInner object itself.
    • description

      public Map<String,String> description()
      Get the description property: Localized descriptions for the property.
      Returns:
      the description value.
    • withDescription

      public InteractionResourceFormatInner withDescription(Map<String,String> description)
      Set the description property: Localized descriptions for the property.
      Parameters:
      description - the description value to set.
      Returns:
      the InteractionResourceFormatInner object itself.
    • displayName

      public Map<String,String> displayName()
      Get the displayName property: Localized display names for the property.
      Returns:
      the displayName value.
    • withDisplayName

      public InteractionResourceFormatInner withDisplayName(Map<String,String> displayName)
      Set the displayName property: Localized display names for the property.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the InteractionResourceFormatInner object itself.
    • localizedAttributes

      public Map<String,Map<String,String>> localizedAttributes()
      Get the localizedAttributes property: Any custom localized attributes for the Type.
      Returns:
      the localizedAttributes value.
    • withLocalizedAttributes

      public InteractionResourceFormatInner withLocalizedAttributes(Map<String,Map<String,String>> localizedAttributes)
      Set the localizedAttributes property: Any custom localized attributes for the Type.
      Parameters:
      localizedAttributes - the localizedAttributes value to set.
      Returns:
      the InteractionResourceFormatInner object itself.
    • smallImage

      public String smallImage()
      Get the smallImage property: Small Image associated with the Property or EntityType.
      Returns:
      the smallImage value.
    • withSmallImage

      public InteractionResourceFormatInner withSmallImage(String smallImage)
      Set the smallImage property: Small Image associated with the Property or EntityType.
      Parameters:
      smallImage - the smallImage value to set.
      Returns:
      the InteractionResourceFormatInner object itself.
    • mediumImage

      public String mediumImage()
      Get the mediumImage property: Medium Image associated with the Property or EntityType.
      Returns:
      the mediumImage value.
    • withMediumImage

      public InteractionResourceFormatInner withMediumImage(String mediumImage)
      Set the mediumImage property: Medium Image associated with the Property or EntityType.
      Parameters:
      mediumImage - the mediumImage value to set.
      Returns:
      the InteractionResourceFormatInner object itself.
    • largeImage

      public String largeImage()
      Get the largeImage property: Large Image associated with the Property or EntityType.
      Returns:
      the largeImage value.
    • withLargeImage

      public InteractionResourceFormatInner withLargeImage(String largeImage)
      Set the largeImage property: Large Image associated with the Property or EntityType.
      Parameters:
      largeImage - the largeImage value to set.
      Returns:
      the InteractionResourceFormatInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.