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