public static interface ValidationWarning.Builder extends SdkPojo, CopyableBuilder<ValidationWarning.Builder,ValidationWarning>
| Modifier and Type | Method and Description |
|---|---|
ValidationWarning.Builder |
errors(Collection<ValidationError> errors)
The error codes and error messages.
|
ValidationWarning.Builder |
errors(Consumer<ValidationError.Builder>... errors)
The error codes and error messages.
|
ValidationWarning.Builder |
errors(ValidationError... errors)
The error codes and error messages.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildValidationWarning.Builder errors(Collection<ValidationError> errors)
The error codes and error messages.
errors - The error codes and error messages.ValidationWarning.Builder errors(ValidationError... errors)
The error codes and error messages.
errors - The error codes and error messages.ValidationWarning.Builder errors(Consumer<ValidationError.Builder>... errors)
The error codes and error messages.
This is a convenience method that creates an instance of theValidationError.Builder avoiding the need to create one
manually via ValidationError.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #errors(List.
errors - a consumer that will call methods on
ValidationError.Builder#errors(java.util.Collection) Copyright © 2023. All rights reserved.