Interface EmptyVisual.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EmptyVisual.Builder,
,EmptyVisual> SdkBuilder<EmptyVisual.Builder,
,EmptyVisual> SdkPojo
- Enclosing class:
EmptyVisual
@Mutable
@NotThreadSafe
public static interface EmptyVisual.Builder
extends SdkPojo, CopyableBuilder<EmptyVisual.Builder,EmptyVisual>
-
Method Summary
Modifier and TypeMethodDescriptionactions
(Collection<VisualCustomAction> actions) The list of custom actions that are configured for a visual.actions
(Consumer<VisualCustomAction.Builder>... actions) The list of custom actions that are configured for a visual.actions
(VisualCustomAction... actions) The list of custom actions that are configured for a visual.dataSetIdentifier
(String dataSetIdentifier) The data set that is used in the empty visual.The unique identifier of a 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, sdkFieldNameToField, sdkFields
-
Method Details
-
visualId
The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.
- Parameters:
visualId
- The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSetIdentifier
The data set that is used in the empty visual. Every visual requires a dataset to render.
- Parameters:
dataSetIdentifier
- The data set that is used in the empty visual. Every visual requires a dataset to render.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The list of custom actions that are configured for a visual.
- Parameters:
actions
- The list of custom actions that are configured for a visual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The list of custom actions that are configured for a visual.
- Parameters:
actions
- The list of custom actions that are configured for a visual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The list of custom actions that are configured for a visual.
This is a convenience method that creates an instance of theVisualCustomAction.Builder
avoiding the need to create one manually viaVisualCustomAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactions(List<VisualCustomAction>)
.- Parameters:
actions
- a consumer that will call methods onVisualCustomAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-