public static final class AttributeVal.Builder
extends java.lang.Object
AttributeVal
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
AttributeVal . |
Modifier and Type | Method and Description |
---|---|
AttributeVal |
build() |
AttributeVal.Builder |
setDataType(java.lang.String dataType)
Possible values are:
AttributeVal.DATA_TYPE_STRING AttributeVal.DATA_TYPE_DATE AttributeVal.DATA_TYPE_INTEGER AttributeVal.DATA_TYPE_BOOLEAN Datatype
of the property
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
AttributeVal.Builder |
setKey(java.lang.String key)
Attribute key
|
AttributeVal.Builder |
setMultivalue(java.lang.Boolean multivalue)
If attribute has a single value or collection of values
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
AttributeVal.Builder |
setValues(java.util.List<java.lang.String> values)
List of attribute values
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
public Builder()
AttributeVal
.public AttributeVal.Builder setDataType(java.lang.String dataType)
dataType
- New value for the property.public AttributeVal.Builder setKey(java.lang.String key)
key
- New value for the property.public AttributeVal.Builder setMultivalue(java.lang.Boolean multivalue)
multivalue
- New value for the property.public AttributeVal.Builder setValues(java.util.List<java.lang.String> values)
values
- New value for the property.public AttributeVal build()