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