public static final class ElementValue.Builder
extends java.lang.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(java.util.List<java.lang.String> listValue)
List of strings value of the metadata element.
|
ElementValue.Builder |
setLongValue(java.lang.Long longValue)
Long value of the metadata element.
|
ElementValue.Builder |
setStringValue(java.lang.String stringValue)
String value of the metadata element.
|
ElementValue.Builder |
setStructureId(java.lang.String structureId)
Identifier of the structure element.
|
ElementValue.Builder |
setStructureIds(java.util.List<java.lang.String> structureIds)
List of identifiers of the structure elements.
|
public ElementValue.Builder(ElementValue.Type type)
ElementValue.public ElementValue.Builder setLongValue(java.lang.Long longValue)
getType() is ElementValue.Type.LONG.longValue - New value for the property.public ElementValue.Builder setStringValue(java.lang.String stringValue)
getType() is ElementValue.Type.STRING.stringValue - New value for the property.public ElementValue.Builder setListValue(java.util.List<java.lang.String> listValue)
getType() is ElementValue.Type.STRING_LIST.listValue - New value for the property.public ElementValue.Builder setStructureId(java.lang.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(java.util.List<java.lang.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()