Class ApplicationInsightsComponentAnalyticsItemInner


  • public final class ApplicationInsightsComponentAnalyticsItemInner
    extends Object
    Properties that define an Analytics item that is associated to an Application Insights component.
    • Constructor Detail

      • ApplicationInsightsComponentAnalyticsItemInner

        public ApplicationInsightsComponentAnalyticsItemInner()
    • Method Detail

      • id

        public String id()
        Get the id property: Internally assigned unique id of the item definition.
        Returns:
        the id value.
      • withId

        public ApplicationInsightsComponentAnalyticsItemInner withId​(String id)
        Set the id property: Internally assigned unique id of the item definition.
        Parameters:
        id - the id value to set.
        Returns:
        the ApplicationInsightsComponentAnalyticsItemInner object itself.
      • name

        public String name()
        Get the name property: The user-defined name of the item.
        Returns:
        the name value.
      • withName

        public ApplicationInsightsComponentAnalyticsItemInner withName​(String name)
        Set the name property: The user-defined name of the item.
        Parameters:
        name - the name value to set.
        Returns:
        the ApplicationInsightsComponentAnalyticsItemInner object itself.
      • content

        public String content()
        Get the content property: The content of this item.
        Returns:
        the content value.
      • withContent

        public ApplicationInsightsComponentAnalyticsItemInner withContent​(String content)
        Set the content property: The content of this item.
        Parameters:
        content - the content value to set.
        Returns:
        the ApplicationInsightsComponentAnalyticsItemInner object itself.
      • version

        public String version()
        Get the version property: This instance's version of the data model. This can change as new features are added.
        Returns:
        the version value.
      • scope

        public ItemScope scope()
        Get the scope property: Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
        Returns:
        the scope value.
      • withScope

        public ApplicationInsightsComponentAnalyticsItemInner withScope​(ItemScope scope)
        Set the scope property: Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
        Parameters:
        scope - the scope value to set.
        Returns:
        the ApplicationInsightsComponentAnalyticsItemInner object itself.
      • type

        public ItemType type()
        Get the type property: Enum indicating the type of the Analytics item.
        Returns:
        the type value.
      • withType

        public ApplicationInsightsComponentAnalyticsItemInner withType​(ItemType type)
        Set the type property: Enum indicating the type of the Analytics item.
        Parameters:
        type - the type value to set.
        Returns:
        the ApplicationInsightsComponentAnalyticsItemInner object itself.
      • timeCreated

        public String timeCreated()
        Get the timeCreated property: Date and time in UTC when this item was created.
        Returns:
        the timeCreated value.
      • timeModified

        public String timeModified()
        Get the timeModified property: Date and time in UTC of the last modification that was made to this item.
        Returns:
        the timeModified value.
      • properties

        public ApplicationInsightsComponentAnalyticsItemProperties properties()
        Get the properties property: A set of properties that can be defined in the context of a specific item type. Each type may have its own properties.
        Returns:
        the properties value.
      • validate

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