Interface ValidationError.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ValidationError.Builder,ValidationError>,SdkBuilder<ValidationError.Builder,ValidationError>,SdkPojo
- Enclosing class:
- ValidationError
public static interface ValidationError.Builder extends SdkPojo, CopyableBuilder<ValidationError.Builder,ValidationError>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValidationError.Buildererrors(String... errors)A description of the validation error.ValidationError.Buildererrors(Collection<String> errors)A description of the validation error.ValidationError.Builderid(String id)The identifier of the object that contains the validation error.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
ValidationError.Builder id(String id)
The identifier of the object that contains the validation error.
- Parameters:
id- The identifier of the object that contains the validation error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
ValidationError.Builder errors(Collection<String> errors)
A description of the validation error.
- Parameters:
errors- A description of the validation error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
ValidationError.Builder errors(String... errors)
A description of the validation error.
- Parameters:
errors- A description of the validation error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-