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