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.Builder
code(String code)
The error code that indicates why the parameter or parameter combination is not valid.ValidationError.Builder
message(String message)
The error message that describes why the parameter or parameter combination is not valid.-
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
-
code
ValidationError.Builder code(String code)
The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error codes.
- Parameters:
code
- The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
ValidationError.Builder message(String message)
The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error codes.
- Parameters:
message
- The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-