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