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