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