| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
UserInfo. |
| Modifier and Type | Method and Description |
|---|---|
UserInfo |
build() |
UserInfo.Builder |
setRoles(java.util.List<NsxRole> roles)
Permissions
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
UserInfo.Builder |
setRolesForPaths(java.util.List<RolesForPath> rolesForPaths)
The roles that are associated with the user, limiting them to a path.
|
UserInfo.Builder |
setUserName(java.lang.String userName)
User Name
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
public Builder()
UserInfo.public UserInfo.Builder setRoles(java.util.List<NsxRole> roles)
roles - New value for the property.public UserInfo.Builder setRolesForPaths(java.util.List<RolesForPath> rolesForPaths)
rolesForPaths - New value for the property.public UserInfo.Builder setUserName(java.lang.String userName)
userName - New value for the property.public UserInfo build()