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
Modifier and TypeMethodDescriptionMessage.Type.type(DashboardErrorType type) Type.violatedEntities(Collection<Entity> violatedEntities) Lists the violated entities that caused the dashboard error.violatedEntities(Consumer<Entity.Builder>... violatedEntities) Lists the violated entities that caused the dashboard error.violatedEntities(Entity... violatedEntities) Lists the violated entities that caused the dashboard error.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
type
Type.
- Parameters:
type- Type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Type.
- Parameters:
type- Type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
Message.
- Parameters:
message- Message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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 toviolatedEntities(List<Entity>).- 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:
-