Class DevOpsGuruNewInsightOpen.AnomalySourceMetadata.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.devopsguru.events.DevOpsGuruNewInsightOpen.AnomalySourceMetadata.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DevOpsGuruNewInsightOpen.AnomalySourceMetadata>
- Enclosing interface:
DevOpsGuruNewInsightOpen.AnomalySourceMetadata
@Stability(Experimental)
public static final class DevOpsGuruNewInsightOpen.AnomalySourceMetadata.Builder
extends Object
implements software.amazon.jsii.Builder<DevOpsGuruNewInsightOpen.AnomalySourceMetadata>
A builder for
DevOpsGuruNewInsightOpen.AnomalySourceMetadata-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofDevOpsGuruNewInsightOpen.AnomalySourceMetadata.getSource()sourceResourceArn(List<String> sourceResourceArn) Sets the value ofDevOpsGuruNewInsightOpen.AnomalySourceMetadata.getSourceResourceArn()sourceResourceType(List<String> sourceResourceType) Sets the value ofDevOpsGuruNewInsightOpen.AnomalySourceMetadata.getSourceResourceType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
source
@Stability(Experimental) public DevOpsGuruNewInsightOpen.AnomalySourceMetadata.Builder source(List<String> source) Sets the value ofDevOpsGuruNewInsightOpen.AnomalySourceMetadata.getSource()- Parameters:
source- source property. Specify an array of string values to match this event if the actual value of source is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sourceResourceArn
@Stability(Experimental) public DevOpsGuruNewInsightOpen.AnomalySourceMetadata.Builder sourceResourceArn(List<String> sourceResourceArn) Sets the value ofDevOpsGuruNewInsightOpen.AnomalySourceMetadata.getSourceResourceArn()- Parameters:
sourceResourceArn- sourceResourceArn property. Specify an array of string values to match this event if the actual value of sourceResourceArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sourceResourceType
@Stability(Experimental) public DevOpsGuruNewInsightOpen.AnomalySourceMetadata.Builder sourceResourceType(List<String> sourceResourceType) Sets the value ofDevOpsGuruNewInsightOpen.AnomalySourceMetadata.getSourceResourceType()- Parameters:
sourceResourceType- sourceResourceType property. Specify an array of string values to match this event if the actual value of sourceResourceType 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.AnomalySourceMetadata>- Returns:
- a new instance of
DevOpsGuruNewInsightOpen.AnomalySourceMetadata - Throws:
NullPointerException- if any required attribute was not provided
-