Class MonitoringSloBasicSliLatency.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.monitoring_slo.MonitoringSloBasicSliLatency.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<MonitoringSloBasicSliLatency>
- Enclosing interface:
- MonitoringSloBasicSliLatency
@Stability(Stable) public static final class MonitoringSloBasicSliLatency.Builder extends Object implements software.amazon.jsii.Builder<MonitoringSloBasicSliLatency>
A builder forMonitoringSloBasicSliLatency
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MonitoringSloBasicSliLatencybuild()Builds the configured instance.MonitoringSloBasicSliLatency.Builderthreshold(String threshold)Sets the value ofMonitoringSloBasicSliLatency.getThreshold()
-
-
-
Method Detail
-
threshold
@Stability(Stable) public MonitoringSloBasicSliLatency.Builder threshold(String threshold)
Sets the value ofMonitoringSloBasicSliLatency.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 MonitoringSloBasicSliLatency build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MonitoringSloBasicSliLatency>- Returns:
- a new instance of
MonitoringSloBasicSliLatency - Throws:
NullPointerException- if any required attribute was not provided
-
-