Interface ComponentDataConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ComponentDataConfiguration.Builder,ComponentDataConfiguration>,SdkBuilder<ComponentDataConfiguration.Builder,ComponentDataConfiguration>,SdkPojo
- Enclosing class:
- ComponentDataConfiguration
public static interface ComponentDataConfiguration.Builder extends SdkPojo, CopyableBuilder<ComponentDataConfiguration.Builder,ComponentDataConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ComponentDataConfiguration.Builderidentifiers(String... identifiers)A list of IDs to use to bind data to a component.ComponentDataConfiguration.Builderidentifiers(Collection<String> identifiers)A list of IDs to use to bind data to a component.ComponentDataConfiguration.Buildermodel(String model)The name of the data model to use to bind data to a component.default ComponentDataConfiguration.Builderpredicate(Consumer<Predicate.Builder> predicate)Represents the conditional logic to use when binding data to a component.ComponentDataConfiguration.Builderpredicate(Predicate predicate)Represents the conditional logic to use when binding data to a component.ComponentDataConfiguration.Buildersort(Collection<SortProperty> sort)Describes how to sort the component's properties.ComponentDataConfiguration.Buildersort(Consumer<SortProperty.Builder>... sort)Describes how to sort the component's properties.ComponentDataConfiguration.Buildersort(SortProperty... sort)Describes how to sort the component's properties.-
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
-
model
ComponentDataConfiguration.Builder model(String model)
The name of the data model to use to bind data to a component.
- Parameters:
model- The name of the data model to use to bind data to a component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
ComponentDataConfiguration.Builder sort(Collection<SortProperty> sort)
Describes how to sort the component's properties.
- Parameters:
sort- Describes how to sort the component's properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
ComponentDataConfiguration.Builder sort(SortProperty... sort)
Describes how to sort the component's properties.
- Parameters:
sort- Describes how to sort the component's properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
ComponentDataConfiguration.Builder sort(Consumer<SortProperty.Builder>... sort)
Describes how to sort the component's properties.
This is a convenience method that creates an instance of theSortProperty.Builderavoiding the need to create one manually viaSortProperty.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sort(List.) - Parameters:
sort- a consumer that will call methods onSortProperty.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#sort(java.util.Collection)
-
predicate
ComponentDataConfiguration.Builder predicate(Predicate predicate)
Represents the conditional logic to use when binding data to a component. Use this property to retrieve only a subset of the data in a collection.
- Parameters:
predicate- Represents the conditional logic to use when binding data to a component. Use this property to retrieve only a subset of the data in a collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predicate
default ComponentDataConfiguration.Builder predicate(Consumer<Predicate.Builder> predicate)
Represents the conditional logic to use when binding data to a component. Use this property to retrieve only a subset of the data in a collection.
This is a convenience method that creates an instance of thePredicate.Builderavoiding the need to create one manually viaPredicate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topredicate(Predicate).- Parameters:
predicate- a consumer that will call methods onPredicate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
predicate(Predicate)
-
identifiers
ComponentDataConfiguration.Builder identifiers(Collection<String> identifiers)
A list of IDs to use to bind data to a component. Use this property to bind specifically chosen data, rather than data retrieved from a query.
- Parameters:
identifiers- A list of IDs to use to bind data to a component. Use this property to bind specifically chosen data, rather than data retrieved from a query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifiers
ComponentDataConfiguration.Builder identifiers(String... identifiers)
A list of IDs to use to bind data to a component. Use this property to bind specifically chosen data, rather than data retrieved from a query.
- Parameters:
identifiers- A list of IDs to use to bind data to a component. Use this property to bind specifically chosen data, rather than data retrieved from a query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-