public static interface DashboardError.Builder extends SdkPojo, CopyableBuilder<DashboardError.Builder,DashboardError>
| Modifier and Type | Method and Description |
|---|---|
DashboardError.Builder |
message(String message)
Message.
|
DashboardError.Builder |
type(DashboardErrorType type)
Type.
|
DashboardError.Builder |
type(String type)
Type.
|
DashboardError.Builder |
violatedEntities(Collection<Entity> violatedEntities)
Lists the violated entities that caused the dashboard error.
|
DashboardError.Builder |
violatedEntities(Consumer<Entity.Builder>... violatedEntities)
Lists the violated entities that caused the dashboard error.
|
DashboardError.Builder |
violatedEntities(Entity... violatedEntities)
Lists the violated entities that caused the dashboard error.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDashboardError.Builder type(String type)
Type.
type - Type.DashboardErrorType,
DashboardErrorTypeDashboardError.Builder type(DashboardErrorType type)
Type.
type - Type.DashboardErrorType,
DashboardErrorTypeDashboardError.Builder message(String message)
Message.
message - Message.DashboardError.Builder violatedEntities(Collection<Entity> violatedEntities)
Lists the violated entities that caused the dashboard error.
violatedEntities - Lists the violated entities that caused the dashboard error.DashboardError.Builder violatedEntities(Entity... violatedEntities)
Lists the violated entities that caused the dashboard error.
violatedEntities - Lists the violated entities that caused the dashboard error.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 theEntity.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.
violatedEntities - a consumer that will call methods on
Entity.Builder#violatedEntities(java.util.Collection) Copyright © 2023. All rights reserved.