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 Attributebuild()Attribute.BuildersetAttributeType(java.lang.String attributeType)Possible values are:Attribute.ATTRIBUTE_TYPE_IP_ADDRESSAttribute.ATTRIBUTE_TYPE_PORTAttribute.ATTRIBUTE_TYPE_PASSWORDAttribute.ATTRIBUTE_TYPE_STRINGAttribute.ATTRIBUTE_TYPE_LONGAttribute.ATTRIBUTE_TYPE_BOOLEANAttribute Type can be of any of the allowed enum type.Attribute.BuildersetDisplayName(java.lang.String displayName)Attribute display name string value.Attribute.BuildersetKey(java.lang.String key)Attribute key string value.Attribute.BuildersetReadOnly(java.lang.Boolean readOnly)Read only Attribute cannot be overdidden by service instance/deployment.Attribute.BuildersetValue(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()
-
-