Interface FieldCondition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FieldCondition.Builder,,FieldCondition> SdkBuilder<FieldCondition.Builder,,FieldCondition> SdkPojo
- Enclosing class:
FieldCondition
-
Method Summary
Modifier and TypeMethodDescriptiondependsOnFieldPath(String dependsOnFieldPath) The path of the field whose value determines this condition, for example companyInfo.businessType.The comparison operator to apply between the dependency field's value and Values.The values to compare the dependency field's value against.values(Collection<String> values) The values to compare the dependency field's value against.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
-
dependsOnFieldPath
The path of the field whose value determines this condition, for example companyInfo.businessType.
- Parameters:
dependsOnFieldPath- The path of the field whose value determines this condition, for example companyInfo.businessType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operator
The comparison operator to apply between the dependency field's value and Values. Valid values are EQUALS, NOT_EQUALS, IN, NOT_IN, HAS_VALUE, and NO_VALUE. Operators not in this list are treated as evaluating to false, which causes the containing rule to be skipped. This allows forward-compatible additions of new operators without breaking older SDK clients.
- Parameters:
operator- The comparison operator to apply between the dependency field's value and Values. Valid values are EQUALS, NOT_EQUALS, IN, NOT_IN, HAS_VALUE, and NO_VALUE. Operators not in this list are treated as evaluating to false, which causes the containing rule to be skipped. This allows forward-compatible additions of new operators without breaking older SDK clients.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The values to compare the dependency field's value against. Required for the EQUALS, NOT_EQUALS, IN, and NOT_IN operators. Omitted for HAS_VALUE and NO_VALUE, which test only presence.
- Parameters:
values- The values to compare the dependency field's value against. Required for the EQUALS, NOT_EQUALS, IN, and NOT_IN operators. Omitted for HAS_VALUE and NO_VALUE, which test only presence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The values to compare the dependency field's value against. Required for the EQUALS, NOT_EQUALS, IN, and NOT_IN operators. Omitted for HAS_VALUE and NO_VALUE, which test only presence.
- Parameters:
values- The values to compare the dependency field's value against. Required for the EQUALS, NOT_EQUALS, IN, and NOT_IN operators. Omitted for HAS_VALUE and NO_VALUE, which test only presence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-