Package com.vmware.nsx_policy.model
Class AttributeVal.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.AttributeVal.Builder
-
- Enclosing class:
- AttributeVal
public static final class AttributeVal.Builder extends java.lang.Object
Builder class forAttributeVal
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofAttributeVal
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 keyAttributeVal.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.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofAttributeVal
.
-
-
Method Detail
-
setDataType
public AttributeVal.Builder setDataType(java.lang.String dataType)
Possible values are: 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.- Parameters:
dataType
- New value for the property.
-
setKey
public AttributeVal.Builder setKey(java.lang.String key)
Attribute key- Parameters:
key
- New value for the property.
-
setMultivalue
public 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.- Parameters:
multivalue
- New value for the property.
-
setValues
public 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.- Parameters:
values
- New value for the property.
-
build
public AttributeVal build()
-
-