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.ObjectBuilder 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 AttributeValbuild()AttributeVal.BuildersetDataType(java.lang.String dataType)Possible values are:AttributeVal.DATA_TYPE_STRINGAttributeVal.DATA_TYPE_DATEAttributeVal.DATA_TYPE_INTEGERAttributeVal.DATA_TYPE_BOOLEANDatatype 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.BuildersetKey(java.lang.String key)Attribute keyAttributeVal.BuildersetMultivalue(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.BuildersetValues(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()
-
-