Class MonitoringMetricDescriptorLabels.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • key

        @Stability(Stable)
        public MonitoringMetricDescriptorLabels.Builder key​(String key)
        Parameters:
        key - The key for this label. This parameter is required. The key must not exceed 100 characters. The first character of the key must be an upper- or lower-case letter, the remaining characters must be letters, digits or underscores, and the key must match the regular expression [a-zA-Z][a-zA-Z0-9_]* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_metric_descriptor#key MonitoringMetricDescriptor#key}
        Returns:
        this
      • valueType

        @Stability(Stable)
        public MonitoringMetricDescriptorLabels.Builder valueType​(String valueType)
        Parameters:
        valueType - The type of data that can be assigned to the label. Default value: "STRING" Possible values: ["STRING", "BOOL", "INT64"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_metric_descriptor#value_type MonitoringMetricDescriptor#value_type}
        Returns:
        this