Interface UpdateSubscriptionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateSubscriptionRequest.Builder,,UpdateSubscriptionRequest> SdkBuilder<UpdateSubscriptionRequest.Builder,,UpdateSubscriptionRequest> SdkPojo,SdkRequest.Builder,ShieldRequest.Builder
- Enclosing class:
UpdateSubscriptionRequest
-
Method Summary
Modifier and TypeMethodDescriptionWhen you initally create a subscription,AutoRenewis set toENABLED.When you initally create a subscription,AutoRenewis set toENABLED.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.shield.model.ShieldRequest.Builder
build
-
Method Details
-
autoRenew
When you initally create a subscription,
AutoRenewis set toENABLED. IfENABLED, the subscription will be automatically renewed at the end of the existing subscription period. You can change this by submitting anUpdateSubscriptionrequest. If theUpdateSubscriptionrequest does not included a value forAutoRenew, the existing value forAutoRenewremains unchanged.- Parameters:
autoRenew- When you initally create a subscription,AutoRenewis set toENABLED. IfENABLED, the subscription will be automatically renewed at the end of the existing subscription period. You can change this by submitting anUpdateSubscriptionrequest. If theUpdateSubscriptionrequest does not included a value forAutoRenew, the existing value forAutoRenewremains unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoRenew
When you initally create a subscription,
AutoRenewis set toENABLED. IfENABLED, the subscription will be automatically renewed at the end of the existing subscription period. You can change this by submitting anUpdateSubscriptionrequest. If theUpdateSubscriptionrequest does not included a value forAutoRenew, the existing value forAutoRenewremains unchanged.- Parameters:
autoRenew- When you initally create a subscription,AutoRenewis set toENABLED. IfENABLED, the subscription will be automatically renewed at the end of the existing subscription period. You can change this by submitting anUpdateSubscriptionrequest. If theUpdateSubscriptionrequest does not included a value forAutoRenew, the existing value forAutoRenewremains unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-