Interface ValidationWarning.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ValidationWarning.Builder,ValidationWarning>,SdkBuilder<ValidationWarning.Builder,ValidationWarning>,SdkPojo
- Enclosing class:
- ValidationWarning
@Mutable @NotThreadSafe public static interface ValidationWarning.Builder extends SdkPojo, CopyableBuilder<ValidationWarning.Builder,ValidationWarning>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValidationWarning.Buildererrors(Collection<ValidationError> errors)The error codes and error messages.ValidationWarning.Buildererrors(Consumer<ValidationError.Builder>... errors)The error codes and error messages.ValidationWarning.Buildererrors(ValidationError... errors)The error codes and error messages.-
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
-
errors
ValidationWarning.Builder errors(Collection<ValidationError> errors)
The error codes and error messages.
- Parameters:
errors- The error codes and error messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
ValidationWarning.Builder errors(ValidationError... errors)
The error codes and error messages.
- Parameters:
errors- The error codes and error messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
ValidationWarning.Builder errors(Consumer<ValidationError.Builder>... errors)
The error codes and error messages.
This is a convenience method that creates an instance of theValidationError.Builderavoiding the need to create one manually viaValidationError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errors(List.) - Parameters:
errors- a consumer that will call methods onValidationError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#errors(java.util.Collection)
-
-