Class MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatency.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.monitoring_slo.MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatency.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatency>
- Enclosing interface:
- MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatency
@Stability(Stable) public static final class MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatency.Builder extends Object implements software.amazon.jsii.Builder<MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatency>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencybuild()Builds the configured instance.MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatency.Builderthreshold(String threshold)
-
-
-
Method Detail
-
threshold
@Stability(Stable) public MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatency.Builder threshold(String threshold)
Sets the value ofMonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatency.getThreshold()- Parameters:
threshold- A duration string, e.g. 10s. Good service is defined to be the count of requests made to this service that return in no more than threshold. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#threshold MonitoringSlo#threshold}- Returns:
this
-
build
@Stability(Stable) public MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatency build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatency>- Returns:
- a new instance of
MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatency - Throws:
NullPointerException- if any required attribute was not provided
-
-