Interface ReactiveInsight.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReactiveInsight.Builder,
,ReactiveInsight> SdkBuilder<ReactiveInsight.Builder,
,ReactiveInsight> SdkPojo
- Enclosing class:
ReactiveInsight
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) Describes the reactive insight.The ID of a reactive insight.default ReactiveInsight.Builder
insightTimeRange
(Consumer<InsightTimeRange.Builder> insightTimeRange) Sets the value of the InsightTimeRange property for this object.insightTimeRange
(InsightTimeRange insightTimeRange) Sets the value of the InsightTimeRange property for this object.The name of a reactive insight.default ReactiveInsight.Builder
resourceCollection
(Consumer<ResourceCollection.Builder> resourceCollection) Sets the value of the ResourceCollection property for this object.resourceCollection
(ResourceCollection resourceCollection) Sets the value of the ResourceCollection property for this object.The severity of the insight.severity
(InsightSeverity severity) The severity of the insight.ssmOpsItemId
(String ssmOpsItemId) The ID of the Amazon Web Services System Manager OpsItem created for this insight.The status of a reactive insight.status
(InsightStatus status) The status of a reactive insight.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 Details
-
id
The ID of a reactive insight.
- Parameters:
id
- The ID of a reactive insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of a reactive insight.
- Parameters:
name
- The name of a reactive insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
The severity of the insight. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.
- Parameters:
severity
- The severity of the insight. 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:
-
severity
The severity of the insight. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.
- Parameters:
severity
- The severity of the insight. 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:
-
status
The status of a reactive insight.
- Parameters:
status
- The status of a reactive insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of a reactive insight.
- Parameters:
status
- The status of a reactive insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
insightTimeRange
Sets the value of the InsightTimeRange property for this object.- Parameters:
insightTimeRange
- The new value for the InsightTimeRange property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insightTimeRange
default ReactiveInsight.Builder insightTimeRange(Consumer<InsightTimeRange.Builder> insightTimeRange) Sets the value of the InsightTimeRange property for this object. This is a convenience method that creates an instance of theInsightTimeRange.Builder
avoiding the need to create one manually viaInsightTimeRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinsightTimeRange(InsightTimeRange)
.- Parameters:
insightTimeRange
- a consumer that will call methods onInsightTimeRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 ReactiveInsight.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.Builder
avoiding the need to create one manually viaResourceCollection.builder()
.When the
Consumer
completes,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:
-
ssmOpsItemId
The ID of the Amazon Web Services System Manager OpsItem created for this insight. You must enable the creation of OpstItems insights before they are created for each insight.
- Parameters:
ssmOpsItemId
- The ID of the Amazon Web Services System Manager OpsItem created for this insight. You must enable the creation of OpstItems insights before they are created for each insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Describes the reactive insight.
- Parameters:
description
- Describes the reactive insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-