Interface ReactiveAnomaly.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ReactiveAnomaly.Builder,ReactiveAnomaly>,SdkBuilder<ReactiveAnomaly.Builder,ReactiveAnomaly>,SdkPojo
- Enclosing class:
- ReactiveAnomaly
public static interface ReactiveAnomaly.Builder extends SdkPojo, CopyableBuilder<ReactiveAnomaly.Builder,ReactiveAnomaly>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ReactiveAnomaly.BuilderanomalyReportedTimeRange(Consumer<AnomalyReportedTimeRange.Builder> anomalyReportedTimeRange)AnAnomalyReportedTimeRangeobject that specifies the time range between when the anomaly is opened and the time when it is closed.ReactiveAnomaly.BuilderanomalyReportedTimeRange(AnomalyReportedTimeRange anomalyReportedTimeRange)AnAnomalyReportedTimeRangeobject that specifies the time range between when the anomaly is opened and the time when it is closed.ReactiveAnomaly.BuilderanomalyResources(Collection<AnomalyResource> anomalyResources)The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.ReactiveAnomaly.BuilderanomalyResources(Consumer<AnomalyResource.Builder>... anomalyResources)The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.ReactiveAnomaly.BuilderanomalyResources(AnomalyResource... anomalyResources)The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.default ReactiveAnomaly.BuilderanomalyTimeRange(Consumer<AnomalyTimeRange.Builder> anomalyTimeRange)Sets the value of the AnomalyTimeRange property for this object.ReactiveAnomaly.BuilderanomalyTimeRange(AnomalyTimeRange anomalyTimeRange)Sets the value of the AnomalyTimeRange property for this object.ReactiveAnomaly.BuilderassociatedInsightId(String associatedInsightId)The ID of the insight that contains this anomaly.ReactiveAnomaly.BuildercausalAnomalyId(String causalAnomalyId)The ID of the causal anomaly that is associated with this reactive anomaly.ReactiveAnomaly.Builderdescription(String description)A description of the reactive anomaly.ReactiveAnomaly.Builderid(String id)The ID of the reactive anomaly.ReactiveAnomaly.Buildername(String name)The name of the reactive anomaly.default ReactiveAnomaly.BuilderresourceCollection(Consumer<ResourceCollection.Builder> resourceCollection)Sets the value of the ResourceCollection property for this object.ReactiveAnomaly.BuilderresourceCollection(ResourceCollection resourceCollection)Sets the value of the ResourceCollection property for this object.ReactiveAnomaly.Builderseverity(String severity)The severity of the anomaly.ReactiveAnomaly.Builderseverity(AnomalySeverity severity)The severity of the anomaly.default ReactiveAnomaly.BuildersourceDetails(Consumer<AnomalySourceDetails.Builder> sourceDetails)Details about the source of the analyzed operational data that triggered the anomaly.ReactiveAnomaly.BuildersourceDetails(AnomalySourceDetails sourceDetails)Details about the source of the analyzed operational data that triggered the anomaly.ReactiveAnomaly.Builderstatus(String status)The status of the anomaly.ReactiveAnomaly.Builderstatus(AnomalyStatus status)The status of the anomaly.ReactiveAnomaly.Buildertype(String type)The type of the reactive anomaly.ReactiveAnomaly.Buildertype(AnomalyType type)The type of the reactive anomaly.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
ReactiveAnomaly.Builder id(String id)
The ID of the reactive anomaly.
- Parameters:
id- The ID of the reactive anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
ReactiveAnomaly.Builder severity(String severity)
The severity of the anomaly. The severity of anomalies that generate an insight determine that insight's severity. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.
- Parameters:
severity- The severity of the anomaly. The severity of anomalies that generate an insight determine that insight's severity. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AnomalySeverity,AnomalySeverity
-
severity
ReactiveAnomaly.Builder severity(AnomalySeverity severity)
The severity of the anomaly. The severity of anomalies that generate an insight determine that insight's severity. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.
- Parameters:
severity- The severity of the anomaly. The severity of anomalies that generate an insight determine that insight's severity. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AnomalySeverity,AnomalySeverity
-
status
ReactiveAnomaly.Builder status(String status)
The status of the anomaly.
- Parameters:
status- The status of the anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AnomalyStatus,AnomalyStatus
-
status
ReactiveAnomaly.Builder status(AnomalyStatus status)
The status of the anomaly.
- Parameters:
status- The status of the anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AnomalyStatus,AnomalyStatus
-
anomalyTimeRange
ReactiveAnomaly.Builder anomalyTimeRange(AnomalyTimeRange anomalyTimeRange)
Sets the value of the AnomalyTimeRange property for this object.- Parameters:
anomalyTimeRange- The new value for the AnomalyTimeRange property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyTimeRange
default ReactiveAnomaly.Builder anomalyTimeRange(Consumer<AnomalyTimeRange.Builder> anomalyTimeRange)
Sets the value of the AnomalyTimeRange property for this object. This is a convenience method that creates an instance of theAnomalyTimeRange.Builderavoiding the need to create one manually viaAnomalyTimeRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toanomalyTimeRange(AnomalyTimeRange).- Parameters:
anomalyTimeRange- a consumer that will call methods onAnomalyTimeRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
anomalyTimeRange(AnomalyTimeRange)
-
anomalyReportedTimeRange
ReactiveAnomaly.Builder anomalyReportedTimeRange(AnomalyReportedTimeRange anomalyReportedTimeRange)
An
AnomalyReportedTimeRangeobject that specifies the time range between when the anomaly is opened and the time when it is closed.- Parameters:
anomalyReportedTimeRange- AnAnomalyReportedTimeRangeobject that specifies the time range between when the anomaly is opened and the time when it is closed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyReportedTimeRange
default ReactiveAnomaly.Builder anomalyReportedTimeRange(Consumer<AnomalyReportedTimeRange.Builder> anomalyReportedTimeRange)
An
This is a convenience method that creates an instance of theAnomalyReportedTimeRangeobject that specifies the time range between when the anomaly is opened and the time when it is closed.AnomalyReportedTimeRange.Builderavoiding the need to create one manually viaAnomalyReportedTimeRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toanomalyReportedTimeRange(AnomalyReportedTimeRange).- Parameters:
anomalyReportedTimeRange- a consumer that will call methods onAnomalyReportedTimeRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
anomalyReportedTimeRange(AnomalyReportedTimeRange)
-
sourceDetails
ReactiveAnomaly.Builder sourceDetails(AnomalySourceDetails sourceDetails)
Details about the source of the analyzed operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics.
- Parameters:
sourceDetails- Details about the source of the analyzed operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDetails
default ReactiveAnomaly.Builder sourceDetails(Consumer<AnomalySourceDetails.Builder> sourceDetails)
Details about the source of the analyzed operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics.
This is a convenience method that creates an instance of theAnomalySourceDetails.Builderavoiding the need to create one manually viaAnomalySourceDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceDetails(AnomalySourceDetails).- Parameters:
sourceDetails- a consumer that will call methods onAnomalySourceDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sourceDetails(AnomalySourceDetails)
-
associatedInsightId
ReactiveAnomaly.Builder associatedInsightId(String associatedInsightId)
The ID of the insight that contains this anomaly. An insight is composed of related anomalies.
- Parameters:
associatedInsightId- The ID of the insight that contains this anomaly. An insight is composed of related anomalies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceCollection
ReactiveAnomaly.Builder resourceCollection(ResourceCollection resourceCollection)
Sets the value of the ResourceCollection property for this object.- Parameters:
resourceCollection- The new value for the ResourceCollection property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceCollection
default ReactiveAnomaly.Builder resourceCollection(Consumer<ResourceCollection.Builder> resourceCollection)
Sets the value of the ResourceCollection property for this object. This is a convenience method that creates an instance of theResourceCollection.Builderavoiding the need to create one manually viaResourceCollection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceCollection(ResourceCollection).- Parameters:
resourceCollection- a consumer that will call methods onResourceCollection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
resourceCollection(ResourceCollection)
-
type
ReactiveAnomaly.Builder type(String type)
The type of the reactive anomaly. It can be one of the following types.
-
CAUSAL- the anomaly can cause a new insight. -
CONTEXTUAL- the anomaly contains additional information about an insight or its causal anomaly.
- Parameters:
type- The type of the reactive anomaly. It can be one of the following types.-
CAUSAL- the anomaly can cause a new insight. -
CONTEXTUAL- the anomaly contains additional information about an insight or its causal anomaly.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AnomalyType,AnomalyType
-
-
type
ReactiveAnomaly.Builder type(AnomalyType type)
The type of the reactive anomaly. It can be one of the following types.
-
CAUSAL- the anomaly can cause a new insight. -
CONTEXTUAL- the anomaly contains additional information about an insight or its causal anomaly.
- Parameters:
type- The type of the reactive anomaly. It can be one of the following types.-
CAUSAL- the anomaly can cause a new insight. -
CONTEXTUAL- the anomaly contains additional information about an insight or its causal anomaly.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AnomalyType,AnomalyType
-
-
name
ReactiveAnomaly.Builder name(String name)
The name of the reactive anomaly.
- Parameters:
name- The name of the reactive anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
ReactiveAnomaly.Builder description(String description)
A description of the reactive anomaly.
- Parameters:
description- A description of the reactive anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
causalAnomalyId
ReactiveAnomaly.Builder causalAnomalyId(String causalAnomalyId)
The ID of the causal anomaly that is associated with this reactive anomaly. The ID of a `CAUSAL` anomaly is always `NULL`.
- Parameters:
causalAnomalyId- The ID of the causal anomaly that is associated with this reactive anomaly. The ID of a `CAUSAL` anomaly is always `NULL`.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyResources
ReactiveAnomaly.Builder anomalyResources(Collection<AnomalyResource> anomalyResources)
The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.
- Parameters:
anomalyResources- The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyResources
ReactiveAnomaly.Builder anomalyResources(AnomalyResource... anomalyResources)
The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.
- Parameters:
anomalyResources- The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyResources
ReactiveAnomaly.Builder anomalyResources(Consumer<AnomalyResource.Builder>... anomalyResources)
The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.
This is a convenience method that creates an instance of theAnomalyResource.Builderavoiding the need to create one manually viaAnomalyResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#anomalyResources(List.) - Parameters:
anomalyResources- a consumer that will call methods onAnomalyResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#anomalyResources(java.util.Collection)
-
-