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