Interface FieldOptionsCaseRule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FieldOptionsCaseRule.Builder,,FieldOptionsCaseRule> SdkBuilder<FieldOptionsCaseRule.Builder,,FieldOptionsCaseRule> SdkPojo
- Enclosing class:
FieldOptionsCaseRule
@Mutable
@NotThreadSafe
public static interface FieldOptionsCaseRule.Builder
extends SdkPojo, CopyableBuilder<FieldOptionsCaseRule.Builder,FieldOptionsCaseRule>
-
Method Summary
Modifier and TypeMethodDescriptionchildFieldId(String childFieldId) The identifier of the child field whose options are controlled.parentChildFieldOptionsMappings(Collection<ParentChildFieldOptionsMapping> parentChildFieldOptionsMappings) A mapping between a parent field option value and child field option values.parentChildFieldOptionsMappings(Consumer<ParentChildFieldOptionsMapping.Builder>... parentChildFieldOptionsMappings) A mapping between a parent field option value and child field option values.parentChildFieldOptionsMappings(ParentChildFieldOptionsMapping... parentChildFieldOptionsMappings) A mapping between a parent field option value and child field option values.parentFieldId(String parentFieldId) The identifier of the parent field that controls options.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
-
parentFieldId
The identifier of the parent field that controls options.
- Parameters:
parentFieldId- The identifier of the parent field that controls options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
childFieldId
The identifier of the child field whose options are controlled.
- Parameters:
childFieldId- The identifier of the child field whose options are controlled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentChildFieldOptionsMappings
FieldOptionsCaseRule.Builder parentChildFieldOptionsMappings(Collection<ParentChildFieldOptionsMapping> parentChildFieldOptionsMappings) A mapping between a parent field option value and child field option values.
- Parameters:
parentChildFieldOptionsMappings- A mapping between a parent field option value and child field option values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentChildFieldOptionsMappings
FieldOptionsCaseRule.Builder parentChildFieldOptionsMappings(ParentChildFieldOptionsMapping... parentChildFieldOptionsMappings) A mapping between a parent field option value and child field option values.
- Parameters:
parentChildFieldOptionsMappings- A mapping between a parent field option value and child field option values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentChildFieldOptionsMappings
FieldOptionsCaseRule.Builder parentChildFieldOptionsMappings(Consumer<ParentChildFieldOptionsMapping.Builder>... parentChildFieldOptionsMappings) A mapping between a parent field option value and child field option values.
This is a convenience method that creates an instance of theParentChildFieldOptionsMapping.Builderavoiding the need to create one manually viaParentChildFieldOptionsMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparentChildFieldOptionsMappings(List<ParentChildFieldOptionsMapping>).- Parameters:
parentChildFieldOptionsMappings- a consumer that will call methods onParentChildFieldOptionsMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-