DataAttributesBuilder (API Reference)
Class DataAttributesBuilder
Data attributes collection builder.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds instance of DataAttributes.Configures the builder to add the given attribute.Configures the builder to add the given attribute.Configures the builder to add the given attribute.Configures the builder to add the given attribute.with(String name, DataAttributeValue value) Configures the builder to add the given attribute.Configures the builder to add the given attribute.
-
Constructor Details
-
DataAttributesBuilder
public DataAttributesBuilder()Creates a data attributes builder instance.
-
-
Method Details
-
with
Configures the builder to add the given attribute.
- Parameters:
name-Attribute name.
value-Attribute value.
- Returns:
This data attributes builder instance.
-
with
Configures the builder to add the given attribute.
- Parameters:
name-Attribute name.
value-Attribute value.
- Returns:
This data attributes builder instance.
-
with
Configures the builder to add the given attribute.
- Parameters:
name-Attribute name.
value-Attribute value.
- Returns:
This data attributes builder instance.
-
with
Configures the builder to add the given attribute.
- Parameters:
name-Attribute name.
value-Attribute value.
- Returns:
This data attributes builder instance.
-
with
Configures the builder to add the given attribute.
- Parameters:
name-Attribute name.
value-Attribute value.
- Returns:
This data attributes builder instance.
-
with
Configures the builder to add the given attribute.
- Parameters:
name-Attribute name.
value-Attribute value.
- Returns:
This data attributes builder instance.
-
build
Builds instance of DataAttributes.
- Returns:
Instance of the data attributes created with the given attributes.
-