public static interface TemplateError.Builder extends SdkPojo, CopyableBuilder<TemplateError.Builder,TemplateError>
| Modifier and Type | Method and Description |
|---|---|
TemplateError.Builder |
message(String message)
Description of the error type.
|
TemplateError.Builder |
type(String type)
Type of error.
|
TemplateError.Builder |
type(TemplateErrorType type)
Type of error.
|
TemplateError.Builder |
violatedEntities(Collection<Entity> violatedEntities)
An error path that shows which entities caused the template error.
|
TemplateError.Builder |
violatedEntities(Consumer<Entity.Builder>... violatedEntities)
An error path that shows which entities caused the template error.
|
TemplateError.Builder |
violatedEntities(Entity... violatedEntities)
An error path that shows which entities caused the template error.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTemplateError.Builder type(String type)
Type of error.
type - Type of error.TemplateErrorType,
TemplateErrorTypeTemplateError.Builder type(TemplateErrorType type)
Type of error.
type - Type of error.TemplateErrorType,
TemplateErrorTypeTemplateError.Builder message(String message)
Description of the error type.
message - Description of the error type.TemplateError.Builder violatedEntities(Collection<Entity> violatedEntities)
An error path that shows which entities caused the template error.
violatedEntities - An error path that shows which entities caused the template error.TemplateError.Builder violatedEntities(Entity... violatedEntities)
An error path that shows which entities caused the template error.
violatedEntities - An error path that shows which entities caused the template error.TemplateError.Builder violatedEntities(Consumer<Entity.Builder>... violatedEntities)
An error path that shows which entities caused the template 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.