Class DevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.devopsguru.events.DevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps>
- Enclosing interface:
DevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps
@Stability(Experimental)
public static final class DevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.Builder
extends Object
implements software.amazon.jsii.Builder<DevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps>
A builder for
DevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofDevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.getAccountId()anomalies(List<? extends DevOpsGuruNewInsightOpen.Anomaly> anomalies) Sets the value ofDevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.getAnomalies()build()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) insightDescription(List<String> insightDescription) Sets the value ofDevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.getInsightId()insightName(List<String> insightName) Sets the value ofDevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.getInsightName()insightSeverity(List<String> insightSeverity) insightType(List<String> insightType) Sets the value ofDevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.getInsightType()insightUrl(List<String> insightUrl) Sets the value ofDevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.getInsightUrl()messageType(List<String> messageType) Sets the value ofDevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.getMessageType()Sets the value ofDevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.getRegion()resourceCollection(DevOpsGuruNewInsightOpen.ResourceCollection resourceCollection) Sets the value ofDevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.getStartTime()startTimeIso(List<String> startTimeIso) Sets the value ofDevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.getStartTimeIso()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountId
@Stability(Experimental) public DevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.Builder accountId(List<String> accountId) Sets the value ofDevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.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
-
anomalies
@Stability(Experimental) public DevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.Builder anomalies(List<? extends DevOpsGuruNewInsightOpen.Anomaly> anomalies) Sets the value ofDevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.getAnomalies()- Parameters:
anomalies- anomalies property. Specify an array of string values to match this event if the actual value of anomalies 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 DevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) - Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
insightDescription
@Stability(Experimental) public DevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.Builder insightDescription(List<String> insightDescription) - 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 DevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.Builder insightId(List<String> insightId) Sets the value ofDevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.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 DevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.Builder insightName(List<String> insightName) Sets the value ofDevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.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
-
insightSeverity
@Stability(Experimental) public DevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.Builder insightSeverity(List<String> insightSeverity) - Parameters:
insightSeverity- insightSeverity property. Specify an array of string values to match this event if the actual value of insightSeverity 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 DevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.Builder insightType(List<String> insightType) Sets the value ofDevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.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 DevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.Builder insightUrl(List<String> insightUrl) Sets the value ofDevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.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 DevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.Builder messageType(List<String> messageType) Sets the value ofDevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.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
-
region
@Stability(Experimental) public DevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.Builder region(List<String> region) Sets the value ofDevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.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 DevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.Builder resourceCollection(DevOpsGuruNewInsightOpen.ResourceCollection resourceCollection) - 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 DevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.Builder startTime(List<String> startTime) Sets the value ofDevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.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 DevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.Builder startTimeIso(List<String> startTimeIso) Sets the value ofDevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps.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
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps>- Returns:
- a new instance of
DevOpsGuruNewInsightOpen.DevOpsGuruNewInsightOpenProps - Throws:
NullPointerException- if any required attribute was not provided
-