@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComponentDataConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes the configuration for binding a component's properties to data.
Constructor and Description |
---|
ComponentDataConfiguration() |
Modifier and Type | Method and Description |
---|---|
ComponentDataConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getIdentifiers()
A list of IDs to use to bind data to a component.
|
String |
getModel()
The name of the data model to use to bind data to a component.
|
Predicate |
getPredicate()
Represents the conditional logic to use when binding data to a component.
|
List<SortProperty> |
getSort()
Describes how to sort the component's properties.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIdentifiers(Collection<String> identifiers)
A list of IDs to use to bind data to a component.
|
void |
setModel(String model)
The name of the data model to use to bind data to a component.
|
void |
setPredicate(Predicate predicate)
Represents the conditional logic to use when binding data to a component.
|
void |
setSort(Collection<SortProperty> sort)
Describes how to sort the component's properties.
|
String |
toString()
Returns a string representation of this object.
|
ComponentDataConfiguration |
withIdentifiers(Collection<String> identifiers)
A list of IDs to use to bind data to a component.
|
ComponentDataConfiguration |
withIdentifiers(String... identifiers)
A list of IDs to use to bind data to a component.
|
ComponentDataConfiguration |
withModel(String model)
The name of the data model to use to bind data to a component.
|
ComponentDataConfiguration |
withPredicate(Predicate predicate)
Represents the conditional logic to use when binding data to a component.
|
ComponentDataConfiguration |
withSort(Collection<SortProperty> sort)
Describes how to sort the component's properties.
|
ComponentDataConfiguration |
withSort(SortProperty... sort)
Describes how to sort the component's properties.
|
public void setModel(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.public String getModel()
The name of the data model to use to bind data to a component.
public ComponentDataConfiguration withModel(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.public List<SortProperty> getSort()
Describes how to sort the component's properties.
public void setSort(Collection<SortProperty> sort)
Describes how to sort the component's properties.
sort
- Describes how to sort the component's properties.public ComponentDataConfiguration withSort(SortProperty... sort)
Describes how to sort the component's properties.
NOTE: This method appends the values to the existing list (if any). Use
setSort(java.util.Collection)
or withSort(java.util.Collection)
if you want to override the
existing values.
sort
- Describes how to sort the component's properties.public ComponentDataConfiguration withSort(Collection<SortProperty> sort)
Describes how to sort the component's properties.
sort
- Describes how to sort the component's properties.public void setPredicate(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.public Predicate getPredicate()
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.
public ComponentDataConfiguration withPredicate(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.public List<String> getIdentifiers()
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.
public void setIdentifiers(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.public ComponentDataConfiguration withIdentifiers(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.
NOTE: This method appends the values to the existing list (if any). Use
setIdentifiers(java.util.Collection)
or withIdentifiers(java.util.Collection)
if you want to
override the existing values.
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.public ComponentDataConfiguration withIdentifiers(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.public String toString()
toString
in class Object
Object.toString()
public ComponentDataConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.