public static interface ProactiveInsight.Builder extends SdkPojo, CopyableBuilder<ProactiveInsight.Builder,ProactiveInsight>
| Modifier and Type | Method and Description |
|---|---|
ProactiveInsight.Builder |
id(String id)
The ID of the proactive insight.
|
default ProactiveInsight.Builder |
insightTimeRange(Consumer<InsightTimeRange.Builder> insightTimeRange)
Sets the value of the InsightTimeRange property for this object.
|
ProactiveInsight.Builder |
insightTimeRange(InsightTimeRange insightTimeRange)
Sets the value of the InsightTimeRange property for this object.
|
ProactiveInsight.Builder |
name(String name)
The name of the proactive insight.
|
default ProactiveInsight.Builder |
predictionTimeRange(Consumer<PredictionTimeRange.Builder> predictionTimeRange)
Sets the value of the PredictionTimeRange property for this object.
|
ProactiveInsight.Builder |
predictionTimeRange(PredictionTimeRange predictionTimeRange)
Sets the value of the PredictionTimeRange property for this object.
|
default ProactiveInsight.Builder |
resourceCollection(Consumer<ResourceCollection.Builder> resourceCollection)
Sets the value of the ResourceCollection property for this object.
|
ProactiveInsight.Builder |
resourceCollection(ResourceCollection resourceCollection)
Sets the value of the ResourceCollection property for this object.
|
ProactiveInsight.Builder |
severity(InsightSeverity severity)
The severity of the proactive insight.
|
ProactiveInsight.Builder |
severity(String severity)
The severity of the proactive insight.
|
ProactiveInsight.Builder |
ssmOpsItemId(String ssmOpsItemId)
The ID of the AWS System Manager OpsItem created for this insight.
|
ProactiveInsight.Builder |
status(InsightStatus status)
The status of the proactive insight.
|
ProactiveInsight.Builder |
status(String status)
The status of the proactive insight.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildProactiveInsight.Builder id(String id)
The ID of the proactive insight.
id - The ID of the proactive insight.ProactiveInsight.Builder name(String name)
The name of the proactive insight.
name - The name of the proactive insight.ProactiveInsight.Builder severity(String severity)
The severity of the proactive insight.
severity - The severity of the proactive insight.InsightSeverity,
InsightSeverityProactiveInsight.Builder severity(InsightSeverity severity)
The severity of the proactive insight.
severity - The severity of the proactive insight.InsightSeverity,
InsightSeverityProactiveInsight.Builder status(String status)
The status of the proactive insight.
status - The status of the proactive insight.InsightStatus,
InsightStatusProactiveInsight.Builder status(InsightStatus status)
The status of the proactive insight.
status - The status of the proactive insight.InsightStatus,
InsightStatusProactiveInsight.Builder insightTimeRange(InsightTimeRange insightTimeRange)
insightTimeRange - The new value for the InsightTimeRange property for this object.default ProactiveInsight.Builder insightTimeRange(Consumer<InsightTimeRange.Builder> insightTimeRange)
InsightTimeRange.Builder avoiding the need to
create one manually via InsightTimeRange.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to insightTimeRange(InsightTimeRange).insightTimeRange - a consumer that will call methods on InsightTimeRange.BuilderinsightTimeRange(InsightTimeRange)ProactiveInsight.Builder predictionTimeRange(PredictionTimeRange predictionTimeRange)
predictionTimeRange - The new value for the PredictionTimeRange property for this object.default ProactiveInsight.Builder predictionTimeRange(Consumer<PredictionTimeRange.Builder> predictionTimeRange)
PredictionTimeRange.Builder avoiding the need
to create one manually via PredictionTimeRange.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to predictionTimeRange(PredictionTimeRange).predictionTimeRange - a consumer that will call methods on PredictionTimeRange.BuilderpredictionTimeRange(PredictionTimeRange)ProactiveInsight.Builder resourceCollection(ResourceCollection resourceCollection)
resourceCollection - The new value for the ResourceCollection property for this object.default ProactiveInsight.Builder resourceCollection(Consumer<ResourceCollection.Builder> resourceCollection)
ResourceCollection.Builder avoiding the need to
create one manually via ResourceCollection.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to resourceCollection(ResourceCollection).resourceCollection - a consumer that will call methods on ResourceCollection.BuilderresourceCollection(ResourceCollection)ProactiveInsight.Builder ssmOpsItemId(String ssmOpsItemId)
The ID of the AWS System Manager OpsItem created for this insight. You must enable the creation of OpstItems insights before they are created for each insight.
ssmOpsItemId - The ID of the AWS System Manager OpsItem created for this insight. You must enable the creation of
OpstItems insights before they are created for each insight.Copyright © 2021. All rights reserved.