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