Interface ListRecommendedActionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ComputeOptimizerAutomationResponse.Builder,CopyableBuilder<ListRecommendedActionsResponse.Builder,,ListRecommendedActionsResponse> SdkBuilder<ListRecommendedActionsResponse.Builder,,ListRecommendedActionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRecommendedActionsResponse
@Mutable
@NotThreadSafe
public static interface ListRecommendedActionsResponse.Builder
extends ComputeOptimizerAutomationResponse.Builder, SdkPojo, CopyableBuilder<ListRecommendedActionsResponse.Builder,ListRecommendedActionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token used for pagination.recommendedActions(Collection<RecommendedAction> recommendedActions) The list of recommended actions that match the specified criteria.recommendedActions(Consumer<RecommendedAction.Builder>... recommendedActions) The list of recommended actions that match the specified criteria.recommendedActions(RecommendedAction... recommendedActions) The list 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
-
recommendedActions
ListRecommendedActionsResponse.Builder recommendedActions(Collection<RecommendedAction> recommendedActions) The list of recommended actions that match the specified criteria.
- Parameters:
recommendedActions- The list of recommended actions that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedActions
The list of recommended actions that match the specified criteria.
- Parameters:
recommendedActions- The list of recommended actions that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedActions
ListRecommendedActionsResponse.Builder recommendedActions(Consumer<RecommendedAction.Builder>... recommendedActions) The list of recommended actions that match the specified criteria.
This is a convenience method that creates an instance of theRecommendedAction.Builderavoiding the need to create one manually viaRecommendedAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecommendedActions(List<RecommendedAction>).- Parameters:
recommendedActions- a consumer that will call methods onRecommendedAction.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.
-