Interface UpdatePreferencesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdatePreferencesRequest.Builder,
,UpdatePreferencesRequest> CostOptimizationHubRequest.Builder
,SdkBuilder<UpdatePreferencesRequest.Builder,
,UpdatePreferencesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdatePreferencesRequest
public static interface UpdatePreferencesRequest.Builder
extends CostOptimizationHubRequest.Builder, SdkPojo, CopyableBuilder<UpdatePreferencesRequest.Builder,UpdatePreferencesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmemberAccountDiscountVisibility
(String memberAccountDiscountVisibility) Sets the "member account discount visibility" preference.memberAccountDiscountVisibility
(MemberAccountDiscountVisibility memberAccountDiscountVisibility) Sets the "member account discount visibility" preference.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.savingsEstimationMode
(String savingsEstimationMode) Sets the "savings estimation mode" preference.savingsEstimationMode
(SavingsEstimationMode savingsEstimationMode) Sets the "savings estimation mode" preference.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.costoptimizationhub.model.CostOptimizationHubRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
memberAccountDiscountVisibility
UpdatePreferencesRequest.Builder memberAccountDiscountVisibility(String memberAccountDiscountVisibility) Sets the "member account discount visibility" preference.
- Parameters:
memberAccountDiscountVisibility
- Sets the "member account discount visibility" preference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
memberAccountDiscountVisibility
UpdatePreferencesRequest.Builder memberAccountDiscountVisibility(MemberAccountDiscountVisibility memberAccountDiscountVisibility) Sets the "member account discount visibility" preference.
- Parameters:
memberAccountDiscountVisibility
- Sets the "member account discount visibility" preference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
savingsEstimationMode
Sets the "savings estimation mode" preference.
- Parameters:
savingsEstimationMode
- Sets the "savings estimation mode" preference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
savingsEstimationMode
Sets the "savings estimation mode" preference.
- Parameters:
savingsEstimationMode
- Sets the "savings estimation mode" preference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdatePreferencesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdatePreferencesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-