Interface ListRecommendedActionSummariesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ComputeOptimizerAutomationResponse.Builder,CopyableBuilder<ListRecommendedActionSummariesResponse.Builder,,ListRecommendedActionSummariesResponse> SdkBuilder<ListRecommendedActionSummariesResponse.Builder,,ListRecommendedActionSummariesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRecommendedActionSummariesResponse
@Mutable
@NotThreadSafe
public static interface ListRecommendedActionSummariesResponse.Builder
extends ComputeOptimizerAutomationResponse.Builder, SdkPojo, CopyableBuilder<ListRecommendedActionSummariesResponse.Builder,ListRecommendedActionSummariesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token used for pagination.recommendedActionSummaries(Collection<RecommendedActionSummary> recommendedActionSummaries) The summary of recommended actions that match the specified criteria.recommendedActionSummaries(Consumer<RecommendedActionSummary.Builder>... recommendedActionSummaries) The summary of recommended actions that match the specified criteria.recommendedActionSummaries(RecommendedActionSummary... recommendedActionSummaries) The summary of recommended actions that match the specified criteria.Methods inherited from interface software.amazon.awssdk.services.computeoptimizerautomation.model.ComputeOptimizerAutomationResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
recommendedActionSummaries
ListRecommendedActionSummariesResponse.Builder recommendedActionSummaries(Collection<RecommendedActionSummary> recommendedActionSummaries) The summary of recommended actions that match the specified criteria.
- Parameters:
recommendedActionSummaries- The summary of recommended actions that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedActionSummaries
ListRecommendedActionSummariesResponse.Builder recommendedActionSummaries(RecommendedActionSummary... recommendedActionSummaries) The summary of recommended actions that match the specified criteria.
- Parameters:
recommendedActionSummaries- The summary of recommended actions that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedActionSummaries
ListRecommendedActionSummariesResponse.Builder recommendedActionSummaries(Consumer<RecommendedActionSummary.Builder>... recommendedActionSummaries) The summary of recommended actions that match the specified criteria.
This is a convenience method that creates an instance of theRecommendedActionSummary.Builderavoiding the need to create one manually viaRecommendedActionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecommendedActionSummaries(List<RecommendedActionSummary>).- Parameters:
recommendedActionSummaries- a consumer that will call methods onRecommendedActionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token used for pagination. If present, indicates there are more results available and can be used in subsequent requests.
- Parameters:
nextToken- A token used for pagination. If present, indicates there are more results available and can be used in subsequent requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-