Package com.vmware.nsx_policy.model
Class RegistrationToken.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.RegistrationToken.Builder
-
- Enclosing class:
- RegistrationToken
public static final class RegistrationToken.Builder extends java.lang.Object
Builder class forRegistrationToken
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofRegistrationToken
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegistrationToken
build()
RegistrationToken.Builder
setRoles(java.util.List<java.lang.String> roles)
List resultsRegistrationToken.Builder
setToken(java.lang.String token)
Access tokenRegistrationToken.Builder
setUser(java.lang.String user)
User delegated by token
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofRegistrationToken
.
-
-
Method Detail
-
setRoles
public RegistrationToken.Builder setRoles(java.util.List<java.lang.String> roles)
List results- Parameters:
roles
- New value for the property.
-
setToken
public RegistrationToken.Builder setToken(java.lang.String token)
Access token- Parameters:
token
- New value for the property.
-
setUser
public RegistrationToken.Builder setUser(java.lang.String user)
User delegated by token- Parameters:
user
- New value for the property.
-
build
public RegistrationToken build()
-
-