Interface ValidationExceptionError.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ValidationExceptionError.Builder,ValidationExceptionError>,SdkBuilder<ValidationExceptionError.Builder,ValidationExceptionError>,SdkPojo
- Enclosing class:
- ValidationExceptionError
public static interface ValidationExceptionError.Builder extends SdkPojo, CopyableBuilder<ValidationExceptionError.Builder,ValidationExceptionError>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValidationExceptionError.Buildercode(String code)Specifies the error code for the invalid field value.ValidationExceptionError.Buildercode(ValidationExceptionErrorCode code)Specifies the error code for the invalid field value.ValidationExceptionError.BuilderfieldName(String fieldName)Specifies the field name with the invalid value.ValidationExceptionError.Buildermessage(String message)Specifies the detailed error message for the invalid field value.-
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
ValidationExceptionError.Builder code(String code)
Specifies the error code for the invalid field value.
- Parameters:
code- Specifies the error code for the invalid field value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ValidationExceptionErrorCode,ValidationExceptionErrorCode
-
code
ValidationExceptionError.Builder code(ValidationExceptionErrorCode code)
Specifies the error code for the invalid field value.
- Parameters:
code- Specifies the error code for the invalid field value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ValidationExceptionErrorCode,ValidationExceptionErrorCode
-
fieldName
ValidationExceptionError.Builder fieldName(String fieldName)
Specifies the field name with the invalid value.
- Parameters:
fieldName- Specifies the field name with the invalid value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
ValidationExceptionError.Builder message(String message)
Specifies the detailed error message for the invalid field value.
- Parameters:
message- Specifies the detailed error message for the invalid field value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-