Package com.vmware.nsx_policy.model
Class Role.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.Role.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Role
build()
Role.Builder
setRole(java.lang.String role)
Short identifier for the role.Role.Builder
setRoleDisplayName(java.lang.String roleDisplayName)
A short, human-friendly display name of the role.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofRole
.
-
-
Method Detail
-
setRole
public Role.Builder setRole(java.lang.String role)
Short identifier for the role. Must be all lower case with no spaces.- Parameters:
role
- New value for the property.
-
setRoleDisplayName
public Role.Builder setRoleDisplayName(java.lang.String roleDisplayName)
A short, human-friendly display name of the role.- Parameters:
roleDisplayName
- New value for the property.
-
build
public Role build()
-
-