Class BulkCreatePermissionsResponse.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class BulkCreatePermissionsResponse.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for BulkCreatePermissionsResponse instances.
-
-
Method Summary
Modifier and Type Method Description List<String>
getPermissionIds()
Gets the value of the 'permissionIds' field. BulkCreatePermissionsResponse.Builder
setPermissionIds(List<String> value)
Sets the value of the 'permissionIds' field. List<String>
getRoleIds()
Gets the value of the 'roleIds' field. BulkCreatePermissionsResponse.Builder
setRoleIds(List<String> value)
Sets the value of the 'roleIds' field. boolean
hasPermissionIds()
Checks whether the 'permissionIds' field has been set. BulkCreatePermissionsResponse.Builder
clearPermissionIds()
Clears the value of the 'permissionIds' field. boolean
hasRoleIds()
Checks whether the 'roleIds' field has been set. BulkCreatePermissionsResponse.Builder
clearRoleIds()
Clears the value of the 'roleIds' field. BulkCreatePermissionsResponse
build()
-
-
Method Detail
-
getPermissionIds
List<String> getPermissionIds()
Gets the value of the 'permissionIds' field. A set of IDs of permissions created.
- Returns:
The value.
-
setPermissionIds
BulkCreatePermissionsResponse.Builder setPermissionIds(List<String> value)
Sets the value of the 'permissionIds' field. A set of IDs of permissions created.
- Parameters:
value
- The value of 'permissionIds'.- Returns:
This builder.
-
getRoleIds
List<String> getRoleIds()
Gets the value of the 'roleIds' field. Identifiers of the existing roles for permissions to be associated with.
- Returns:
The value.
-
setRoleIds
BulkCreatePermissionsResponse.Builder setRoleIds(List<String> value)
Sets the value of the 'roleIds' field. Identifiers of the existing roles for permissions to be associated with.
- Parameters:
value
- The value of 'roleIds'.- Returns:
This builder.
-
hasPermissionIds
boolean hasPermissionIds()
Checks whether the 'permissionIds' field has been set. A set of IDs of permissions created.
- Returns:
True if the 'permissionIds' field has been set, false otherwise.
-
clearPermissionIds
BulkCreatePermissionsResponse.Builder clearPermissionIds()
Clears the value of the 'permissionIds' field. A set of IDs of permissions created.
- Returns:
This builder.
-
hasRoleIds
boolean hasRoleIds()
Checks whether the 'roleIds' field has been set. Identifiers of the existing roles for permissions to be associated with.
- Returns:
True if the 'roleIds' field has been set, false otherwise.
-
clearRoleIds
BulkCreatePermissionsResponse.Builder clearRoleIds()
Clears the value of the 'roleIds' field. Identifiers of the existing roles for permissions to be associated with.
- Returns:
This builder.
-
build
BulkCreatePermissionsResponse build()
-
-
-
-