Interface ListAlarmRecommendationsResponse.Builder

    • Method Detail

      • alarmRecommendations

        ListAlarmRecommendationsResponse.Builder alarmRecommendations​(Collection<AlarmRecommendation> alarmRecommendations)

        The alarm recommendations for an Resilience Hub application, returned as an object. This object includes Application Component names, descriptions, information about whether a recommendation has already been implemented or not, prerequisites, and more.

        Parameters:
        alarmRecommendations - The alarm recommendations for an Resilience Hub application, returned as an object. This object includes Application Component names, descriptions, information about whether a recommendation has already been implemented or not, prerequisites, and more.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • alarmRecommendations

        ListAlarmRecommendationsResponse.Builder alarmRecommendations​(AlarmRecommendation... alarmRecommendations)

        The alarm recommendations for an Resilience Hub application, returned as an object. This object includes Application Component names, descriptions, information about whether a recommendation has already been implemented or not, prerequisites, and more.

        Parameters:
        alarmRecommendations - The alarm recommendations for an Resilience Hub application, returned as an object. This object includes Application Component names, descriptions, information about whether a recommendation has already been implemented or not, prerequisites, and more.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • alarmRecommendations

        ListAlarmRecommendationsResponse.Builder alarmRecommendations​(Consumer<AlarmRecommendation.Builder>... alarmRecommendations)

        The alarm recommendations for an Resilience Hub application, returned as an object. This object includes Application Component names, descriptions, information about whether a recommendation has already been implemented or not, prerequisites, and more.

        This is a convenience method that creates an instance of the AlarmRecommendation.Builder avoiding the need to create one manually via AlarmRecommendation.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #alarmRecommendations(List).

        Parameters:
        alarmRecommendations - a consumer that will call methods on AlarmRecommendation.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #alarmRecommendations(java.util.Collection)
      • nextToken

        ListAlarmRecommendationsResponse.Builder nextToken​(String nextToken)

        Token for the next set of results, or null if there are no more results.

        Parameters:
        nextToken - Token for the next set of results, or null if there are no more results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.