Class DevOpsGuruNewInsightOpen.DataIdentifiers.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.devopsguru.events.DevOpsGuruNewInsightOpen.DataIdentifiers.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DevOpsGuruNewInsightOpen.DataIdentifiers>
- Enclosing interface:
DevOpsGuruNewInsightOpen.DataIdentifiers
@Stability(Experimental)
public static final class DevOpsGuruNewInsightOpen.DataIdentifiers.Builder
extends Object
implements software.amazon.jsii.Builder<DevOpsGuruNewInsightOpen.DataIdentifiers>
A builder for
DevOpsGuruNewInsightOpen.DataIdentifiers-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalarmCondition(DevOpsGuruNewInsightOpen.AlarmCondition alarmCondition) Sets the value ofDevOpsGuruNewInsightOpen.DataIdentifiers.getAlarmCondition()build()Builds the configured instance.dimensions(List<? extends DevOpsGuruNewInsightOpen.CloudWatchDimension> dimensions) Sets the value ofDevOpsGuruNewInsightOpen.DataIdentifiers.getDimensions()metricDisplayName(List<String> metricDisplayName) Sets the value ofDevOpsGuruNewInsightOpen.DataIdentifiers.getMetricDisplayName()metricQuery(DevOpsGuruNewInsightOpen.MetricQuery metricQuery) Sets the value ofDevOpsGuruNewInsightOpen.DataIdentifiers.getMetricQuery()Sets the value ofDevOpsGuruNewInsightOpen.DataIdentifiers.getName()Sets the value ofDevOpsGuruNewInsightOpen.DataIdentifiers.getNamespace()Sets the value ofDevOpsGuruNewInsightOpen.DataIdentifiers.getPeriod()resourceId(List<String> resourceId) Sets the value ofDevOpsGuruNewInsightOpen.DataIdentifiers.getResourceId()resourceType(List<String> resourceType) Sets the value ofDevOpsGuruNewInsightOpen.DataIdentifiers.getResourceType()Sets the value ofDevOpsGuruNewInsightOpen.DataIdentifiers.getStat()Sets the value ofDevOpsGuruNewInsightOpen.DataIdentifiers.getUnit()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alarmCondition
@Stability(Experimental) public DevOpsGuruNewInsightOpen.DataIdentifiers.Builder alarmCondition(DevOpsGuruNewInsightOpen.AlarmCondition alarmCondition) Sets the value ofDevOpsGuruNewInsightOpen.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 DevOpsGuruNewInsightOpen.DataIdentifiers.Builder dimensions(List<? extends DevOpsGuruNewInsightOpen.CloudWatchDimension> dimensions) Sets the value ofDevOpsGuruNewInsightOpen.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 DevOpsGuruNewInsightOpen.DataIdentifiers.Builder metricDisplayName(List<String> metricDisplayName) Sets the value ofDevOpsGuruNewInsightOpen.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 DevOpsGuruNewInsightOpen.DataIdentifiers.Builder metricQuery(DevOpsGuruNewInsightOpen.MetricQuery metricQuery) Sets the value ofDevOpsGuruNewInsightOpen.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 DevOpsGuruNewInsightOpen.DataIdentifiers.Builder name(List<String> name) Sets the value ofDevOpsGuruNewInsightOpen.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 DevOpsGuruNewInsightOpen.DataIdentifiers.Builder namespace(List<String> namespace) Sets the value ofDevOpsGuruNewInsightOpen.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 DevOpsGuruNewInsightOpen.DataIdentifiers.Builder period(List<String> period) Sets the value ofDevOpsGuruNewInsightOpen.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 DevOpsGuruNewInsightOpen.DataIdentifiers.Builder resourceId(List<String> resourceId) Sets the value ofDevOpsGuruNewInsightOpen.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 DevOpsGuruNewInsightOpen.DataIdentifiers.Builder resourceType(List<String> resourceType) Sets the value ofDevOpsGuruNewInsightOpen.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 DevOpsGuruNewInsightOpen.DataIdentifiers.Builder stat(List<String> stat) Sets the value ofDevOpsGuruNewInsightOpen.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 DevOpsGuruNewInsightOpen.DataIdentifiers.Builder unit(List<String> unit) Sets the value ofDevOpsGuruNewInsightOpen.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<DevOpsGuruNewInsightOpen.DataIdentifiers>- Returns:
- a new instance of
DevOpsGuruNewInsightOpen.DataIdentifiers - Throws:
NullPointerException- if any required attribute was not provided
-