Class MonitoringSloBasicSli.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • location

        @Stability(Stable)
        public MonitoringSloBasicSli.Builder location​(List<String> location)
        Parameters:
        location - An optional set of locations to which this SLI is relevant. Telemetry from other locations will not be used to calculate performance for this SLI. If omitted, this SLI applies to all locations in which the Service has activity. For service types that don't support breaking down by location, setting this field will result in an error. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#location MonitoringSlo#location}
        Returns:
        this
      • method

        @Stability(Stable)
        public MonitoringSloBasicSli.Builder method​(List<String> method)
        Parameters:
        method - An optional set of RPCs to which this SLI is relevant. Telemetry from other methods will not be used to calculate performance for this SLI. If omitted, this SLI applies to all the Service's methods. For service types that don't support breaking down by method, setting this field will result in an error. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#method MonitoringSlo#method}
        Returns:
        this
      • version

        @Stability(Stable)
        public MonitoringSloBasicSli.Builder version​(List<String> version)
        Parameters:
        version - The set of API versions to which this SLI is relevant. Telemetry from other API versions will not be used to calculate performance for this SLI. If omitted, this SLI applies to all API versions. For service types that don't support breaking down by version, setting this field will result in an error. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#version MonitoringSlo#version}
        Returns:
        this