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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AppDefinition.BuilderappDefinitionVersion(String appDefinitionVersion)The version of the app definition schema or specification.AppDefinition.BuildercanEdit(Boolean canEdit)A flag indicating whether the Q App's definition can be edited by the user.AppDefinition.Buildercards(Collection<Card> cards)The cards that make up the Q App, such as text input, file upload, or query cards.AppDefinition.Buildercards(Consumer<Card.Builder>... cards)The cards that make up the Q App, such as text input, file upload, or query cards.AppDefinition.Buildercards(Card... 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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
appDefinitionVersion
AppDefinition.Builder appDefinitionVersion(String 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
AppDefinition.Builder cards(Collection<Card> 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
AppDefinition.Builder cards(Card... 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
AppDefinition.Builder cards(Consumer<Card.Builder>... 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 to#cards(List.) - 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:
#cards(java.util.Collection)
-
canEdit
AppDefinition.Builder canEdit(Boolean 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.
-
-