Class MonitoringSloWindowsBasedSliGoodTotalRatioThreshold.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.monitoring_slo.MonitoringSloWindowsBasedSliGoodTotalRatioThreshold.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<MonitoringSloWindowsBasedSliGoodTotalRatioThreshold>
- Enclosing interface:
- MonitoringSloWindowsBasedSliGoodTotalRatioThreshold
@Stability(Stable) public static final class MonitoringSloWindowsBasedSliGoodTotalRatioThreshold.Builder extends Object implements software.amazon.jsii.Builder<MonitoringSloWindowsBasedSliGoodTotalRatioThreshold>
A builder forMonitoringSloWindowsBasedSliGoodTotalRatioThreshold
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MonitoringSloWindowsBasedSliGoodTotalRatioThreshold.BuilderbasicSliPerformance(MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance basicSliPerformance)MonitoringSloWindowsBasedSliGoodTotalRatioThresholdbuild()Builds the configured instance.MonitoringSloWindowsBasedSliGoodTotalRatioThreshold.Builderperformance(MonitoringSloWindowsBasedSliGoodTotalRatioThresholdPerformance performance)Sets the value ofMonitoringSloWindowsBasedSliGoodTotalRatioThreshold.getPerformance()MonitoringSloWindowsBasedSliGoodTotalRatioThreshold.Builderthreshold(Number threshold)Sets the value ofMonitoringSloWindowsBasedSliGoodTotalRatioThreshold.getThreshold()
-
-
-
Method Detail
-
basicSliPerformance
@Stability(Stable) public MonitoringSloWindowsBasedSliGoodTotalRatioThreshold.Builder basicSliPerformance(MonitoringSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance basicSliPerformance)
- Parameters:
basicSliPerformance- basic_sli_performance block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#basic_sli_performance MonitoringSlo#basic_sli_performance}- Returns:
this
-
performance
@Stability(Stable) public MonitoringSloWindowsBasedSliGoodTotalRatioThreshold.Builder performance(MonitoringSloWindowsBasedSliGoodTotalRatioThresholdPerformance performance)
Sets the value ofMonitoringSloWindowsBasedSliGoodTotalRatioThreshold.getPerformance()- Parameters:
performance- performance block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#performance MonitoringSlo#performance}- Returns:
this
-
threshold
@Stability(Stable) public MonitoringSloWindowsBasedSliGoodTotalRatioThreshold.Builder threshold(Number threshold)
Sets the value ofMonitoringSloWindowsBasedSliGoodTotalRatioThreshold.getThreshold()- Parameters:
threshold- If window performance >= threshold, the window is counted as good. 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 MonitoringSloWindowsBasedSliGoodTotalRatioThreshold build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MonitoringSloWindowsBasedSliGoodTotalRatioThreshold>- Returns:
- a new instance of
MonitoringSloWindowsBasedSliGoodTotalRatioThreshold - Throws:
NullPointerException- if any required attribute was not provided
-
-