Class DevOpsGuruNewAnomalyAssociation.GroupBy.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.devopsguru.events.DevOpsGuruNewAnomalyAssociation.GroupBy.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DevOpsGuruNewAnomalyAssociation.GroupBy>
- Enclosing interface:
DevOpsGuruNewAnomalyAssociation.GroupBy
@Stability(Experimental)
public static final class DevOpsGuruNewAnomalyAssociation.GroupBy.Builder
extends Object
implements software.amazon.jsii.Builder<DevOpsGuruNewAnomalyAssociation.GroupBy>
A builder for
DevOpsGuruNewAnomalyAssociation.GroupBy-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dimensions(List<String> dimensions) Sets the value ofDevOpsGuruNewAnomalyAssociation.GroupBy.getDimensions()Sets the value ofDevOpsGuruNewAnomalyAssociation.GroupBy.getGroup()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dimensions
@Stability(Experimental) public DevOpsGuruNewAnomalyAssociation.GroupBy.Builder dimensions(List<String> dimensions) Sets the value ofDevOpsGuruNewAnomalyAssociation.GroupBy.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
-
group
@Stability(Experimental) public DevOpsGuruNewAnomalyAssociation.GroupBy.Builder group(List<String> group) Sets the value ofDevOpsGuruNewAnomalyAssociation.GroupBy.getGroup()- Parameters:
group- group property. Specify an array of string values to match this event if the actual value of group 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.GroupBy>- Returns:
- a new instance of
DevOpsGuruNewAnomalyAssociation.GroupBy - Throws:
NullPointerException- if any required attribute was not provided
-