| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
NsxRole. |
| Modifier and Type | Method and Description |
|---|---|
NsxRole |
build() |
NsxRole.Builder |
setPermissions(java.util.List<java.lang.String> permissions)
Possible values are:
NsxRole.PERMISSIONS_READ_API
NsxRole.PERMISSIONS_READ_WRITE_API
NsxRole.PERMISSIONS_CRUD
NsxRole.PERMISSIONS_READ
NsxRole.PERMISSIONS_EXECUTE
NsxRole.PERMISSIONS_NONE
Please use the /user-info/permissions api to get the permission that the user
has on each feature. |
NsxRole.Builder |
setRole(java.lang.String role)
This field represents the identifier of the role.
|
public Builder()
NsxRole.public NsxRole.Builder setPermissions(java.util.List<java.lang.String> permissions)
permissions - New value for the property.public NsxRole.Builder setRole(java.lang.String role)
role - New value for the property.public NsxRole build()