public static final class ElementValue.Builder extends Object
ElementValue
.Constructor and Description |
---|
ElementValue.Builder(ElementValue.Type type)
Constructor with parameters for the required properties of
ElementValue . |
Modifier and Type | Method and Description |
---|---|
ElementValue |
build() |
ElementValue.Builder |
setListValue(List<String> listValue)
List of strings value of the metadata element.
|
ElementValue.Builder |
setLongValue(Long longValue)
Long value of the metadata element.
|
ElementValue.Builder |
setStringValue(String stringValue)
String value of the metadata element.
|
ElementValue.Builder |
setStructureId(String structureId)
Identifier of the structure element.
|
ElementValue.Builder |
setStructureIds(List<String> structureIds)
List of identifiers of the structure elements.
|
public ElementValue.Builder(ElementValue.Type type)
ElementValue
.public ElementValue.Builder setLongValue(Long longValue)
getType()
is ElementValue.Type.LONG
.longValue
- New value for the property.public ElementValue.Builder setStringValue(String stringValue)
getType()
is ElementValue.Type.STRING
.stringValue
- New value for the property.public ElementValue.Builder setListValue(List<String> listValue)
getType()
is ElementValue.Type.STRING_LIST
.listValue
- New value for the property.public ElementValue.Builder setStructureId(String structureId)
getType()
is ElementValue.Type.STRUCTURE_REFERENCE
.structureId
- New value for the property.
When clients pass a value of this class as a parameter, the property must be an
identifier for the resource type: com.vmware.vapi.structure
. When
methods return a value of this class as a return value, the property will be an
identifier for the resource type: com.vmware.vapi.structure
.public ElementValue.Builder setStructureIds(List<String> structureIds)
getType()
is ElementValue.Type.STRUCTURE_REFERENCE_LIST
.structureIds
- New value for the property.
When clients pass a value of this class as a parameter, the property must
contain identifiers for the resource type: com.vmware.vapi.structure
.
When methods return a value of this class as a return value, the property will
contain identifiers for the resource type: com.vmware.vapi.structure
.public ElementValue build()
Copyright © 2016. All Rights Reserved.