Class DevOpsGuruInsightSeverityUpgraded.MetricQuery.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.devopsguru.events.DevOpsGuruInsightSeverityUpgraded.MetricQuery.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DevOpsGuruInsightSeverityUpgraded.MetricQuery>
- Enclosing interface:
DevOpsGuruInsightSeverityUpgraded.MetricQuery
@Stability(Experimental)
public static final class DevOpsGuruInsightSeverityUpgraded.MetricQuery.Builder
extends Object
implements software.amazon.jsii.Builder<DevOpsGuruInsightSeverityUpgraded.MetricQuery>
A builder for
DevOpsGuruInsightSeverityUpgraded.MetricQuery-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofDevOpsGuruInsightSeverityUpgraded.MetricQuery.getGroupBy()Sets the value ofDevOpsGuruInsightSeverityUpgraded.MetricQuery.getMetric()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
groupBy
@Stability(Experimental) public DevOpsGuruInsightSeverityUpgraded.MetricQuery.Builder groupBy(DevOpsGuruInsightSeverityUpgraded.GroupBy groupBy) Sets the value ofDevOpsGuruInsightSeverityUpgraded.MetricQuery.getGroupBy()- Parameters:
groupBy- groupBy property. Specify an array of string values to match this event if the actual value of groupBy is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
metric
@Stability(Experimental) public DevOpsGuruInsightSeverityUpgraded.MetricQuery.Builder metric(List<String> metric) Sets the value ofDevOpsGuruInsightSeverityUpgraded.MetricQuery.getMetric()- Parameters:
metric- metric property. Specify an array of string values to match this event if the actual value of metric is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DevOpsGuruInsightSeverityUpgraded.MetricQuery>- Returns:
- a new instance of
DevOpsGuruInsightSeverityUpgraded.MetricQuery - Throws:
NullPointerException- if any required attribute was not provided
-