Class CreatePermissionRequest.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class CreatePermissionRequest.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for CreatePermissionRequest instances.
-
-
Field Summary
Fields Modifier and Type Field Description public PermissionType
permissionType
public String
permissionString
public String
groupVisibility
-
Method Summary
Modifier and Type Method Description PermissionType
getPermissionType()
Gets the value of the 'permissionType' field. CreatePermissionRequest.Builder
setPermissionType(PermissionType value)
Sets the value of the 'permissionType' field. String
getPermissionString()
Gets the value of the 'permissionString' field. CreatePermissionRequest.Builder
setPermissionString(String value)
Sets the value of the 'permissionString' field. String
getGroupVisibility()
Gets the value of the 'groupVisibility' field. CreatePermissionRequest.Builder
setGroupVisibility(String value)
Sets the value of the 'groupVisibility' field. boolean
hasPermissionType()
Checks whether the 'permissionType' field has been set. CreatePermissionRequest.Builder
clearPermissionType()
Clears the value of the 'permissionType' field. boolean
hasPermissionString()
Checks whether the 'permissionString' field has been set. CreatePermissionRequest.Builder
clearPermissionString()
Clears the value of the 'permissionString' field. boolean
hasGroupVisibility()
Checks whether the 'groupVisibility' field has been set. CreatePermissionRequest.Builder
clearGroupVisibility()
Clears the value of the 'groupVisibility' field. CreatePermissionRequest
build()
-
-
Method Detail
-
getPermissionType
PermissionType getPermissionType()
Gets the value of the 'permissionType' field. The type of the permission.
-
setPermissionType
CreatePermissionRequest.Builder setPermissionType(PermissionType value)
Sets the value of the 'permissionType' field. The type of the permission.
- Parameters:
value
- The value of 'permissionType'.
-
getPermissionString
String getPermissionString()
Gets the value of the 'permissionString' field.
-
setPermissionString
CreatePermissionRequest.Builder setPermissionString(String value)
Sets the value of the 'permissionString' field.
- Parameters:
value
- The value of 'permissionString'.
-
getGroupVisibility
String getGroupVisibility()
Gets the value of the 'groupVisibility' field.
-
setGroupVisibility
CreatePermissionRequest.Builder setGroupVisibility(String value)
Sets the value of the 'groupVisibility' field.
- Parameters:
value
- The value of 'groupVisibility'.
-
hasPermissionType
boolean hasPermissionType()
Checks whether the 'permissionType' field has been set. The type of the permission.
-
clearPermissionType
CreatePermissionRequest.Builder clearPermissionType()
Clears the value of the 'permissionType' field. The type of the permission.
-
hasPermissionString
boolean hasPermissionString()
Checks whether the 'permissionString' field has been set.
-
clearPermissionString
CreatePermissionRequest.Builder clearPermissionString()
Clears the value of the 'permissionString' field.
-
hasGroupVisibility
boolean hasGroupVisibility()
Checks whether the 'groupVisibility' field has been set.
-
clearGroupVisibility
CreatePermissionRequest.Builder clearGroupVisibility()
Clears the value of the 'groupVisibility' field.
-
build
CreatePermissionRequest build()
-
-
-
-