Interface GetRightsizingRecommendationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRightsizingRecommendationResponse.Builder,GetRightsizingRecommendationResponse>,CostExplorerResponse.Builder,SdkBuilder<GetRightsizingRecommendationResponse.Builder,GetRightsizingRecommendationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetRightsizingRecommendationResponse
public static interface GetRightsizingRecommendationResponse.Builder extends CostExplorerResponse.Builder, SdkPojo, CopyableBuilder<GetRightsizingRecommendationResponse.Builder,GetRightsizingRecommendationResponse>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.costexplorer.model.CostExplorerResponse.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
-
metadata
GetRightsizingRecommendationResponse.Builder metadata(RightsizingRecommendationMetadata metadata)
Information regarding this specific recommendation set.
- Parameters:
metadata- Information regarding this specific recommendation set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
default GetRightsizingRecommendationResponse.Builder metadata(Consumer<RightsizingRecommendationMetadata.Builder> metadata)
Information regarding this specific recommendation set.
This is a convenience method that creates an instance of theRightsizingRecommendationMetadata.Builderavoiding the need to create one manually viaRightsizingRecommendationMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadata(RightsizingRecommendationMetadata).- Parameters:
metadata- a consumer that will call methods onRightsizingRecommendationMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
metadata(RightsizingRecommendationMetadata)
-
summary
GetRightsizingRecommendationResponse.Builder summary(RightsizingRecommendationSummary summary)
Summary of this recommendation set.
- Parameters:
summary- Summary of this recommendation set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summary
default GetRightsizingRecommendationResponse.Builder summary(Consumer<RightsizingRecommendationSummary.Builder> summary)
Summary of this recommendation set.
This is a convenience method that creates an instance of theRightsizingRecommendationSummary.Builderavoiding the need to create one manually viaRightsizingRecommendationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosummary(RightsizingRecommendationSummary).- Parameters:
summary- a consumer that will call methods onRightsizingRecommendationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
summary(RightsizingRecommendationSummary)
-
rightsizingRecommendations
GetRightsizingRecommendationResponse.Builder rightsizingRecommendations(Collection<RightsizingRecommendation> rightsizingRecommendations)
Recommendations to rightsize resources.
- Parameters:
rightsizingRecommendations- Recommendations to rightsize resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rightsizingRecommendations
GetRightsizingRecommendationResponse.Builder rightsizingRecommendations(RightsizingRecommendation... rightsizingRecommendations)
Recommendations to rightsize resources.
- Parameters:
rightsizingRecommendations- Recommendations to rightsize resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rightsizingRecommendations
GetRightsizingRecommendationResponse.Builder rightsizingRecommendations(Consumer<RightsizingRecommendation.Builder>... rightsizingRecommendations)
Recommendations to rightsize resources.
This is a convenience method that creates an instance of theRightsizingRecommendation.Builderavoiding the need to create one manually viaRightsizingRecommendation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#rightsizingRecommendations(List.) - Parameters:
rightsizingRecommendations- a consumer that will call methods onRightsizingRecommendation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#rightsizingRecommendations(java.util.Collection)
-
nextPageToken
GetRightsizingRecommendationResponse.Builder nextPageToken(String nextPageToken)
The token to retrieve the next set of results.
- Parameters:
nextPageToken- The token to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
GetRightsizingRecommendationResponse.Builder configuration(RightsizingRecommendationConfiguration configuration)
You can use Configuration to customize recommendations across two attributes. You can choose to view recommendations for instances within the same instance families or across different instance families. You can also choose to view your estimated savings that are associated with recommendations with consideration of existing Savings Plans or RI benefits, or neither.
- Parameters:
configuration- You can use Configuration to customize recommendations across two attributes. You can choose to view recommendations for instances within the same instance families or across different instance families. You can also choose to view your estimated savings that are associated with recommendations with consideration of existing Savings Plans or RI benefits, or neither.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default GetRightsizingRecommendationResponse.Builder configuration(Consumer<RightsizingRecommendationConfiguration.Builder> configuration)
You can use Configuration to customize recommendations across two attributes. You can choose to view recommendations for instances within the same instance families or across different instance families. You can also choose to view your estimated savings that are associated with recommendations with consideration of existing Savings Plans or RI benefits, or neither.
This is a convenience method that creates an instance of theRightsizingRecommendationConfiguration.Builderavoiding the need to create one manually viaRightsizingRecommendationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(RightsizingRecommendationConfiguration).- Parameters:
configuration- a consumer that will call methods onRightsizingRecommendationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
configuration(RightsizingRecommendationConfiguration)
-
-