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