Class MonitoringAlertPolicyConditionsConditionThreshold.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.monitoring_alert_policy.MonitoringAlertPolicyConditionsConditionThreshold.Jsii$Proxy
-
- All Implemented Interfaces:
MonitoringAlertPolicyConditionsConditionThreshold,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- MonitoringAlertPolicyConditionsConditionThreshold
@Stability(Stable) @Internal public static final class MonitoringAlertPolicyConditionsConditionThreshold.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements MonitoringAlertPolicyConditionsConditionThreshold
An implementation forMonitoringAlertPolicyConditionsConditionThreshold
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.monitoring_alert_policy.MonitoringAlertPolicyConditionsConditionThreshold
MonitoringAlertPolicyConditionsConditionThreshold.Builder, MonitoringAlertPolicyConditionsConditionThreshold.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(MonitoringAlertPolicyConditionsConditionThreshold.Builder builder)Constructor that initializes the object based on literal property values passed by theMonitoringAlertPolicyConditionsConditionThreshold.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)ObjectgetAggregations()aggregations block.StringgetComparison()The comparison to apply between the time series (indicated by filter and aggregation) and the threshold (indicated by threshold_value).ObjectgetDenominatorAggregations()denominator_aggregations block.StringgetDenominatorFilter()A filter that identifies a time series that should be used as the denominator of a ratio that will be compared with the threshold.StringgetDuration()The amount of time that a time series must violate the threshold to be considered failing.StringgetEvaluationMissingData()A condition control that determines how metric-threshold conditions are evaluated when data stops arriving.StringgetFilter()A filter that identifies which time series should be compared with the threshold.The filter is similar to the one that is specified in the MetricService.ListTimeSeries request (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels.MonitoringAlertPolicyConditionsConditionThresholdForecastOptionsgetForecastOptions()forecast_options block.NumbergetThresholdValue()A value against which to compare the time series.MonitoringAlertPolicyConditionsConditionThresholdTriggergetTrigger()trigger block.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(MonitoringAlertPolicyConditionsConditionThreshold.Builder builder)
Constructor that initializes the object based on literal property values passed by theMonitoringAlertPolicyConditionsConditionThreshold.Builder.
-
-
Method Detail
-
getComparison
public final String getComparison()
Description copied from interface:MonitoringAlertPolicyConditionsConditionThresholdThe comparison to apply between the time series (indicated by filter and aggregation) and the threshold (indicated by threshold_value).The comparison is applied on each time series, with the time series on the left-hand side and the threshold on the right-hand side. Only COMPARISON_LT and COMPARISON_GT are supported currently. Possible values: ["COMPARISON_GT", "COMPARISON_GE", "COMPARISON_LT", "COMPARISON_LE", "COMPARISON_EQ", "COMPARISON_NE"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#comparison MonitoringAlertPolicy#comparison}
- Specified by:
getComparisonin interfaceMonitoringAlertPolicyConditionsConditionThreshold
-
getDuration
public final String getDuration()
Description copied from interface:MonitoringAlertPolicyConditionsConditionThresholdThe amount of time that a time series must violate the threshold to be considered failing.Currently, only values that are a multiple of a minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. When choosing a duration, it is useful to keep in mind the frequency of the underlying time series data (which may also be affected by any alignments specified in the aggregations field); a good duration is long enough so that a single outlier does not generate spurious alerts, but short enough that unhealthy states are detected and alerted on quickly. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#duration MonitoringAlertPolicy#duration}
- Specified by:
getDurationin interfaceMonitoringAlertPolicyConditionsConditionThreshold
-
getAggregations
public final Object getAggregations()
Description copied from interface:MonitoringAlertPolicyConditionsConditionThresholdaggregations block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#aggregations MonitoringAlertPolicy#aggregations}
- Specified by:
getAggregationsin interfaceMonitoringAlertPolicyConditionsConditionThreshold
-
getDenominatorAggregations
public final Object getDenominatorAggregations()
Description copied from interface:MonitoringAlertPolicyConditionsConditionThresholddenominator_aggregations block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#denominator_aggregations MonitoringAlertPolicy#denominator_aggregations}
- Specified by:
getDenominatorAggregationsin interfaceMonitoringAlertPolicyConditionsConditionThreshold
-
getDenominatorFilter
public final String getDenominatorFilter()
Description copied from interface:MonitoringAlertPolicyConditionsConditionThresholdA filter that identifies a time series that should be used as the denominator of a ratio that will be compared with the threshold.If a denominator_filter is specified, the time series specified by the filter field will be used as the numerator.The filter is similar to the one that is specified in the MetricService.ListTimeSeries request (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#denominator_filter MonitoringAlertPolicy#denominator_filter}
- Specified by:
getDenominatorFilterin interfaceMonitoringAlertPolicyConditionsConditionThreshold
-
getEvaluationMissingData
public final String getEvaluationMissingData()
Description copied from interface:MonitoringAlertPolicyConditionsConditionThresholdA condition control that determines how metric-threshold conditions are evaluated when data stops arriving. Possible values: ["EVALUATION_MISSING_DATA_INACTIVE", "EVALUATION_MISSING_DATA_ACTIVE", "EVALUATION_MISSING_DATA_NO_OP"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#evaluation_missing_data MonitoringAlertPolicy#evaluation_missing_data}
- Specified by:
getEvaluationMissingDatain interfaceMonitoringAlertPolicyConditionsConditionThreshold
-
getFilter
public final String getFilter()
Description copied from interface:MonitoringAlertPolicyConditionsConditionThresholdA filter that identifies which time series should be compared with the threshold.The filter is similar to the one that is specified in the MetricService.ListTimeSeries request (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#filter MonitoringAlertPolicy#filter}
- Specified by:
getFilterin interfaceMonitoringAlertPolicyConditionsConditionThreshold
-
getForecastOptions
public final MonitoringAlertPolicyConditionsConditionThresholdForecastOptions getForecastOptions()
Description copied from interface:MonitoringAlertPolicyConditionsConditionThresholdforecast_options block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#forecast_options MonitoringAlertPolicy#forecast_options}
- Specified by:
getForecastOptionsin interfaceMonitoringAlertPolicyConditionsConditionThreshold
-
getThresholdValue
public final Number getThresholdValue()
Description copied from interface:MonitoringAlertPolicyConditionsConditionThresholdA value against which to compare the time series.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#threshold_value MonitoringAlertPolicy#threshold_value}
- Specified by:
getThresholdValuein interfaceMonitoringAlertPolicyConditionsConditionThreshold
-
getTrigger
public final MonitoringAlertPolicyConditionsConditionThresholdTrigger getTrigger()
Description copied from interface:MonitoringAlertPolicyConditionsConditionThresholdtrigger block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_alert_policy#trigger MonitoringAlertPolicy#trigger}
- Specified by:
getTriggerin interfaceMonitoringAlertPolicyConditionsConditionThreshold
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-