Class DevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.devopsguru.events.DevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps>
- Enclosing interface:
DevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps
@Stability(Experimental)
public static final class DevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<DevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanomalies(List<? extends DevOpsGuruNewAnomalyAssociation.Anomaly> anomalies) build()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) resourceCollection(DevOpsGuruNewAnomalyAssociation.ResourceCollection resourceCollection) startTimeIso(List<String> startTimeIso)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountId
@Stability(Experimental) public DevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.Builder accountId(List<String> accountId) Sets the value ofDevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.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 DevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.Builder anomalies(List<? extends DevOpsGuruNewAnomalyAssociation.Anomaly> anomalies) Sets the value ofDevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.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 DevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofDevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
insightDescription
@Stability(Experimental) public DevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.Builder insightDescription(List<String> insightDescription) Sets the value ofDevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.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 DevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.Builder insightId(List<String> insightId) Sets the value ofDevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.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 DevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.Builder insightName(List<String> insightName) Sets the value ofDevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.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 DevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.Builder insightType(List<String> insightType) Sets the value ofDevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.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 DevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.Builder insightUrl(List<String> insightUrl) Sets the value ofDevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.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 DevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.Builder messageType(List<String> messageType) Sets the value ofDevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.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 DevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.Builder region(List<String> region) - 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 DevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.Builder resourceCollection(DevOpsGuruNewAnomalyAssociation.ResourceCollection resourceCollection) Sets the value ofDevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.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 DevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.Builder startTime(List<String> startTime) Sets the value ofDevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.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 DevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.Builder startTimeIso(List<String> startTimeIso) Sets the value ofDevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps.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 DevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps>- Returns:
- a new instance of
DevOpsGuruNewAnomalyAssociation.DevOpsGuruNewAnomalyAssociationProps - Throws:
NullPointerException- if any required attribute was not provided
-