Interface AppDefinitionInput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AppDefinitionInput.Builder,
,AppDefinitionInput> SdkBuilder<AppDefinitionInput.Builder,
,AppDefinitionInput> SdkPojo
- Enclosing class:
AppDefinitionInput
@Mutable
@NotThreadSafe
public static interface AppDefinitionInput.Builder
extends SdkPojo, CopyableBuilder<AppDefinitionInput.Builder,AppDefinitionInput>
-
Method Summary
Modifier and TypeMethodDescriptioncards
(Collection<CardInput> cards) The cards that make up the Q App definition.cards
(Consumer<CardInput.Builder>... cards) The cards that make up the Q App definition.The cards that make up the Q App definition.initialPrompt
(String initialPrompt) The initial prompt displayed when the Q App is started.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, sdkFieldNameToField, sdkFields
-
Method Details
-
cards
The cards that make up the Q App definition.
- Parameters:
cards
- The cards that make up the Q App definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cards
The cards that make up the Q App definition.
- Parameters:
cards
- The cards that make up the Q App definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cards
The cards that make up the Q App definition.
This is a convenience method that creates an instance of theCardInput.Builder
avoiding the need to create one manually viaCardInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocards(List<CardInput>)
.- Parameters:
cards
- a consumer that will call methods onCardInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
initialPrompt
The initial prompt displayed when the Q App is started.
- Parameters:
initialPrompt
- The initial prompt displayed when the Q App is started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-