Interface CreateQAppRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateQAppRequest.Builder,
,CreateQAppRequest> QAppsRequest.Builder
,SdkBuilder<CreateQAppRequest.Builder,
,CreateQAppRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateQAppRequest
@Mutable
@NotThreadSafe
public static interface CreateQAppRequest.Builder
extends QAppsRequest.Builder, SdkPojo, CopyableBuilder<CreateQAppRequest.Builder,CreateQAppRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateQAppRequest.Builder
appDefinition
(Consumer<AppDefinitionInput.Builder> appDefinition) The definition of the new Q App, specifying the cards and flow.appDefinition
(AppDefinitionInput appDefinition) The definition of the new Q App, specifying the cards and flow.description
(String description) The description of the new Q App.instanceId
(String instanceId) The unique identifier of the Amazon Q Business application environment instance.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Optional tags to associate with the new Q App.The title of the new Q App.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.qapps.model.QAppsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
instanceId
The unique identifier of the Amazon Q Business application environment instance.
- Parameters:
instanceId
- The unique identifier of the Amazon Q Business application environment instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
The title of the new Q App.
- Parameters:
title
- The title of the new Q App.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the new Q App.
- Parameters:
description
- The description of the new Q App.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appDefinition
The definition of the new Q App, specifying the cards and flow.
- Parameters:
appDefinition
- The definition of the new Q App, specifying the cards and flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appDefinition
The definition of the new Q App, specifying the cards and flow.
This is a convenience method that creates an instance of theAppDefinitionInput.Builder
avoiding the need to create one manually viaAppDefinitionInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toappDefinition(AppDefinitionInput)
.- Parameters:
appDefinition
- a consumer that will call methods onAppDefinitionInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Optional tags to associate with the new Q App.
- Parameters:
tags
- Optional tags to associate with the new Q App.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateQAppRequest.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
CreateQAppRequest.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.
-