Interface AppDefinition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AppDefinition.Builder,,AppDefinition> SdkBuilder<AppDefinition.Builder,,AppDefinition> SdkPojo
- Enclosing class:
AppDefinition
public static interface AppDefinition.Builder
extends SdkPojo, CopyableBuilder<AppDefinition.Builder,AppDefinition>
-
Method Summary
Modifier and TypeMethodDescriptionappDefinitionVersion(String appDefinitionVersion) The version of the app definition schema or specification.A flag indicating whether the Q App's definition can be edited by the user.cards(Collection<Card> cards) The cards that make up the Q App, such as text input, file upload, or query cards.cards(Consumer<Card.Builder>... cards) The cards that make up the Q App, such as text input, file upload, or query cards.The cards that make up the Q App, such as text input, file upload, or query cards.Methods 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, sdkFields
-
Method Details
-
appDefinitionVersion
The version of the app definition schema or specification.
- Parameters:
appDefinitionVersion- The version of the app definition schema or specification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cards
The cards that make up the Q App, such as text input, file upload, or query cards.
- Parameters:
cards- The cards that make up the Q App, such as text input, file upload, or query cards.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cards
The cards that make up the Q App, such as text input, file upload, or query cards.
- Parameters:
cards- The cards that make up the Q App, such as text input, file upload, or query cards.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cards
The cards that make up the Q App, such as text input, file upload, or query cards.
This is a convenience method that creates an instance of theCard.Builderavoiding the need to create one manually viaCard.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocards(List<Card>).- Parameters:
cards- a consumer that will call methods onCard.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
canEdit
A flag indicating whether the Q App's definition can be edited by the user.
- Parameters:
canEdit- A flag indicating whether the Q App's definition can be edited by the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-