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