Class DevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.devopsguru.events.DevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps>
- Enclosing interface:
DevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps
@Stability(Experimental)
public static final class DevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.Builder
extends Object
implements software.amazon.jsii.Builder<DevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) insightDescription(List<String> insightDescription) insightName(List<String> insightName) insightType(List<String> insightType) insightUrl(List<String> insightUrl) messageType(List<String> messageType) recommendations(List<? extends DevOpsGuruNewRecommendationCreated.Recommendation> recommendations) resourceCollection(DevOpsGuruNewRecommendationCreated.ResourceCollection resourceCollection) startTimeIso(List<String> startTimeIso)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountId
@Stability(Experimental) public DevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.Builder accountId(List<String> accountId) Sets the value ofDevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.getAccountId()- Parameters:
accountId- accountId property. Specify an array of string values to match this event if the actual value of accountId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public DevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofDevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
insightDescription
@Stability(Experimental) public DevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.Builder insightDescription(List<String> insightDescription) Sets the value ofDevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.getInsightDescription()- Parameters:
insightDescription- insightDescription property. Specify an array of string values to match this event if the actual value of insightDescription is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
insightId
@Stability(Experimental) public DevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.Builder insightId(List<String> insightId) Sets the value ofDevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.getInsightId()- Parameters:
insightId- insightId property. Specify an array of string values to match this event if the actual value of insightId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
insightName
@Stability(Experimental) public DevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.Builder insightName(List<String> insightName) Sets the value ofDevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.getInsightName()- Parameters:
insightName- insightName property. Specify an array of string values to match this event if the actual value of insightName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
insightType
@Stability(Experimental) public DevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.Builder insightType(List<String> insightType) Sets the value ofDevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.getInsightType()- Parameters:
insightType- insightType property. Specify an array of string values to match this event if the actual value of insightType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
insightUrl
@Stability(Experimental) public DevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.Builder insightUrl(List<String> insightUrl) Sets the value ofDevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.getInsightUrl()- Parameters:
insightUrl- insightUrl property. Specify an array of string values to match this event if the actual value of insightUrl is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
messageType
@Stability(Experimental) public DevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.Builder messageType(List<String> messageType) Sets the value ofDevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.getMessageType()- Parameters:
messageType- messageType property. Specify an array of string values to match this event if the actual value of messageType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
recommendations
@Stability(Experimental) public DevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.Builder recommendations(List<? extends DevOpsGuruNewRecommendationCreated.Recommendation> recommendations) Sets the value ofDevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.getRecommendations()- Parameters:
recommendations- recommendations property. Specify an array of string values to match this event if the actual value of recommendations is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
region
@Stability(Experimental) public DevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.Builder region(List<String> region) Sets the value ofDevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.getRegion()- Parameters:
region- region property. Specify an array of string values to match this event if the actual value of region is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
resourceCollection
@Stability(Experimental) public DevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.Builder resourceCollection(DevOpsGuruNewRecommendationCreated.ResourceCollection resourceCollection) Sets the value ofDevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.getResourceCollection()- Parameters:
resourceCollection- resourceCollection property. Specify an array of string values to match this event if the actual value of resourceCollection is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
startTime
@Stability(Experimental) public DevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.Builder startTime(List<String> startTime) Sets the value ofDevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.getStartTime()- Parameters:
startTime- startTime property. Specify an array of string values to match this event if the actual value of startTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
startTimeIso
@Stability(Experimental) public DevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.Builder startTimeIso(List<String> startTimeIso) Sets the value ofDevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps.getStartTimeIso()- Parameters:
startTimeIso- startTimeISO property. Specify an array of string values to match this event if the actual value of startTimeISO is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
@Stability(Experimental) public DevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps>- Returns:
- a new instance of
DevOpsGuruNewRecommendationCreated.DevOpsGuruNewRecommendationCreatedProps - Throws:
NullPointerException- if any required attribute was not provided
-