Interface ListAppComponentRecommendationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAppComponentRecommendationsResponse.Builder,ListAppComponentRecommendationsResponse>,ResiliencehubResponse.Builder,SdkBuilder<ListAppComponentRecommendationsResponse.Builder,ListAppComponentRecommendationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAppComponentRecommendationsResponse
public static interface ListAppComponentRecommendationsResponse.Builder extends ResiliencehubResponse.Builder, SdkPojo, CopyableBuilder<ListAppComponentRecommendationsResponse.Builder,ListAppComponentRecommendationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAppComponentRecommendationsResponse.BuildercomponentRecommendations(Collection<ComponentRecommendation> componentRecommendations)The recommendations for an Resilience Hub Application Component, returned as an object.ListAppComponentRecommendationsResponse.BuildercomponentRecommendations(Consumer<ComponentRecommendation.Builder>... componentRecommendations)The recommendations for an Resilience Hub Application Component, returned as an object.ListAppComponentRecommendationsResponse.BuildercomponentRecommendations(ComponentRecommendation... componentRecommendations)The recommendations for an Resilience Hub Application Component, returned as an object.ListAppComponentRecommendationsResponse.BuildernextToken(String nextToken)Token for the next set of results, or null if there are no more results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.resiliencehub.model.ResiliencehubResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
componentRecommendations
ListAppComponentRecommendationsResponse.Builder componentRecommendations(Collection<ComponentRecommendation> componentRecommendations)
The recommendations for an Resilience Hub Application Component, returned as an object. This object contains the names of the Application Components, configuration recommendations, and recommendation statuses.
- Parameters:
componentRecommendations- The recommendations for an Resilience Hub Application Component, returned as an object. This object contains the names of the Application Components, configuration recommendations, and recommendation statuses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentRecommendations
ListAppComponentRecommendationsResponse.Builder componentRecommendations(ComponentRecommendation... componentRecommendations)
The recommendations for an Resilience Hub Application Component, returned as an object. This object contains the names of the Application Components, configuration recommendations, and recommendation statuses.
- Parameters:
componentRecommendations- The recommendations for an Resilience Hub Application Component, returned as an object. This object contains the names of the Application Components, configuration recommendations, and recommendation statuses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentRecommendations
ListAppComponentRecommendationsResponse.Builder componentRecommendations(Consumer<ComponentRecommendation.Builder>... componentRecommendations)
The recommendations for an Resilience Hub Application Component, returned as an object. This object contains the names of the Application Components, configuration recommendations, and recommendation statuses.
This is a convenience method that creates an instance of theComponentRecommendation.Builderavoiding the need to create one manually viaComponentRecommendation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#componentRecommendations(List.) - Parameters:
componentRecommendations- a consumer that will call methods onComponentRecommendation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#componentRecommendations(java.util.Collection)
-
nextToken
ListAppComponentRecommendationsResponse.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.
-
-