Interface ProactiveInsight.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ProactiveInsight.Builder,ProactiveInsight>,SdkBuilder<ProactiveInsight.Builder,ProactiveInsight>,SdkPojo
- Enclosing class:
- ProactiveInsight
public static interface ProactiveInsight.Builder extends SdkPojo, CopyableBuilder<ProactiveInsight.Builder,ProactiveInsight>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ProactiveInsight.Builderdescription(String description)Describes the proactive insight.ProactiveInsight.Builderid(String id)The ID of the proactive insight.default ProactiveInsight.BuilderinsightTimeRange(Consumer<InsightTimeRange.Builder> insightTimeRange)Sets the value of the InsightTimeRange property for this object.ProactiveInsight.BuilderinsightTimeRange(InsightTimeRange insightTimeRange)Sets the value of the InsightTimeRange property for this object.ProactiveInsight.Buildername(String name)The name of the proactive insight.default ProactiveInsight.BuilderpredictionTimeRange(Consumer<PredictionTimeRange.Builder> predictionTimeRange)Sets the value of the PredictionTimeRange property for this object.ProactiveInsight.BuilderpredictionTimeRange(PredictionTimeRange predictionTimeRange)Sets the value of the PredictionTimeRange property for this object.default ProactiveInsight.BuilderresourceCollection(Consumer<ResourceCollection.Builder> resourceCollection)Sets the value of the ResourceCollection property for this object.ProactiveInsight.BuilderresourceCollection(ResourceCollection resourceCollection)Sets the value of the ResourceCollection property for this object.ProactiveInsight.Builderseverity(String severity)The severity of the insight.ProactiveInsight.Builderseverity(InsightSeverity severity)The severity of the insight.ProactiveInsight.BuilderssmOpsItemId(String ssmOpsItemId)The ID of the Amazon Web Services System Manager OpsItem created for this insight.ProactiveInsight.Builderstatus(String status)The status of the proactive insight.ProactiveInsight.Builderstatus(InsightStatus status)The status of the proactive 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 Detail
-
id
ProactiveInsight.Builder id(String id)
The ID of the proactive insight.
- Parameters:
id- The ID of the proactive insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
ProactiveInsight.Builder name(String name)
The name of the proactive insight.
- Parameters:
name- The name of the proactive insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
ProactiveInsight.Builder severity(String 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:
InsightSeverity,InsightSeverity
-
severity
ProactiveInsight.Builder severity(InsightSeverity 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:
InsightSeverity,InsightSeverity
-
status
ProactiveInsight.Builder status(String status)
The status of the proactive insight.
- Parameters:
status- The status of the proactive insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InsightStatus,InsightStatus
-
status
ProactiveInsight.Builder status(InsightStatus status)
The status of the proactive insight.
- Parameters:
status- The status of the proactive insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InsightStatus,InsightStatus
-
insightTimeRange
ProactiveInsight.Builder insightTimeRange(InsightTimeRange 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 ProactiveInsight.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.Builderavoiding the need to create one manually viaInsightTimeRange.builder().When the
Consumercompletes,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:
insightTimeRange(InsightTimeRange)
-
predictionTimeRange
ProactiveInsight.Builder predictionTimeRange(PredictionTimeRange predictionTimeRange)
Sets the value of the PredictionTimeRange property for this object.- Parameters:
predictionTimeRange- The new value for the PredictionTimeRange property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predictionTimeRange
default ProactiveInsight.Builder predictionTimeRange(Consumer<PredictionTimeRange.Builder> predictionTimeRange)
Sets the value of the PredictionTimeRange property for this object. This is a convenience method that creates an instance of thePredictionTimeRange.Builderavoiding the need to create one manually viaPredictionTimeRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topredictionTimeRange(PredictionTimeRange).- Parameters:
predictionTimeRange- a consumer that will call methods onPredictionTimeRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
predictionTimeRange(PredictionTimeRange)
-
resourceCollection
ProactiveInsight.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 ProactiveInsight.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)
-
ssmOpsItemId
ProactiveInsight.Builder ssmOpsItemId(String 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
ProactiveInsight.Builder description(String description)
Describes the proactive insight.
- Parameters:
description- Describes the proactive insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-