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