Interface EmptyVisual.Builder

  • Method Details

    • visualId

      EmptyVisual.Builder visualId(String 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

      EmptyVisual.Builder dataSetIdentifier(String 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 the VisualCustomAction.Builder avoiding the need to create one manually via VisualCustomAction.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to actions(List<VisualCustomAction>).

      Parameters:
      actions - a consumer that will call methods on VisualCustomAction.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: