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