Interface AlarmRecommendation.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AlarmRecommendation.Builder,AlarmRecommendation>, SdkBuilder<AlarmRecommendation.Builder,AlarmRecommendation>, SdkPojo
Enclosing class:
AlarmRecommendation

public static interface AlarmRecommendation.Builder extends SdkPojo, CopyableBuilder<AlarmRecommendation.Builder,AlarmRecommendation>
  • Method Details

    • appComponentName

      @Deprecated 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'.

      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 the appComponentNames list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • appComponentNames

      AlarmRecommendation.Builder appComponentNames(Collection<String> 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

      AlarmRecommendation.Builder appComponentNames(String... 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

      AlarmRecommendation.Builder description(String 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 the RecommendationItem.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<RecommendationItem>).

      Parameters:
      items - a consumer that will call methods on RecommendationItem.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

      AlarmRecommendation.Builder prerequisite(String 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

      AlarmRecommendation.Builder recommendationId(String 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

      AlarmRecommendation.Builder recommendationStatus(String 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

      AlarmRecommendation.Builder recommendationStatus(RecommendationStatus 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

      AlarmRecommendation.Builder referenceId(String 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: