Interface Subscription.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Subscription.Builder,,- Subscription> - SdkBuilder<Subscription.Builder,,- Subscription> - SdkPojo
- Enclosing class:
- Subscription
- 
Method SummaryModifier and TypeMethodDescriptiondefault Subscription.BuildercurrentSubscription(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.default Subscription.BuildernextSubscription(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.default Subscription.Builderprincipal(Consumer<SubscriptionPrincipal.Builder> principal) The IAM Identity CenterUserIdorGroupIdof a user or group in the IAM Identity Center instance connected to the Amazon Q Business application.principal(SubscriptionPrincipal principal) The IAM Identity CenterUserIdorGroupIdof a user or group in the IAM Identity Center instance connected to the Amazon Q Business application.subscriptionArn(String subscriptionArn) The Amazon Resource Name (ARN) of the Amazon Q Business subscription that was updated.subscriptionId(String subscriptionId) The identifier of the Amazon Q Business subscription to be updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
subscriptionIdThe identifier of the Amazon Q Business subscription to be updated. - Parameters:
- subscriptionId- The identifier of the Amazon Q Business subscription to be updated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
subscriptionArnThe Amazon Resource Name (ARN) of the Amazon Q Business subscription that was updated. - Parameters:
- subscriptionArn- The Amazon Resource Name (ARN) of the Amazon Q Business subscription that was updated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
principalThe IAM Identity Center UserIdorGroupIdof a user or group in the IAM Identity Center instance connected to the Amazon Q Business application.- Parameters:
- principal- The IAM Identity Center- UserIdor- GroupIdof a user or group in the IAM Identity Center instance connected to the Amazon Q Business application.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
principalThe IAM Identity Center This is a convenience method that creates an instance of theUserIdorGroupIdof a user or group in the IAM Identity Center instance connected to the Amazon Q Business application.SubscriptionPrincipal.Builderavoiding the need to create one manually viaSubscriptionPrincipal.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprincipal(SubscriptionPrincipal).- Parameters:
- principal- a consumer that will call methods on- SubscriptionPrincipal.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
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 Subscription.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 Subscription.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:
 
 
-