Class DevOpsGuruInsightSeverityUpgraded.Anomaly.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.devopsguru.events.DevOpsGuruInsightSeverityUpgraded.Anomaly.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DevOpsGuruInsightSeverityUpgraded.Anomaly>
- Enclosing interface:
DevOpsGuruInsightSeverityUpgraded.Anomaly
@Stability(Experimental)
public static final class DevOpsGuruInsightSeverityUpgraded.Anomaly.Builder
extends Object
implements software.amazon.jsii.Builder<DevOpsGuruInsightSeverityUpgraded.Anomaly>
A builder for
DevOpsGuruInsightSeverityUpgraded.Anomaly-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanomalyResources(List<? extends DevOpsGuruInsightSeverityUpgraded.AnomalyResource> anomalyResources) Sets the value ofDevOpsGuruInsightSeverityUpgraded.Anomaly.getAnomalyResources()anomalySeverity(List<String> anomalySeverity) Sets the value ofDevOpsGuruInsightSeverityUpgraded.Anomaly.getAnomalySeverity()associatedResourceArns(List<String> associatedResourceArns) Sets the value ofDevOpsGuruInsightSeverityUpgraded.Anomaly.getAssociatedResourceArns()build()Builds the configured instance.description(List<String> description) Sets the value ofDevOpsGuruInsightSeverityUpgraded.Anomaly.getDescription()earliestImpactTime(List<String> earliestImpactTime) Sets the value ofDevOpsGuruInsightSeverityUpgraded.Anomaly.getEarliestImpactTime()earliestImpactTimeIso(List<String> earliestImpactTimeIso) Sets the value ofDevOpsGuruInsightSeverityUpgraded.Anomaly.getEarliestImpactTimeIso()Sets the value ofDevOpsGuruInsightSeverityUpgraded.Anomaly.getEndTime()Sets the value ofDevOpsGuruInsightSeverityUpgraded.Anomaly.getId()latestImpactTime(List<String> latestImpactTime) Sets the value ofDevOpsGuruInsightSeverityUpgraded.Anomaly.getLatestImpactTime()latestImpactTimeIso(List<String> latestImpactTimeIso) Sets the value ofDevOpsGuruInsightSeverityUpgraded.Anomaly.getLatestImpactTimeIso()Sets the value ofDevOpsGuruInsightSeverityUpgraded.Anomaly.getLimit()Sets the value ofDevOpsGuruInsightSeverityUpgraded.Anomaly.getOpenTime()openTimeIso(List<String> openTimeIso) Sets the value ofDevOpsGuruInsightSeverityUpgraded.Anomaly.getOpenTimeIso()sourceDetails(List<? extends DevOpsGuruInsightSeverityUpgraded.SourceDetail> sourceDetails) Sets the value ofDevOpsGuruInsightSeverityUpgraded.Anomaly.getSourceDetails()Sets the value ofDevOpsGuruInsightSeverityUpgraded.Anomaly.getSourceMetadata()Sets the value ofDevOpsGuruInsightSeverityUpgraded.Anomaly.getStartTime()startTimeIso(List<String> startTimeIso) Sets the value ofDevOpsGuruInsightSeverityUpgraded.Anomaly.getStartTimeIso()Sets the value ofDevOpsGuruInsightSeverityUpgraded.Anomaly.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
anomalyResources
@Stability(Experimental) public DevOpsGuruInsightSeverityUpgraded.Anomaly.Builder anomalyResources(List<? extends DevOpsGuruInsightSeverityUpgraded.AnomalyResource> anomalyResources) Sets the value ofDevOpsGuruInsightSeverityUpgraded.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 DevOpsGuruInsightSeverityUpgraded.Anomaly.Builder anomalySeverity(List<String> anomalySeverity) Sets the value ofDevOpsGuruInsightSeverityUpgraded.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 DevOpsGuruInsightSeverityUpgraded.Anomaly.Builder associatedResourceArns(List<String> associatedResourceArns) Sets the value ofDevOpsGuruInsightSeverityUpgraded.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 DevOpsGuruInsightSeverityUpgraded.Anomaly.Builder description(List<String> description) Sets the value ofDevOpsGuruInsightSeverityUpgraded.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 DevOpsGuruInsightSeverityUpgraded.Anomaly.Builder earliestImpactTime(List<String> earliestImpactTime) Sets the value ofDevOpsGuruInsightSeverityUpgraded.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 DevOpsGuruInsightSeverityUpgraded.Anomaly.Builder earliestImpactTimeIso(List<String> earliestImpactTimeIso) Sets the value ofDevOpsGuruInsightSeverityUpgraded.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 DevOpsGuruInsightSeverityUpgraded.Anomaly.Builder endTime(List<String> endTime) Sets the value ofDevOpsGuruInsightSeverityUpgraded.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
@Stability(Experimental) public DevOpsGuruInsightSeverityUpgraded.Anomaly.Builder id(List<String> id) Sets the value ofDevOpsGuruInsightSeverityUpgraded.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 DevOpsGuruInsightSeverityUpgraded.Anomaly.Builder latestImpactTime(List<String> latestImpactTime) Sets the value ofDevOpsGuruInsightSeverityUpgraded.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 DevOpsGuruInsightSeverityUpgraded.Anomaly.Builder latestImpactTimeIso(List<String> latestImpactTimeIso) Sets the value ofDevOpsGuruInsightSeverityUpgraded.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
@Stability(Experimental) public DevOpsGuruInsightSeverityUpgraded.Anomaly.Builder limit(List<String> limit) Sets the value ofDevOpsGuruInsightSeverityUpgraded.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 DevOpsGuruInsightSeverityUpgraded.Anomaly.Builder openTime(List<String> openTime) Sets the value ofDevOpsGuruInsightSeverityUpgraded.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 DevOpsGuruInsightSeverityUpgraded.Anomaly.Builder openTimeIso(List<String> openTimeIso) Sets the value ofDevOpsGuruInsightSeverityUpgraded.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 DevOpsGuruInsightSeverityUpgraded.Anomaly.Builder sourceDetails(List<? extends DevOpsGuruInsightSeverityUpgraded.SourceDetail> sourceDetails) Sets the value ofDevOpsGuruInsightSeverityUpgraded.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 DevOpsGuruInsightSeverityUpgraded.Anomaly.Builder sourceMetadata(DevOpsGuruInsightSeverityUpgraded.AnomalySourceMetadata sourceMetadata) Sets the value ofDevOpsGuruInsightSeverityUpgraded.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 DevOpsGuruInsightSeverityUpgraded.Anomaly.Builder startTime(List<String> startTime) Sets the value ofDevOpsGuruInsightSeverityUpgraded.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 DevOpsGuruInsightSeverityUpgraded.Anomaly.Builder startTimeIso(List<String> startTimeIso) Sets the value ofDevOpsGuruInsightSeverityUpgraded.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
@Stability(Experimental) public DevOpsGuruInsightSeverityUpgraded.Anomaly.Builder type(List<String> type) Sets the value ofDevOpsGuruInsightSeverityUpgraded.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<DevOpsGuruInsightSeverityUpgraded.Anomaly>- Returns:
- a new instance of
DevOpsGuruInsightSeverityUpgraded.Anomaly - Throws:
NullPointerException- if any required attribute was not provided
-