public static interface AnalysisError.Builder extends SdkPojo, CopyableBuilder<AnalysisError.Builder,AnalysisError>
| Modifier and Type | Method and Description |
|---|---|
AnalysisError.Builder |
message(String message)
The message associated with the analysis error.
|
AnalysisError.Builder |
type(AnalysisErrorType type)
The type of the analysis error.
|
AnalysisError.Builder |
type(String type)
The type of the analysis error.
|
AnalysisError.Builder |
violatedEntities(Collection<Entity> violatedEntities)
Lists the violated entities that caused the analysis error
|
AnalysisError.Builder |
violatedEntities(Consumer<Entity.Builder>... violatedEntities)
Lists the violated entities that caused the analysis error
|
AnalysisError.Builder |
violatedEntities(Entity... violatedEntities)
Lists the violated entities that caused the analysis error
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAnalysisError.Builder type(String type)
The type of the analysis error.
type - The type of the analysis error.AnalysisErrorType,
AnalysisErrorTypeAnalysisError.Builder type(AnalysisErrorType type)
The type of the analysis error.
type - The type of the analysis error.AnalysisErrorType,
AnalysisErrorTypeAnalysisError.Builder message(String message)
The message associated with the analysis error.
message - The message associated with the analysis error.AnalysisError.Builder violatedEntities(Collection<Entity> violatedEntities)
Lists the violated entities that caused the analysis error
violatedEntities - Lists the violated entities that caused the analysis errorAnalysisError.Builder violatedEntities(Entity... violatedEntities)
Lists the violated entities that caused the analysis error
violatedEntities - Lists the violated entities that caused the analysis errorAnalysisError.Builder violatedEntities(Consumer<Entity.Builder>... violatedEntities)
Lists the violated entities that caused the analysis 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.