Interface UpdateSubscriptionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateSubscriptionRequest.Builder,,UpdateSubscriptionRequest> PricingPlanManagerRequest.Builder,SdkBuilder<UpdateSubscriptionRequest.Builder,,UpdateSubscriptionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateSubscriptionRequest
@Mutable
@NotThreadSafe
public static interface UpdateSubscriptionRequest.Builder
extends PricingPlanManagerRequest.Builder, SdkPojo, CopyableBuilder<UpdateSubscriptionRequest.Builder,UpdateSubscriptionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the subscription to update.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the request is handled only once.TheETagvalue from a previousGetSubscriptionorListSubscriptionsresponse.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The new tier level for the subscription.usageLevel(String usageLevel) The usage level within the plan tier.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pricingplanmanager.model.PricingPlanManagerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
arn
The ARN of the subscription to update.
- Parameters:
arn- The ARN of the subscription to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
planTier
The new tier level for the subscription.
- Parameters:
planTier- The new tier level for the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageLevel
The usage level within the plan tier. Specify
DEFAULTfor the base configuration. If omitted, the usage level is reset to the default.- Parameters:
usageLevel- The usage level within the plan tier. SpecifyDEFAULTfor the base configuration. If omitted, the usage level is reset to the default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ifMatch
The
ETagvalue from a previousGetSubscriptionorListSubscriptionsresponse. This ensures you are updating the expected version of the subscription.- Parameters:
ifMatch- TheETagvalue from a previousGetSubscriptionorListSubscriptionsresponse. This ensures you are updating the expected version of the subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the request is handled only once.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the request is handled only once.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateSubscriptionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateSubscriptionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-