Class IngestTimeRule.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public IngestTimeRule.Builder id​(String id)
        The log analytics entity OCID.

        This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.

        Parameters:
        id - the value to set
        Returns:
        this builder
      • compartmentId

        public IngestTimeRule.Builder compartmentId​(String compartmentId)
        Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • description

        public IngestTimeRule.Builder description​(String description)
        Description for this resource.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • freeformTags

        public IngestTimeRule.Builder freeformTags​(Map<String,​String> freeformTags)
        Simple key-value pair that is applied without any predefined name, type or scope.

        Exists for cross-compatibility only. Example: {“bar-key”: “value”}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public IngestTimeRule.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • timeCreated

        public IngestTimeRule.Builder timeCreated​(Date timeCreated)
        The date and time the resource was created, in the format defined by RFC3339.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public IngestTimeRule.Builder timeUpdated​(Date timeUpdated)
        The date and time the resource was last updated, in the format defined by RFC3339.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • lifecycleState

        public IngestTimeRule.Builder lifecycleState​(ConfigLifecycleState lifecycleState)
        The current state of the ingest time rule.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • displayName

        public IngestTimeRule.Builder displayName​(String displayName)
        The ingest time rule display name.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • isEnabled

        public IngestTimeRule.Builder isEnabled​(Boolean isEnabled)
        A flag indicating whether or not the ingest time rule is enabled.
        Parameters:
        isEnabled - the value to set
        Returns:
        this builder
      • actions

        public IngestTimeRule.Builder actions​(List<IngestTimeRuleAction> actions)
        The action(s) to be performed if the ingest time rule condition(s) are satisfied.
        Parameters:
        actions - the value to set
        Returns:
        this builder