Class MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.monitoring_slo.MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance>
- Enclosing interface:
- MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance
@Stability(Stable) public static final class MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance.Builder extends Object implements software.amazon.jsii.Builder<MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
availability
@Stability(Stable) public MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance.Builder availability(MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailability availability)
Sets the value ofMonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance.getAvailability()- Parameters:
availability- availability block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#availability MonitoringSlo#availability}- Returns:
this
-
latency
@Stability(Stable) public MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance.Builder latency(MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatency latency)
Sets the value ofMonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance.getLatency()- Parameters:
latency- latency block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#latency MonitoringSlo#latency}- Returns:
this
-
location
@Stability(Stable) public MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance.Builder location(List<String> location)
Sets the value ofMonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance.getLocation()- 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 MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance.Builder method(List<String> method)
Sets the value ofMonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance.getMethod()- 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 MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance.Builder version(List<String> version)
Sets the value ofMonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance.getVersion()- 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
-
build
@Stability(Stable) public MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance>- Returns:
- a new instance of
MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance - Throws:
NullPointerException- if any required attribute was not provided
-
-