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