Interface ValidationFailure.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ValidationFailure.Builder,ValidationFailure>,SdkBuilder<ValidationFailure.Builder,ValidationFailure>,SdkPojo
- Enclosing class:
- ValidationFailure
@Mutable @NotThreadSafe 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.Buildercode(String code)The error code of the failure.ValidationFailure.Buildermessage(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, sdkFieldNameToField, 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.
-
-