Interface ListTestRecommendationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTestRecommendationsResponse.Builder,
,ListTestRecommendationsResponse> ResiliencehubResponse.Builder
,SdkBuilder<ListTestRecommendationsResponse.Builder,
,ListTestRecommendationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTestRecommendationsResponse
public static interface ListTestRecommendationsResponse.Builder
extends ResiliencehubResponse.Builder, SdkPojo, CopyableBuilder<ListTestRecommendationsResponse.Builder,ListTestRecommendationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionToken for the next set of results, or null if there are no more results.testRecommendations
(Collection<TestRecommendation> testRecommendations) The test recommendations for the Resilience Hub application.testRecommendations
(Consumer<TestRecommendation.Builder>... testRecommendations) The test recommendations for the Resilience Hub application.testRecommendations
(TestRecommendation... testRecommendations) The test recommendations for the Resilience Hub application.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 Details
-
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.
-
testRecommendations
ListTestRecommendationsResponse.Builder testRecommendations(Collection<TestRecommendation> testRecommendations) The test recommendations for the Resilience Hub application.
- Parameters:
testRecommendations
- The test recommendations for the Resilience Hub application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testRecommendations
ListTestRecommendationsResponse.Builder testRecommendations(TestRecommendation... testRecommendations) The test recommendations for the Resilience Hub application.
- Parameters:
testRecommendations
- The test recommendations for the Resilience Hub application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testRecommendations
ListTestRecommendationsResponse.Builder testRecommendations(Consumer<TestRecommendation.Builder>... testRecommendations) The test recommendations for the Resilience Hub application.
This is a convenience method that creates an instance of theTestRecommendation.Builder
avoiding the need to create one manually viaTestRecommendation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totestRecommendations(List<TestRecommendation>)
.- Parameters:
testRecommendations
- a consumer that will call methods onTestRecommendation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-