Class CanonicalProfileDefinitionPropertiesItem

java.lang.Object
com.azure.resourcemanager.customerinsights.models.CanonicalProfileDefinitionPropertiesItem

public final class CanonicalProfileDefinitionPropertiesItem extends Object
The definition of a canonical profile property.
  • Constructor Details

    • CanonicalProfileDefinitionPropertiesItem

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

    • profileName

      public String profileName()
      Get the profileName property: Profile name.
      Returns:
      the profileName value.
    • withProfileName

      public CanonicalProfileDefinitionPropertiesItem withProfileName(String profileName)
      Set the profileName property: Profile name.
      Parameters:
      profileName - the profileName value to set.
      Returns:
      the CanonicalProfileDefinitionPropertiesItem object itself.
    • profilePropertyName

      public String profilePropertyName()
      Get the profilePropertyName property: Property name of profile.
      Returns:
      the profilePropertyName value.
    • withProfilePropertyName

      public CanonicalProfileDefinitionPropertiesItem withProfilePropertyName(String profilePropertyName)
      Set the profilePropertyName property: Property name of profile.
      Parameters:
      profilePropertyName - the profilePropertyName value to set.
      Returns:
      the CanonicalProfileDefinitionPropertiesItem object itself.
    • rank

      public Integer rank()
      Get the rank property: The rank.
      Returns:
      the rank value.
    • withRank

      Set the rank property: The rank.
      Parameters:
      rank - the rank value to set.
      Returns:
      the CanonicalProfileDefinitionPropertiesItem object itself.
    • type

      Get the type property: Type of canonical property value.
      Returns:
      the type value.
    • withType

      Set the type property: Type of canonical property value.
      Parameters:
      type - the type value to set.
      Returns:
      the CanonicalProfileDefinitionPropertiesItem object itself.
    • value

      public String value()
      Get the value property: Value of the canonical property.
      Returns:
      the value value.
    • withValue

      Set the value property: Value of the canonical property.
      Parameters:
      value - the value value to set.
      Returns:
      the CanonicalProfileDefinitionPropertiesItem object itself.
    • validate

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