Interface AppDefinitionInput.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AppDefinitionInput.Builder,AppDefinitionInput>,SdkBuilder<AppDefinitionInput.Builder,AppDefinitionInput>,SdkPojo
- Enclosing class:
- AppDefinitionInput
public static interface AppDefinitionInput.Builder extends SdkPojo, CopyableBuilder<AppDefinitionInput.Builder,AppDefinitionInput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AppDefinitionInput.Buildercards(Collection<CardInput> cards)The cards that make up the Q App definition.AppDefinitionInput.Buildercards(Consumer<CardInput.Builder>... cards)The cards that make up the Q App definition.AppDefinitionInput.Buildercards(CardInput... cards)The cards that make up the Q App definition.AppDefinitionInput.BuilderinitialPrompt(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, sdkFields
-
-
-
-
Method Detail
-
cards
AppDefinitionInput.Builder cards(Collection<CardInput> 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
AppDefinitionInput.Builder cards(CardInput... 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
AppDefinitionInput.Builder cards(Consumer<CardInput.Builder>... cards)
The cards that make up the Q App definition.
This is a convenience method that creates an instance of theCardInput.Builderavoiding the need to create one manually viaCardInput.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 onCardInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#cards(java.util.Collection)
-
initialPrompt
AppDefinitionInput.Builder initialPrompt(String 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.
-
-