Package com.vmware.nsx_policy.model
Class RolesForPath.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.RolesForPath.Builder
-
- Enclosing class:
- RolesForPath
public static final class RolesForPath.Builder extends java.lang.Object
Builder class forRolesForPath
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofRolesForPath
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RolesForPath
build()
RolesForPath.Builder
setDeletePath(java.lang.Boolean deletePath)
Flag to delete the path in role-binding update operation.RolesForPath.Builder
setPath(java.lang.String path)
Path of the entity in parent hierarchy.RolesForPath.Builder
setRoles(java.util.List<Role> roles)
Applicable roles.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofRolesForPath
.
-
-
Method Detail
-
setDeletePath
public RolesForPath.Builder setDeletePath(java.lang.Boolean deletePath)
Flag to delete the path in role-binding update operation. If false then path will not be deleted while updating the role-binding. If true then path will be deleted while updating the role-binding. Please note: This flag will be used only in role-binding PUT api.- Parameters:
deletePath
- New value for the property.
-
setPath
public RolesForPath.Builder setPath(java.lang.String path)
Path of the entity in parent hierarchy.- Parameters:
path
- New value for the property.
-
setRoles
public RolesForPath.Builder setRoles(java.util.List<Role> roles)
Applicable roles.- Parameters:
roles
- New value for the property.
-
build
public RolesForPath build()
-
-