Interface DashboardError.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DashboardError.Builder,DashboardError>,SdkBuilder<DashboardError.Builder,DashboardError>,SdkPojo
- Enclosing class:
- DashboardError
@Mutable @NotThreadSafe public static interface DashboardError.Builder extends SdkPojo, CopyableBuilder<DashboardError.Builder,DashboardError>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DashboardError.Buildermessage(String message)Message.DashboardError.Buildertype(String type)Type.DashboardError.Buildertype(DashboardErrorType type)Type.DashboardError.BuilderviolatedEntities(Collection<Entity> violatedEntities)Lists the violated entities that caused the dashboard error.DashboardError.BuilderviolatedEntities(Consumer<Entity.Builder>... violatedEntities)Lists the violated entities that caused the dashboard error.DashboardError.BuilderviolatedEntities(Entity... violatedEntities)Lists the violated entities that caused the dashboard error.-
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 Detail
-
type
DashboardError.Builder type(String type)
Type.
- Parameters:
type- Type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DashboardErrorType,DashboardErrorType
-
type
DashboardError.Builder type(DashboardErrorType type)
Type.
- Parameters:
type- Type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DashboardErrorType,DashboardErrorType
-
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 theEntity.Builderavoiding the need to create one manually viaEntity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#violatedEntities(List.) - Parameters:
violatedEntities- a consumer that will call methods onEntity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#violatedEntities(java.util.Collection)
-
-