Interface AlarmRecommendation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AlarmRecommendation.Builder,
,AlarmRecommendation> SdkBuilder<AlarmRecommendation.Builder,
,AlarmRecommendation> SdkPojo
- Enclosing class:
AlarmRecommendation
-
Method Summary
Modifier and TypeMethodDescriptionappComponentName
(String appComponentName) Deprecated.An alarm recommendation can be attached to multiple Application Components, hence this property will be replaced by the new property 'appComponentNames'.appComponentNames
(String... appComponentNames) List of Application Component names for the CloudWatch alarm recommendation.appComponentNames
(Collection<String> appComponentNames) List of Application Component names for the CloudWatch alarm recommendation.description
(String description) Description of the alarm recommendation.items
(Collection<RecommendationItem> items) List of CloudWatch alarm recommendations.items
(Consumer<RecommendationItem.Builder>... items) List of CloudWatch alarm recommendations.items
(RecommendationItem... items) List of CloudWatch alarm recommendations.Name of the alarm recommendation.prerequisite
(String prerequisite) The prerequisite for the alarm recommendation.recommendationId
(String recommendationId) Identifier of the alarm recommendation.recommendationStatus
(String recommendationStatus) Status of the recommended Amazon CloudWatch alarm.recommendationStatus
(RecommendationStatus recommendationStatus) Status of the recommended Amazon CloudWatch alarm.referenceId
(String referenceId) Reference identifier of the alarm recommendation.Type of alarm recommendation.Type of alarm recommendation.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
-
appComponentName
Deprecated.An alarm recommendation can be attached to multiple Application Components, hence this property will be replaced by the new property 'appComponentNames'.Application Component name for the CloudWatch alarm recommendation. This name is saved as the first item in the
appComponentNames
list.- Parameters:
appComponentName
- Application Component name for the CloudWatch alarm recommendation. This name is saved as the first item in theappComponentNames
list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appComponentNames
List of Application Component names for the CloudWatch alarm recommendation.
- Parameters:
appComponentNames
- List of Application Component names for the CloudWatch alarm recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appComponentNames
List of Application Component names for the CloudWatch alarm recommendation.
- Parameters:
appComponentNames
- List of Application Component names for the CloudWatch alarm recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Description of the alarm recommendation.
- Parameters:
description
- Description of the alarm recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
List of CloudWatch alarm recommendations.
- Parameters:
items
- List of CloudWatch alarm recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
List of CloudWatch alarm recommendations.
- Parameters:
items
- List of CloudWatch alarm recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaRecommendationItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<RecommendationItem>)
.- Parameters:
items
- a consumer that will call methods onRecommendationItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
Name of the alarm recommendation.
- Parameters:
name
- Name of the alarm recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prerequisite
The prerequisite for the alarm recommendation.
- Parameters:
prerequisite
- The prerequisite for the alarm recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationId
Identifier of the alarm recommendation.
- Parameters:
recommendationId
- Identifier of the alarm recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationStatus
Status of the recommended Amazon CloudWatch alarm.
- Parameters:
recommendationStatus
- Status of the recommended Amazon CloudWatch alarm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recommendationStatus
Status of the recommended Amazon CloudWatch alarm.
- Parameters:
recommendationStatus
- Status of the recommended Amazon CloudWatch alarm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
referenceId
Reference identifier of the alarm recommendation.
- Parameters:
referenceId
- Reference identifier of the alarm recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Type of alarm recommendation.
- Parameters:
type
- Type of alarm recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Type of alarm recommendation.
- Parameters:
type
- Type of alarm recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-