public class EntityPropertiesBuilder extends Object
| Constructor and Description |
|---|
EntityPropertiesBuilder()
default constructor
|
| Modifier and Type | Method and Description |
|---|---|
InstanceProperties |
build()
Returns the instance properties object
|
EntityPropertiesBuilder |
withDateProperty(String key,
Long timestamp)
Returns the same builder
|
EntityPropertiesBuilder |
withIntegerProperty(String key,
Integer value)
Returns the same builder
|
EntityPropertiesBuilder |
withStringProperty(String key,
String value)
Returns the same builder
|
public EntityPropertiesBuilder withStringProperty(String key, String value)
key - - name of the propertyvalue - - value of the propertypublic EntityPropertiesBuilder withIntegerProperty(String key, Integer value)
key - - name of the propertyvalue - - value of the propertypublic EntityPropertiesBuilder withDateProperty(String key, Long timestamp)
key - - name of the propertytimestamp - - timestamp to be formatted as datepublic InstanceProperties build()
Copyright © 2018–2020 ODPi. All rights reserved.