Interface InsightConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InsightConfiguration.Builder,
,InsightConfiguration> SdkBuilder<InsightConfiguration.Builder,
,InsightConfiguration> SdkPojo
- Enclosing class:
InsightConfiguration
public static interface InsightConfiguration.Builder
extends SdkPojo, CopyableBuilder<InsightConfiguration.Builder,InsightConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioncomputations
(Collection<Computation> computations) The computations configurations of the insight visualcomputations
(Consumer<Computation.Builder>... computations) The computations configurations of the insight visualcomputations
(Computation... computations) The computations configurations of the insight visualdefault InsightConfiguration.Builder
customNarrative
(Consumer<CustomNarrativeOptions.Builder> customNarrative) The custom narrative of the insight visual.customNarrative
(CustomNarrativeOptions customNarrative) The custom narrative of the insight visual.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 Details
-
computations
The computations configurations of the insight visual
- Parameters:
computations
- The computations configurations of the insight visual- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computations
The computations configurations of the insight visual
- Parameters:
computations
- The computations configurations of the insight visual- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computations
The computations configurations of the insight visual
This is a convenience method that creates an instance of theComputation.Builder
avoiding the need to create one manually viaComputation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomputations(List<Computation>)
.- Parameters:
computations
- a consumer that will call methods onComputation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customNarrative
The custom narrative of the insight visual.
- Parameters:
customNarrative
- The custom narrative of the insight visual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customNarrative
default InsightConfiguration.Builder customNarrative(Consumer<CustomNarrativeOptions.Builder> customNarrative) The custom narrative of the insight visual.
This is a convenience method that creates an instance of theCustomNarrativeOptions.Builder
avoiding the need to create one manually viaCustomNarrativeOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomNarrative(CustomNarrativeOptions)
.- Parameters:
customNarrative
- a consumer that will call methods onCustomNarrativeOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-