Interface ConditionalValidation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConditionalValidation.Builder,,ConditionalValidation> SdkBuilder<ConditionalValidation.Builder,,ConditionalValidation> SdkPojo
- Enclosing class:
ConditionalValidation
@Mutable
@NotThreadSafe
public static interface ConditionalValidation.Builder
extends SdkPojo, CopyableBuilder<ConditionalValidation.Builder,ConditionalValidation>
-
Method Summary
Modifier and TypeMethodDescriptionallowedValues(String... allowedValues) The allowed values for a select field when this rule applies.allowedValues(Collection<String> allowedValues) The allowed values for a select field when this rule applies.The maximum length for the field value when this rule applies.The minimum length for the field value when this rule applies.A regular expression that the field value must match when this rule applies.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
-
minLength
The minimum length for the field value when this rule applies.
- Parameters:
minLength- The minimum length for the field value when this rule applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxLength
The maximum length for the field value when this rule applies.
- Parameters:
maxLength- The maximum length for the field value when this rule applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pattern
A regular expression that the field value must match when this rule applies.
- Parameters:
pattern- A regular expression that the field value must match when this rule applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedValues
The allowed values for a select field when this rule applies. A subset of the field's full option list.
- Parameters:
allowedValues- The allowed values for a select field when this rule applies. A subset of the field's full option list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedValues
The allowed values for a select field when this rule applies. A subset of the field's full option list.
- Parameters:
allowedValues- The allowed values for a select field when this rule applies. A subset of the field's full option list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-