Interface PredictAppDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PredictAppDefinition.Builder,
,PredictAppDefinition> SdkBuilder<PredictAppDefinition.Builder,
,PredictAppDefinition> SdkPojo
- Enclosing class:
PredictAppDefinition
@Mutable
@NotThreadSafe
public static interface PredictAppDefinition.Builder
extends SdkPojo, CopyableBuilder<PredictAppDefinition.Builder,PredictAppDefinition>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PredictAppDefinition.Builder
appDefinition
(Consumer<AppDefinitionInput.Builder> appDefinition) The definition specifying the cards and flow of the generated Q App.appDefinition
(AppDefinitionInput appDefinition) The definition specifying the cards and flow of the generated Q App.description
(String description) The description of the generated Q App definition.The title of the generated Q App definition.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
-
title
The title of the generated Q App definition.
- Parameters:
title
- The title of the generated Q App definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the generated Q App definition.
- Parameters:
description
- The description of the generated Q App definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appDefinition
The definition specifying the cards and flow of the generated Q App.
- Parameters:
appDefinition
- The definition specifying the cards and flow of the generated Q App.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appDefinition
default PredictAppDefinition.Builder appDefinition(Consumer<AppDefinitionInput.Builder> appDefinition) The definition specifying the cards and flow of the generated Q App.
This is a convenience method that creates an instance of theAppDefinitionInput.Builder
avoiding the need to create one manually viaAppDefinitionInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toappDefinition(AppDefinitionInput)
.- Parameters:
appDefinition
- a consumer that will call methods onAppDefinitionInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-