Class IngestTimeRuleMetricExtractionAction.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public IngestTimeRuleMetricExtractionAction.Builder compartmentId​(String compartmentId)
        The compartment OCID (/iaas/Content/General/Concepts/identifiers.htm) of the extracted metric.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • namespace

        public IngestTimeRuleMetricExtractionAction.Builder namespace​(String namespace)
        The namespace of the extracted metric.

        A valid value starts with an alphabetical character and includes only alphanumeric characters and underscores (_).

        Parameters:
        namespace - the value to set
        Returns:
        this builder
      • metricName

        public IngestTimeRuleMetricExtractionAction.Builder metricName​(String metricName)
        The metric name of the extracted metric.

        A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).

        Parameters:
        metricName - the value to set
        Returns:
        this builder
      • resourceGroup

        public IngestTimeRuleMetricExtractionAction.Builder resourceGroup​(String resourceGroup)
        The resourceGroup of the extracted metric.

        A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).

        Parameters:
        resourceGroup - the value to set
        Returns:
        this builder
      • dimensions

        public IngestTimeRuleMetricExtractionAction.Builder dimensions​(List<String> dimensions)
        Additional dimensions to publish for the extracted metric.

        A valid list contains the source field names whose values are to be published as dimensions. The source name itself is specified using a special macro SOURCE_NAME

        Parameters:
        dimensions - the value to set
        Returns:
        this builder