Class ActivityEntityQuery

java.lang.Object
com.azure.core.management.ProxyResource

public final class ActivityEntityQuery extends EntityQueryInner
Represents Activity entity query.
  • Constructor Details

    • ActivityEntityQuery

      public ActivityEntityQuery()
  • Method Details

    • withEtag

      public ActivityEntityQuery withEtag(String etag)
      Set the etag property: Etag of the azure resource.
      Overrides:
      withEtag in class EntityQueryInner
      Parameters:
      etag - the etag value to set.
      Returns:
      the ResourceWithEtag object itself.
    • title

      public String title()
      Get the title property: The entity query title.
      Returns:
      the title value.
    • withTitle

      public ActivityEntityQuery withTitle(String title)
      Set the title property: The entity query title.
      Parameters:
      title - the title value to set.
      Returns:
      the ActivityEntityQuery object itself.
    • content

      public String content()
      Get the content property: The entity query content to display in timeline.
      Returns:
      the content value.
    • withContent

      public ActivityEntityQuery withContent(String content)
      Set the content property: The entity query content to display in timeline.
      Parameters:
      content - the content value to set.
      Returns:
      the ActivityEntityQuery object itself.
    • description

      public String description()
      Get the description property: The entity query description.
      Returns:
      the description value.
    • withDescription

      public ActivityEntityQuery withDescription(String description)
      Set the description property: The entity query description.
      Parameters:
      description - the description value to set.
      Returns:
      the ActivityEntityQuery object itself.
    • queryDefinitions

      Get the queryDefinitions property: The Activity query definitions.
      Returns:
      the queryDefinitions value.
    • withQueryDefinitions

      public ActivityEntityQuery withQueryDefinitions(ActivityEntityQueriesPropertiesQueryDefinitions queryDefinitions)
      Set the queryDefinitions property: The Activity query definitions.
      Parameters:
      queryDefinitions - the queryDefinitions value to set.
      Returns:
      the ActivityEntityQuery object itself.
    • inputEntityType

      public EntityType inputEntityType()
      Get the inputEntityType property: The type of the query's source entity.
      Returns:
      the inputEntityType value.
    • withInputEntityType

      public ActivityEntityQuery withInputEntityType(EntityType inputEntityType)
      Set the inputEntityType property: The type of the query's source entity.
      Parameters:
      inputEntityType - the inputEntityType value to set.
      Returns:
      the ActivityEntityQuery object itself.
    • requiredInputFieldsSets

      public List<List<String>> requiredInputFieldsSets()
      Get the requiredInputFieldsSets property: List of the fields of the source entity that are required to run the query.
      Returns:
      the requiredInputFieldsSets value.
    • withRequiredInputFieldsSets

      public ActivityEntityQuery withRequiredInputFieldsSets(List<List<String>> requiredInputFieldsSets)
      Set the requiredInputFieldsSets property: List of the fields of the source entity that are required to run the query.
      Parameters:
      requiredInputFieldsSets - the requiredInputFieldsSets value to set.
      Returns:
      the ActivityEntityQuery object itself.
    • entitiesFilter

      public Map<String,List<String>> entitiesFilter()
      Get the entitiesFilter property: The query applied only to entities matching to all filters.
      Returns:
      the entitiesFilter value.
    • withEntitiesFilter

      public ActivityEntityQuery withEntitiesFilter(Map<String,List<String>> entitiesFilter)
      Set the entitiesFilter property: The query applied only to entities matching to all filters.
      Parameters:
      entitiesFilter - the entitiesFilter value to set.
      Returns:
      the ActivityEntityQuery object itself.
    • templateName

      public String templateName()
      Get the templateName property: The template id this activity was created from.
      Returns:
      the templateName value.
    • withTemplateName

      public ActivityEntityQuery withTemplateName(String templateName)
      Set the templateName property: The template id this activity was created from.
      Parameters:
      templateName - the templateName value to set.
      Returns:
      the ActivityEntityQuery object itself.
    • enabled

      public Boolean enabled()
      Get the enabled property: Determines whether this activity is enabled or disabled.
      Returns:
      the enabled value.
    • withEnabled

      public ActivityEntityQuery withEnabled(Boolean enabled)
      Set the enabled property: Determines whether this activity is enabled or disabled.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the ActivityEntityQuery object itself.
    • createdTimeUtc

      public OffsetDateTime createdTimeUtc()
      Get the createdTimeUtc property: The time the activity was created.
      Returns:
      the createdTimeUtc value.
    • lastModifiedTimeUtc

      public OffsetDateTime lastModifiedTimeUtc()
      Get the lastModifiedTimeUtc property: The last time the activity was updated.
      Returns:
      the lastModifiedTimeUtc value.
    • validate

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