Interface UpdatePreferencesResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<UpdatePreferencesResponse.Builder,,- UpdatePreferencesResponse> - CostOptimizationHubResponse.Builder,- SdkBuilder<UpdatePreferencesResponse.Builder,,- UpdatePreferencesResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- UpdatePreferencesResponse
- 
Method SummaryModifier and TypeMethodDescriptionmemberAccountDiscountVisibility(String memberAccountDiscountVisibility) Shows the status of the "member account discount visibility" preference.memberAccountDiscountVisibility(MemberAccountDiscountVisibility memberAccountDiscountVisibility) Shows the status of the "member account discount visibility" preference.preferredCommitment(Consumer<PreferredCommitment.Builder> preferredCommitment) Shows the updated preferences for how Reserved Instances and Savings Plans cost-saving opportunities are prioritized in terms of payment option and term length.preferredCommitment(PreferredCommitment preferredCommitment) Shows the updated preferences for how Reserved Instances and Savings Plans cost-saving opportunities are prioritized in terms of payment option and term length.savingsEstimationMode(String savingsEstimationMode) Shows the status of the "savings estimation mode" preference.savingsEstimationMode(SavingsEstimationMode savingsEstimationMode) Shows the status of the "savings estimation mode" preference.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.costoptimizationhub.model.CostOptimizationHubResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
savingsEstimationModeShows the status of the "savings estimation mode" preference. - Parameters:
- savingsEstimationMode- Shows the status of the "savings estimation mode" preference.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
savingsEstimationModeUpdatePreferencesResponse.Builder savingsEstimationMode(SavingsEstimationMode savingsEstimationMode) Shows the status of the "savings estimation mode" preference. - Parameters:
- savingsEstimationMode- Shows the status of the "savings estimation mode" preference.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
memberAccountDiscountVisibilityUpdatePreferencesResponse.Builder memberAccountDiscountVisibility(String memberAccountDiscountVisibility) Shows the status of the "member account discount visibility" preference. - Parameters:
- memberAccountDiscountVisibility- Shows the status of the "member account discount visibility" preference.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
memberAccountDiscountVisibilityUpdatePreferencesResponse.Builder memberAccountDiscountVisibility(MemberAccountDiscountVisibility memberAccountDiscountVisibility) Shows the status of the "member account discount visibility" preference. - Parameters:
- memberAccountDiscountVisibility- Shows the status of the "member account discount visibility" preference.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
preferredCommitmentShows the updated preferences for how Reserved Instances and Savings Plans cost-saving opportunities are prioritized in terms of payment option and term length. - Parameters:
- preferredCommitment- Shows the updated preferences for how Reserved Instances and Savings Plans cost-saving opportunities are prioritized in terms of payment option and term length.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
preferredCommitmentdefault UpdatePreferencesResponse.Builder preferredCommitment(Consumer<PreferredCommitment.Builder> preferredCommitment) Shows the updated preferences for how Reserved Instances and Savings Plans cost-saving opportunities are prioritized in terms of payment option and term length. This is a convenience method that creates an instance of thePreferredCommitment.Builderavoiding the need to create one manually viaPreferredCommitment.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topreferredCommitment(PreferredCommitment).- Parameters:
- preferredCommitment- a consumer that will call methods on- PreferredCommitment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-