Interface ListRecommendationTemplatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRecommendationTemplatesResponse.Builder,,ListRecommendationTemplatesResponse> ResiliencehubResponse.Builder,SdkBuilder<ListRecommendationTemplatesResponse.Builder,,ListRecommendationTemplatesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRecommendationTemplatesResponse
public static interface ListRecommendationTemplatesResponse.Builder
extends ResiliencehubResponse.Builder, SdkPojo, CopyableBuilder<ListRecommendationTemplatesResponse.Builder,ListRecommendationTemplatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionToken for the next set of results, or null if there are no more results.recommendationTemplates(Collection<RecommendationTemplate> recommendationTemplates) The recommendation templates for the Resilience Hub applications.recommendationTemplates(Consumer<RecommendationTemplate.Builder>... recommendationTemplates) The recommendation templates for the Resilience Hub applications.recommendationTemplates(RecommendationTemplate... recommendationTemplates) The recommendation templates for the Resilience Hub applications.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.
-
recommendationTemplates
ListRecommendationTemplatesResponse.Builder recommendationTemplates(Collection<RecommendationTemplate> recommendationTemplates) The recommendation templates for the Resilience Hub applications.
- Parameters:
recommendationTemplates- The recommendation templates for the Resilience Hub applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationTemplates
ListRecommendationTemplatesResponse.Builder recommendationTemplates(RecommendationTemplate... recommendationTemplates) The recommendation templates for the Resilience Hub applications.
- Parameters:
recommendationTemplates- The recommendation templates for the Resilience Hub applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationTemplates
ListRecommendationTemplatesResponse.Builder recommendationTemplates(Consumer<RecommendationTemplate.Builder>... recommendationTemplates) The recommendation templates for the Resilience Hub applications.
This is a convenience method that creates an instance of theRecommendationTemplate.Builderavoiding the need to create one manually viaRecommendationTemplate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecommendationTemplates(List<RecommendationTemplate>).- Parameters:
recommendationTemplates- a consumer that will call methods onRecommendationTemplate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-