Class MetricExtraction.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public MetricExtraction.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 MetricExtraction.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 MetricExtraction.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 MetricExtraction.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