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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTestRecommendationsResponse.BuildernextToken(String nextToken)Token for the next set of results, or null if there are no more results.ListTestRecommendationsResponse.BuildertestRecommendations(Collection<TestRecommendation> testRecommendations)The test recommendations for the Resilience Hub application.ListTestRecommendationsResponse.BuildertestRecommendations(Consumer<TestRecommendation.Builder>... testRecommendations)The test recommendations for the Resilience Hub application.ListTestRecommendationsResponse.BuildertestRecommendations(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 Detail
-
nextToken
ListTestRecommendationsResponse.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.
-
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 to#testRecommendations(List.) - 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:
#testRecommendations(java.util.Collection)
-
-