Class MonitoringUptimeCheckConfigContentMatchers.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.monitoring_uptime_check_config.MonitoringUptimeCheckConfigContentMatchers.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<MonitoringUptimeCheckConfigContentMatchers>
- Enclosing interface:
- MonitoringUptimeCheckConfigContentMatchers
@Stability(Stable) public static final class MonitoringUptimeCheckConfigContentMatchers.Builder extends Object implements software.amazon.jsii.Builder<MonitoringUptimeCheckConfigContentMatchers>
A builder forMonitoringUptimeCheckConfigContentMatchers
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MonitoringUptimeCheckConfigContentMatchersbuild()Builds the configured instance.MonitoringUptimeCheckConfigContentMatchers.Buildercontent(String content)Sets the value ofMonitoringUptimeCheckConfigContentMatchers.getContent()MonitoringUptimeCheckConfigContentMatchers.BuilderjsonPathMatcher(MonitoringUptimeCheckConfigContentMatchersJsonPathMatcher jsonPathMatcher)Sets the value ofMonitoringUptimeCheckConfigContentMatchers.getJsonPathMatcher()MonitoringUptimeCheckConfigContentMatchers.Buildermatcher(String matcher)Sets the value ofMonitoringUptimeCheckConfigContentMatchers.getMatcher()
-
-
-
Method Detail
-
content
@Stability(Stable) public MonitoringUptimeCheckConfigContentMatchers.Builder content(String content)
Sets the value ofMonitoringUptimeCheckConfigContentMatchers.getContent()- Parameters:
content- String or regex content to match (max 1024 bytes). This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_uptime_check_config#content MonitoringUptimeCheckConfig#content}- Returns:
this
-
jsonPathMatcher
@Stability(Stable) public MonitoringUptimeCheckConfigContentMatchers.Builder jsonPathMatcher(MonitoringUptimeCheckConfigContentMatchersJsonPathMatcher jsonPathMatcher)
Sets the value ofMonitoringUptimeCheckConfigContentMatchers.getJsonPathMatcher()- Parameters:
jsonPathMatcher- json_path_matcher block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_uptime_check_config#json_path_matcher MonitoringUptimeCheckConfig#json_path_matcher}- Returns:
this
-
matcher
@Stability(Stable) public MonitoringUptimeCheckConfigContentMatchers.Builder matcher(String matcher)
Sets the value ofMonitoringUptimeCheckConfigContentMatchers.getMatcher()- Parameters:
matcher- The type of content matcher that will be applied to the server output, compared to the content string when the check is run. Default value: "CONTAINS_STRING" Possible values: ["CONTAINS_STRING", "NOT_CONTAINS_STRING", "MATCHES_REGEX", "NOT_MATCHES_REGEX", "MATCHES_JSON_PATH", "NOT_MATCHES_JSON_PATH"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_uptime_check_config#matcher MonitoringUptimeCheckConfig#matcher}- Returns:
this
-
build
@Stability(Stable) public MonitoringUptimeCheckConfigContentMatchers build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MonitoringUptimeCheckConfigContentMatchers>- Returns:
- a new instance of
MonitoringUptimeCheckConfigContentMatchers - Throws:
NullPointerException- if any required attribute was not provided
-
-