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