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 SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFields
- 
Method Details- 
appDefinitionVersionThe 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.
 
- 
cardsThe 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.
 
- 
cardsThe 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.
 
- 
cardsThe 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 on- Card.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
canEditA 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.
 
 
-