Interface ValidationFailure.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ValidationFailure.Builder,ValidationFailure>
,SdkBuilder<ValidationFailure.Builder,ValidationFailure>
,SdkPojo
- Enclosing class:
- ValidationFailure
public static interface ValidationFailure.Builder extends SdkPojo, CopyableBuilder<ValidationFailure.Builder,ValidationFailure>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValidationFailure.Builder
code(String code)
The error code of the failure.ValidationFailure.Builder
message(String message)
A message corresponding to the failure.-
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
ValidationFailure.Builder code(String code)
The error code of the failure.
- Parameters:
code
- The error code of the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
ValidationFailure.Builder message(String message)
A message corresponding to the failure.
- Parameters:
message
- A message corresponding to the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-