public static interface ComponentDataConfiguration.Builder extends SdkPojo, CopyableBuilder<ComponentDataConfiguration.Builder,ComponentDataConfiguration>
| Modifier and Type | Method and Description |
|---|---|
ComponentDataConfiguration.Builder |
identifiers(Collection<String> identifiers)
A list of IDs to use to bind data to a component.
|
ComponentDataConfiguration.Builder |
identifiers(String... identifiers)
A list of IDs to use to bind data to a component.
|
ComponentDataConfiguration.Builder |
model(String model)
The name of the data model to use to bind data to a component.
|
default ComponentDataConfiguration.Builder |
predicate(Consumer<Predicate.Builder> predicate)
Represents the conditional logic to use when binding data to a component.
|
ComponentDataConfiguration.Builder |
predicate(Predicate predicate)
Represents the conditional logic to use when binding data to a component.
|
ComponentDataConfiguration.Builder |
sort(Collection<SortProperty> sort)
Describes how to sort the component's properties.
|
ComponentDataConfiguration.Builder |
sort(Consumer<SortProperty.Builder>... sort)
Describes how to sort the component's properties.
|
ComponentDataConfiguration.Builder |
sort(SortProperty... sort)
Describes how to sort the component's properties.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildComponentDataConfiguration.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.
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.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.
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.ComponentDataConfiguration.Builder model(String model)
The name of the data model to use to bind data to a component.
model - The name of the data model to use to bind data to a component.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.
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.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.Builder avoiding the need to
create one manually via Predicate.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to predicate(Predicate).
predicate - a consumer that will call methods on Predicate.Builderpredicate(Predicate)ComponentDataConfiguration.Builder sort(Collection<SortProperty> sort)
Describes how to sort the component's properties.
sort - Describes how to sort the component's properties.ComponentDataConfiguration.Builder sort(SortProperty... sort)
Describes how to sort the component's properties.
sort - Describes how to sort the component's properties.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.Builder avoiding the need to
create one manually via SortProperty.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #sort(List.
sort - a consumer that will call methods on
SortProperty.Builder#sort(java.util.Collection) Copyright © 2022. All rights reserved.