Class MonitoringSloRequestBasedSliGoodTotalRatio.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.monitoring_slo.MonitoringSloRequestBasedSliGoodTotalRatio.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<MonitoringSloRequestBasedSliGoodTotalRatio>
- Enclosing interface:
- MonitoringSloRequestBasedSliGoodTotalRatio
@Stability(Stable) public static final class MonitoringSloRequestBasedSliGoodTotalRatio.Builder extends Object implements software.amazon.jsii.Builder<MonitoringSloRequestBasedSliGoodTotalRatio>
A builder forMonitoringSloRequestBasedSliGoodTotalRatio
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MonitoringSloRequestBasedSliGoodTotalRatio.BuilderbadServiceFilter(String badServiceFilter)Sets the value ofMonitoringSloRequestBasedSliGoodTotalRatio.getBadServiceFilter()MonitoringSloRequestBasedSliGoodTotalRatiobuild()Builds the configured instance.MonitoringSloRequestBasedSliGoodTotalRatio.BuildergoodServiceFilter(String goodServiceFilter)Sets the value ofMonitoringSloRequestBasedSliGoodTotalRatio.getGoodServiceFilter()MonitoringSloRequestBasedSliGoodTotalRatio.BuildertotalServiceFilter(String totalServiceFilter)Sets the value ofMonitoringSloRequestBasedSliGoodTotalRatio.getTotalServiceFilter()
-
-
-
Method Detail
-
badServiceFilter
@Stability(Stable) public MonitoringSloRequestBasedSliGoodTotalRatio.Builder badServiceFilter(String badServiceFilter)
Sets the value ofMonitoringSloRequestBasedSliGoodTotalRatio.getBadServiceFilter()- Parameters:
badServiceFilter- A TimeSeries monitoring filter quantifying bad service provided, either demanded service that was not provided or demanded service that was of inadequate quality. Must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE. Exactly two of 'good_service_filter','bad_service_filter','total_service_filter' must be set (good + bad = total is assumed). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#bad_service_filter MonitoringSlo#bad_service_filter}- Returns:
this
-
goodServiceFilter
@Stability(Stable) public MonitoringSloRequestBasedSliGoodTotalRatio.Builder goodServiceFilter(String goodServiceFilter)
Sets the value ofMonitoringSloRequestBasedSliGoodTotalRatio.getGoodServiceFilter()- Parameters:
goodServiceFilter- A TimeSeries monitoring filter quantifying good service provided. Must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE. Exactly two of 'good_service_filter','bad_service_filter','total_service_filter' must be set (good + bad = total is assumed). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#good_service_filter MonitoringSlo#good_service_filter}- Returns:
this
-
totalServiceFilter
@Stability(Stable) public MonitoringSloRequestBasedSliGoodTotalRatio.Builder totalServiceFilter(String totalServiceFilter)
Sets the value ofMonitoringSloRequestBasedSliGoodTotalRatio.getTotalServiceFilter()- Parameters:
totalServiceFilter- A TimeSeries monitoring filter quantifying total demanded service. Must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE. Exactly two of 'good_service_filter','bad_service_filter','total_service_filter' must be set (good + bad = total is assumed). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo#total_service_filter MonitoringSlo#total_service_filter}- Returns:
this
-
build
@Stability(Stable) public MonitoringSloRequestBasedSliGoodTotalRatio build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MonitoringSloRequestBasedSliGoodTotalRatio>- Returns:
- a new instance of
MonitoringSloRequestBasedSliGoodTotalRatio - Throws:
NullPointerException- if any required attribute was not provided
-
-