Class DevOpsGuruNewInsightOpen.Anomaly.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.devopsguru.events.DevOpsGuruNewInsightOpen.Anomaly.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DevOpsGuruNewInsightOpen.Anomaly>
- Enclosing interface:
DevOpsGuruNewInsightOpen.Anomaly
@Stability(Experimental)
public static final class DevOpsGuruNewInsightOpen.Anomaly.Builder
extends Object
implements software.amazon.jsii.Builder<DevOpsGuruNewInsightOpen.Anomaly>
A builder for
DevOpsGuruNewInsightOpen.Anomaly-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanomalyResources(List<? extends DevOpsGuruNewInsightOpen.AnomalyResource> anomalyResources) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getAnomalyResources()anomalySeverity(List<String> anomalySeverity) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getAnomalySeverity()associatedResourceArns(List<String> associatedResourceArns) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getAssociatedResourceArns()build()Builds the configured instance.description(List<String> description) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getDescription()earliestImpactTime(List<String> earliestImpactTime) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getEarliestImpactTime()earliestImpactTimeIso(List<String> earliestImpactTimeIso) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getEarliestImpactTimeIso()Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getEndTime()Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getId()latestImpactTime(List<String> latestImpactTime) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getLatestImpactTime()latestImpactTimeIso(List<String> latestImpactTimeIso) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getLatestImpactTimeIso()Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getLimit()Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getOpenTime()openTimeIso(List<String> openTimeIso) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getOpenTimeIso()sourceDetails(List<? extends DevOpsGuruNewInsightOpen.SourceDetail> sourceDetails) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getSourceDetails()sourceMetadata(DevOpsGuruNewInsightOpen.AnomalySourceMetadata sourceMetadata) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getSourceMetadata()Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getStartTime()startTimeIso(List<String> startTimeIso) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getStartTimeIso()Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
anomalyResources
@Stability(Experimental) public DevOpsGuruNewInsightOpen.Anomaly.Builder anomalyResources(List<? extends DevOpsGuruNewInsightOpen.AnomalyResource> anomalyResources) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getAnomalyResources()- Parameters:
anomalyResources- anomalyResources property. Specify an array of string values to match this event if the actual value of anomalyResources is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
anomalySeverity
@Stability(Experimental) public DevOpsGuruNewInsightOpen.Anomaly.Builder anomalySeverity(List<String> anomalySeverity) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getAnomalySeverity()- Parameters:
anomalySeverity- anomalySeverity property. Specify an array of string values to match this event if the actual value of anomalySeverity is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
associatedResourceArns
@Stability(Experimental) public DevOpsGuruNewInsightOpen.Anomaly.Builder associatedResourceArns(List<String> associatedResourceArns) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getAssociatedResourceArns()- Parameters:
associatedResourceArns- associatedResourceArns property. Specify an array of string values to match this event if the actual value of associatedResourceArns is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
description
@Stability(Experimental) public DevOpsGuruNewInsightOpen.Anomaly.Builder description(List<String> description) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.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
-
earliestImpactTime
@Stability(Experimental) public DevOpsGuruNewInsightOpen.Anomaly.Builder earliestImpactTime(List<String> earliestImpactTime) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getEarliestImpactTime()- Parameters:
earliestImpactTime- earliestImpactTime property. Specify an array of string values to match this event if the actual value of earliestImpactTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
earliestImpactTimeIso
@Stability(Experimental) public DevOpsGuruNewInsightOpen.Anomaly.Builder earliestImpactTimeIso(List<String> earliestImpactTimeIso) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getEarliestImpactTimeIso()- Parameters:
earliestImpactTimeIso- earliestImpactTimeISO property. Specify an array of string values to match this event if the actual value of earliestImpactTimeISO 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 DevOpsGuruNewInsightOpen.Anomaly.Builder endTime(List<String> endTime) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.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
-
id
Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getId()- Parameters:
id- id property. Specify an array of string values to match this event if the actual value of id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
latestImpactTime
@Stability(Experimental) public DevOpsGuruNewInsightOpen.Anomaly.Builder latestImpactTime(List<String> latestImpactTime) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getLatestImpactTime()- Parameters:
latestImpactTime- latestImpactTime property. Specify an array of string values to match this event if the actual value of latestImpactTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
latestImpactTimeIso
@Stability(Experimental) public DevOpsGuruNewInsightOpen.Anomaly.Builder latestImpactTimeIso(List<String> latestImpactTimeIso) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getLatestImpactTimeIso()- Parameters:
latestImpactTimeIso- latestImpactTimeISO property. Specify an array of string values to match this event if the actual value of latestImpactTimeISO is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
limit
Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getLimit()- Parameters:
limit- limit property. Specify an array of string values to match this event if the actual value of limit is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
openTime
@Stability(Experimental) public DevOpsGuruNewInsightOpen.Anomaly.Builder openTime(List<String> openTime) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getOpenTime()- Parameters:
openTime- openTime property. Specify an array of string values to match this event if the actual value of openTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
openTimeIso
@Stability(Experimental) public DevOpsGuruNewInsightOpen.Anomaly.Builder openTimeIso(List<String> openTimeIso) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getOpenTimeIso()- Parameters:
openTimeIso- openTimeISO property. Specify an array of string values to match this event if the actual value of openTimeISO is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sourceDetails
@Stability(Experimental) public DevOpsGuruNewInsightOpen.Anomaly.Builder sourceDetails(List<? extends DevOpsGuruNewInsightOpen.SourceDetail> sourceDetails) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getSourceDetails()- Parameters:
sourceDetails- sourceDetails property. Specify an array of string values to match this event if the actual value of sourceDetails is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sourceMetadata
@Stability(Experimental) public DevOpsGuruNewInsightOpen.Anomaly.Builder sourceMetadata(DevOpsGuruNewInsightOpen.AnomalySourceMetadata sourceMetadata) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getSourceMetadata()- Parameters:
sourceMetadata- sourceMetadata property. Specify an array of string values to match this event if the actual value of sourceMetadata 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.Anomaly.Builder startTime(List<String> startTime) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.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.Anomaly.Builder startTimeIso(List<String> startTimeIso) Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.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
-
type
Sets the value ofDevOpsGuruNewInsightOpen.Anomaly.getType()- Parameters:
type- type property. Specify an array of string values to match this event if the actual value of type 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.Anomaly>- Returns:
- a new instance of
DevOpsGuruNewInsightOpen.Anomaly - Throws:
NullPointerException- if any required attribute was not provided
-