public static interface AlarmRecommendation.Builder extends SdkPojo, CopyableBuilder<AlarmRecommendation.Builder,AlarmRecommendation>
| Modifier and Type | Method and Description |
|---|---|
AlarmRecommendation.Builder |
appComponentName(String appComponentName)
Deprecated.
An alarm recommendation can be attached to multiple Application Components, hence this property
will be replaced by the new property 'appComponentNames'.
|
AlarmRecommendation.Builder |
appComponentNames(Collection<String> appComponentNames)
List of Application Component names for the CloudWatch alarm recommendation.
|
AlarmRecommendation.Builder |
appComponentNames(String... appComponentNames)
List of Application Component names for the CloudWatch alarm recommendation.
|
AlarmRecommendation.Builder |
description(String description)
Description of the alarm recommendation.
|
AlarmRecommendation.Builder |
items(Collection<RecommendationItem> items)
List of CloudWatch alarm recommendations.
|
AlarmRecommendation.Builder |
items(Consumer<RecommendationItem.Builder>... items)
List of CloudWatch alarm recommendations.
|
AlarmRecommendation.Builder |
items(RecommendationItem... items)
List of CloudWatch alarm recommendations.
|
AlarmRecommendation.Builder |
name(String name)
Name of the alarm recommendation.
|
AlarmRecommendation.Builder |
prerequisite(String prerequisite)
The prerequisite for the alarm recommendation.
|
AlarmRecommendation.Builder |
recommendationId(String recommendationId)
Identifier of the alarm recommendation.
|
AlarmRecommendation.Builder |
referenceId(String referenceId)
Reference identifier of the alarm recommendation.
|
AlarmRecommendation.Builder |
type(AlarmType type)
Type of alarm recommendation.
|
AlarmRecommendation.Builder |
type(String type)
Type of alarm recommendation.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, build@Deprecated AlarmRecommendation.Builder appComponentName(String appComponentName)
Application Component name for the CloudWatch alarm recommendation. This name is saved as the first item in
the appComponentNames list.
appComponentName - Application Component name for the CloudWatch alarm recommendation. This name is saved as the first
item in the appComponentNames list.AlarmRecommendation.Builder appComponentNames(Collection<String> appComponentNames)
List of Application Component names for the CloudWatch alarm recommendation.
appComponentNames - List of Application Component names for the CloudWatch alarm recommendation.AlarmRecommendation.Builder appComponentNames(String... appComponentNames)
List of Application Component names for the CloudWatch alarm recommendation.
appComponentNames - List of Application Component names for the CloudWatch alarm recommendation.AlarmRecommendation.Builder description(String description)
Description of the alarm recommendation.
description - Description of the alarm recommendation.AlarmRecommendation.Builder items(Collection<RecommendationItem> items)
List of CloudWatch alarm recommendations.
items - List of CloudWatch alarm recommendations.AlarmRecommendation.Builder items(RecommendationItem... items)
List of CloudWatch alarm recommendations.
items - List of CloudWatch alarm recommendations.AlarmRecommendation.Builder items(Consumer<RecommendationItem.Builder>... items)
List of CloudWatch alarm recommendations.
This is a convenience method that creates an instance of theRecommendationItem.Builder avoiding the need to
create one manually via
RecommendationItem.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #items(List.
items - a consumer that will call methods on
RecommendationItem.Builder#items(java.util.Collection) AlarmRecommendation.Builder name(String name)
Name of the alarm recommendation.
name - Name of the alarm recommendation.AlarmRecommendation.Builder prerequisite(String prerequisite)
The prerequisite for the alarm recommendation.
prerequisite - The prerequisite for the alarm recommendation.AlarmRecommendation.Builder recommendationId(String recommendationId)
Identifier of the alarm recommendation.
recommendationId - Identifier of the alarm recommendation.AlarmRecommendation.Builder referenceId(String referenceId)
Reference identifier of the alarm recommendation.
referenceId - Reference identifier of the alarm recommendation.AlarmRecommendation.Builder type(String type)
Type of alarm recommendation.
AlarmRecommendation.Builder type(AlarmType type)
Type of alarm recommendation.
Copyright © 2023. All rights reserved.