Package com.vmware.nsx_policy.model
Class Attribute.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.Attribute.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Attribute
build()
Attribute.Builder
setAttributeType(java.lang.String attributeType)
Possible values are:Attribute.ATTRIBUTE_TYPE_IP_ADDRESS
Attribute.ATTRIBUTE_TYPE_PORT
Attribute.ATTRIBUTE_TYPE_PASSWORD
Attribute.ATTRIBUTE_TYPE_STRING
Attribute.ATTRIBUTE_TYPE_LONG
Attribute.ATTRIBUTE_TYPE_BOOLEAN
Attribute Type can be of any of the allowed enum type.Attribute.Builder
setDisplayName(java.lang.String displayName)
Attribute display name string value.Attribute.Builder
setKey(java.lang.String key)
Attribute key string value.Attribute.Builder
setReadOnly(java.lang.Boolean readOnly)
Read only Attribute cannot be overdidden by service instance/deployment.Attribute.Builder
setValue(java.lang.String value)
Attribute value string value.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofAttribute
.
-
-
Method Detail
-
setAttributeType
public Attribute.Builder setAttributeType(java.lang.String attributeType)
Possible values are: Attribute Type can be of any of the allowed enum type.- Parameters:
attributeType
- New value for the property.
-
setDisplayName
public Attribute.Builder setDisplayName(java.lang.String displayName)
Attribute display name string value.- Parameters:
displayName
- New value for the property.
-
setKey
public Attribute.Builder setKey(java.lang.String key)
Attribute key string value.- Parameters:
key
- New value for the property.
-
setReadOnly
public Attribute.Builder setReadOnly(java.lang.Boolean readOnly)
Read only Attribute cannot be overdidden by service instance/deployment.- Parameters:
readOnly
- New value for the property.
-
setValue
public Attribute.Builder setValue(java.lang.String value)
Attribute value string value.- Parameters:
value
- New value for the property.
-
build
public Attribute build()
-
-