Interface CancelSubscriptionResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<CancelSubscriptionResponse.Builder,,- CancelSubscriptionResponse> - QBusinessResponse.Builder,- SdkBuilder<CancelSubscriptionResponse.Builder,,- CancelSubscriptionResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- CancelSubscriptionResponse
@Mutable
@NotThreadSafe
public static interface CancelSubscriptionResponse.Builder
extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<CancelSubscriptionResponse.Builder,CancelSubscriptionResponse> 
- 
Method SummaryModifier and TypeMethodDescriptioncurrentSubscription(Consumer<SubscriptionDetails.Builder> currentSubscription) The type of your current Amazon Q Business subscription.currentSubscription(SubscriptionDetails currentSubscription) The type of your current Amazon Q Business subscription.nextSubscription(Consumer<SubscriptionDetails.Builder> nextSubscription) The type of the Amazon Q Business subscription for the next month.nextSubscription(SubscriptionDetails nextSubscription) The type of the Amazon Q Business subscription for the next month.subscriptionArn(String subscriptionArn) The Amazon Resource Name (ARN) of the Amazon Q Business subscription being cancelled.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessResponse.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- 
subscriptionArnThe Amazon Resource Name (ARN) of the Amazon Q Business subscription being cancelled. - Parameters:
- subscriptionArn- The Amazon Resource Name (ARN) of the Amazon Q Business subscription being cancelled.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
currentSubscriptionThe type of your current Amazon Q Business subscription. - Parameters:
- currentSubscription- The type of your current Amazon Q Business subscription.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
currentSubscriptiondefault CancelSubscriptionResponse.Builder currentSubscription(Consumer<SubscriptionDetails.Builder> currentSubscription) The type of your current Amazon Q Business subscription. This is a convenience method that creates an instance of theSubscriptionDetails.Builderavoiding the need to create one manually viaSubscriptionDetails.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocurrentSubscription(SubscriptionDetails).- Parameters:
- currentSubscription- a consumer that will call methods on- SubscriptionDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nextSubscriptionThe type of the Amazon Q Business subscription for the next month. - Parameters:
- nextSubscription- The type of the Amazon Q Business subscription for the next month.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nextSubscriptiondefault CancelSubscriptionResponse.Builder nextSubscription(Consumer<SubscriptionDetails.Builder> nextSubscription) The type of the Amazon Q Business subscription for the next month. This is a convenience method that creates an instance of theSubscriptionDetails.Builderavoiding the need to create one manually viaSubscriptionDetails.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonextSubscription(SubscriptionDetails).- Parameters:
- nextSubscription- a consumer that will call methods on- SubscriptionDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-