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
copyMethods inherited from interface software.amazon.awssdk.services.resiliencehub.model.ResiliencehubResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaTestRecommendation.builder().When the
Consumercompletes,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:
-