Interface FieldValidationError.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FieldValidationError.Builder,,FieldValidationError> SdkBuilder<FieldValidationError.Builder,,FieldValidationError> SdkPojo
- Enclosing class:
FieldValidationError
@Mutable
@NotThreadSafe
public static interface FieldValidationError.Builder
extends SdkPojo, CopyableBuilder<FieldValidationError.Builder,FieldValidationError>
-
Method Summary
Modifier and TypeMethodDescriptionA code identifying the specific field validation error.code(FieldValidationCode code) A code identifying the specific field validation error.A description of the field validation error.The name of the field that failed validation.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
-
name
The name of the field that failed validation.
- Parameters:
name- The name of the field that failed validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
A description of the field validation error.
- Parameters:
message- A description of the field validation error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
code
A code identifying the specific field validation error.
- Parameters:
code- A code identifying the specific field validation error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
code
A code identifying the specific field validation error.
- Parameters:
code- A code identifying the specific field validation error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-