Class DevOpsGuruInsightSeverityUpgraded.DataIdentifiers.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.devopsguru.events.DevOpsGuruInsightSeverityUpgraded.DataIdentifiers.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DevOpsGuruInsightSeverityUpgraded.DataIdentifiers>
- Enclosing interface:
DevOpsGuruInsightSeverityUpgraded.DataIdentifiers
@Stability(Experimental)
public static final class DevOpsGuruInsightSeverityUpgraded.DataIdentifiers.Builder
extends Object
implements software.amazon.jsii.Builder<DevOpsGuruInsightSeverityUpgraded.DataIdentifiers>
A builder for
DevOpsGuruInsightSeverityUpgraded.DataIdentifiers-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalarmCondition(DevOpsGuruInsightSeverityUpgraded.AlarmCondition alarmCondition) Sets the value ofDevOpsGuruInsightSeverityUpgraded.DataIdentifiers.getAlarmCondition()build()Builds the configured instance.dimensions(List<? extends DevOpsGuruInsightSeverityUpgraded.CloudWatchDimension> dimensions) Sets the value ofDevOpsGuruInsightSeverityUpgraded.DataIdentifiers.getDimensions()metricDisplayName(List<String> metricDisplayName) Sets the value ofDevOpsGuruInsightSeverityUpgraded.DataIdentifiers.getMetricDisplayName()metricQuery(DevOpsGuruInsightSeverityUpgraded.MetricQuery metricQuery) Sets the value ofDevOpsGuruInsightSeverityUpgraded.DataIdentifiers.getMetricQuery()Sets the value ofDevOpsGuruInsightSeverityUpgraded.DataIdentifiers.getName()Sets the value ofDevOpsGuruInsightSeverityUpgraded.DataIdentifiers.getNamespace()Sets the value ofDevOpsGuruInsightSeverityUpgraded.DataIdentifiers.getPeriod()resourceId(List<String> resourceId) Sets the value ofDevOpsGuruInsightSeverityUpgraded.DataIdentifiers.getResourceId()resourceType(List<String> resourceType) Sets the value ofDevOpsGuruInsightSeverityUpgraded.DataIdentifiers.getResourceType()Sets the value ofDevOpsGuruInsightSeverityUpgraded.DataIdentifiers.getStat()Sets the value ofDevOpsGuruInsightSeverityUpgraded.DataIdentifiers.getUnit()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alarmCondition
@Stability(Experimental) public DevOpsGuruInsightSeverityUpgraded.DataIdentifiers.Builder alarmCondition(DevOpsGuruInsightSeverityUpgraded.AlarmCondition alarmCondition) Sets the value ofDevOpsGuruInsightSeverityUpgraded.DataIdentifiers.getAlarmCondition()- Parameters:
alarmCondition- alarmCondition property. Specify an array of string values to match this event if the actual value of alarmCondition is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
dimensions
@Stability(Experimental) public DevOpsGuruInsightSeverityUpgraded.DataIdentifiers.Builder dimensions(List<? extends DevOpsGuruInsightSeverityUpgraded.CloudWatchDimension> dimensions) Sets the value ofDevOpsGuruInsightSeverityUpgraded.DataIdentifiers.getDimensions()- Parameters:
dimensions- dimensions property. Specify an array of string values to match this event if the actual value of dimensions is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
metricDisplayName
@Stability(Experimental) public DevOpsGuruInsightSeverityUpgraded.DataIdentifiers.Builder metricDisplayName(List<String> metricDisplayName) Sets the value ofDevOpsGuruInsightSeverityUpgraded.DataIdentifiers.getMetricDisplayName()- Parameters:
metricDisplayName- metricDisplayName property. Specify an array of string values to match this event if the actual value of metricDisplayName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
metricQuery
@Stability(Experimental) public DevOpsGuruInsightSeverityUpgraded.DataIdentifiers.Builder metricQuery(DevOpsGuruInsightSeverityUpgraded.MetricQuery metricQuery) Sets the value ofDevOpsGuruInsightSeverityUpgraded.DataIdentifiers.getMetricQuery()- Parameters:
metricQuery- metricQuery property. Specify an array of string values to match this event if the actual value of metricQuery is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
name
@Stability(Experimental) public DevOpsGuruInsightSeverityUpgraded.DataIdentifiers.Builder name(List<String> name) Sets the value ofDevOpsGuruInsightSeverityUpgraded.DataIdentifiers.getName()- Parameters:
name- name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
namespace
@Stability(Experimental) public DevOpsGuruInsightSeverityUpgraded.DataIdentifiers.Builder namespace(List<String> namespace) Sets the value ofDevOpsGuruInsightSeverityUpgraded.DataIdentifiers.getNamespace()- Parameters:
namespace- namespace property. Specify an array of string values to match this event if the actual value of namespace is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
period
@Stability(Experimental) public DevOpsGuruInsightSeverityUpgraded.DataIdentifiers.Builder period(List<String> period) Sets the value ofDevOpsGuruInsightSeverityUpgraded.DataIdentifiers.getPeriod()- Parameters:
period- period property. Specify an array of string values to match this event if the actual value of period is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
resourceId
@Stability(Experimental) public DevOpsGuruInsightSeverityUpgraded.DataIdentifiers.Builder resourceId(List<String> resourceId) Sets the value ofDevOpsGuruInsightSeverityUpgraded.DataIdentifiers.getResourceId()- Parameters:
resourceId- ResourceId property. Specify an array of string values to match this event if the actual value of ResourceId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
resourceType
@Stability(Experimental) public DevOpsGuruInsightSeverityUpgraded.DataIdentifiers.Builder resourceType(List<String> resourceType) Sets the value ofDevOpsGuruInsightSeverityUpgraded.DataIdentifiers.getResourceType()- Parameters:
resourceType- ResourceType property. Specify an array of string values to match this event if the actual value of ResourceType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
stat
@Stability(Experimental) public DevOpsGuruInsightSeverityUpgraded.DataIdentifiers.Builder stat(List<String> stat) Sets the value ofDevOpsGuruInsightSeverityUpgraded.DataIdentifiers.getStat()- Parameters:
stat- stat property. Specify an array of string values to match this event if the actual value of stat is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
unit
@Stability(Experimental) public DevOpsGuruInsightSeverityUpgraded.DataIdentifiers.Builder unit(List<String> unit) Sets the value ofDevOpsGuruInsightSeverityUpgraded.DataIdentifiers.getUnit()- Parameters:
unit- unit property. Specify an array of string values to match this event if the actual value of unit 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.DataIdentifiers>- Returns:
- a new instance of
DevOpsGuruInsightSeverityUpgraded.DataIdentifiers - Throws:
NullPointerException- if any required attribute was not provided
-