Interface ValidationError.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ValidationError.Builder,,ValidationError> SdkBuilder<ValidationError.Builder,,ValidationError> SdkPojo
- Enclosing class:
ValidationError
@Mutable
@NotThreadSafe
public static interface ValidationError.Builder
extends SdkPojo, CopyableBuilder<ValidationError.Builder,ValidationError>
-
Method Summary
Modifier and TypeMethodDescriptionA mapping of field names to specific validation issues within the configuration.The error message describing the validation issue.The reason code or category for the validation 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
-
message
The error message describing the validation issue.
- Parameters:
message- The error message describing the validation issue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reason
The reason code or category for the validation error.
- Parameters:
reason- The reason code or category for the validation error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMap
A mapping of field names to specific validation issues within the configuration.
- Parameters:
fieldMap- A mapping of field names to specific validation issues within the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-