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