Interface DashboardError.Builder

    • Method Detail

      • message

        DashboardError.Builder message​(String message)

        Message.

        Parameters:
        message - Message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • violatedEntities

        DashboardError.Builder violatedEntities​(Collection<Entity> violatedEntities)

        Lists the violated entities that caused the dashboard error.

        Parameters:
        violatedEntities - Lists the violated entities that caused the dashboard error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • violatedEntities

        DashboardError.Builder violatedEntities​(Entity... violatedEntities)

        Lists the violated entities that caused the dashboard error.

        Parameters:
        violatedEntities - Lists the violated entities that caused the dashboard error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • violatedEntities

        DashboardError.Builder violatedEntities​(Consumer<Entity.Builder>... violatedEntities)

        Lists the violated entities that caused the dashboard error.

        This is a convenience method that creates an instance of the Entity.Builder avoiding the need to create one manually via Entity.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #violatedEntities(List).

        Parameters:
        violatedEntities - a consumer that will call methods on Entity.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #violatedEntities(java.util.Collection)