Class PermissionManagementRequest.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class PermissionManagementRequest.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for PermissionManagementRequest instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
requestUserId
public String
virtualNodeId
public Object
request
-
Method Summary
Modifier and Type Method Description String
getRequestUserId()
Gets the value of the 'requestUserId' field. PermissionManagementRequest.Builder
setRequestUserId(String value)
Sets the value of the 'requestUserId' field. String
getVirtualNodeId()
Gets the value of the 'virtualNodeId' field. PermissionManagementRequest.Builder
setVirtualNodeId(String value)
Sets the value of the 'virtualNodeId' field. Object
getRequest()
Gets the value of the 'request' field. PermissionManagementRequest.Builder
setRequest(Object value)
Sets the value of the 'request' field. boolean
hasRequestUserId()
Checks whether the 'requestUserId' field has been set. PermissionManagementRequest.Builder
clearRequestUserId()
Clears the value of the 'requestUserId' field. boolean
hasVirtualNodeId()
Checks whether the 'virtualNodeId' field has been set. PermissionManagementRequest.Builder
clearVirtualNodeId()
Clears the value of the 'virtualNodeId' field. boolean
hasRequest()
Checks whether the 'request' field has been set. PermissionManagementRequest.Builder
clearRequest()
Clears the value of the 'request' field. PermissionManagementRequest
build()
-
-
Method Detail
-
getRequestUserId
String getRequestUserId()
Gets the value of the 'requestUserId' field. ID of user who invoked this request.
- Returns:
The value.
-
setRequestUserId
PermissionManagementRequest.Builder setRequestUserId(String value)
Sets the value of the 'requestUserId' field. ID of user who invoked this request.
- Parameters:
value
- The value of 'requestUserId'.- Returns:
This builder.
-
getVirtualNodeId
String getVirtualNodeId()
Gets the value of the 'virtualNodeId' field. ID of virtual node or null
- Returns:
The value.
-
setVirtualNodeId
PermissionManagementRequest.Builder setVirtualNodeId(String value)
Sets the value of the 'virtualNodeId' field. ID of virtual node or null
- Parameters:
value
- The value of 'virtualNodeId'.- Returns:
This builder.
-
getRequest
Object getRequest()
Gets the value of the 'request' field.
- Returns:
The value.
-
setRequest
PermissionManagementRequest.Builder setRequest(Object value)
Sets the value of the 'request' field.
- Parameters:
value
- The value of 'request'.- Returns:
This builder.
-
hasRequestUserId
boolean hasRequestUserId()
Checks whether the 'requestUserId' field has been set. ID of user who invoked this request.
- Returns:
True if the 'requestUserId' field has been set, false otherwise.
-
clearRequestUserId
PermissionManagementRequest.Builder clearRequestUserId()
Clears the value of the 'requestUserId' field. ID of user who invoked this request.
- Returns:
This builder.
-
hasVirtualNodeId
boolean hasVirtualNodeId()
Checks whether the 'virtualNodeId' field has been set. ID of virtual node or null
- Returns:
True if the 'virtualNodeId' field has been set, false otherwise.
-
clearVirtualNodeId
PermissionManagementRequest.Builder clearVirtualNodeId()
Clears the value of the 'virtualNodeId' field. ID of virtual node or null
- Returns:
This builder.
-
hasRequest
boolean hasRequest()
Checks whether the 'request' field has been set.
- Returns:
True if the 'request' field has been set, false otherwise.
-
clearRequest
PermissionManagementRequest.Builder clearRequest()
Clears the value of the 'request' field.
- Returns:
This builder.
-
build
PermissionManagementRequest build()
-
-
-
-