Interface Validation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Validation.Builder,,Validation> SdkBuilder<Validation.Builder,,Validation> SdkPojo
- Enclosing class:
Validation
@Mutable
@NotThreadSafe
public static interface Validation.Builder
extends SdkPojo, CopyableBuilder<Validation.Builder,Validation>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Validation.BuildernumberValidation(Consumer<NumberValidation.Builder> numberValidation) Sets the value of the NumberValidation property for this object.numberValidation(NumberValidation numberValidation) Sets the value of the NumberValidation property for this object.default Validation.BuilderstringListValidation(Consumer<StringListValidation.Builder> stringListValidation) Sets the value of the StringListValidation property for this object.stringListValidation(StringListValidation stringListValidation) Sets the value of the StringListValidation property for this object.default Validation.BuilderstringValidation(Consumer<StringValidation.Builder> stringValidation) Sets the value of the StringValidation property for this object.stringValidation(StringValidation stringValidation) Sets the value of the StringValidation property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
stringValidation
Sets the value of the StringValidation property for this object.- Parameters:
stringValidation- The new value for the StringValidation property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stringValidation
Sets the value of the StringValidation property for this object. This is a convenience method that creates an instance of theStringValidation.Builderavoiding the need to create one manually viaStringValidation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostringValidation(StringValidation).- Parameters:
stringValidation- a consumer that will call methods onStringValidation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stringListValidation
Sets the value of the StringListValidation property for this object.- Parameters:
stringListValidation- The new value for the StringListValidation property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stringListValidation
default Validation.Builder stringListValidation(Consumer<StringListValidation.Builder> stringListValidation) Sets the value of the StringListValidation property for this object. This is a convenience method that creates an instance of theStringListValidation.Builderavoiding the need to create one manually viaStringListValidation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostringListValidation(StringListValidation).- Parameters:
stringListValidation- a consumer that will call methods onStringListValidation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
numberValidation
Sets the value of the NumberValidation property for this object.- Parameters:
numberValidation- The new value for the NumberValidation property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberValidation
Sets the value of the NumberValidation property for this object. This is a convenience method that creates an instance of theNumberValidation.Builderavoiding the need to create one manually viaNumberValidation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonumberValidation(NumberValidation).- Parameters:
numberValidation- a consumer that will call methods onNumberValidation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-