Class CreateRoleRequest.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class CreateRoleRequest.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for CreateRoleRequest instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
roleName
public String
groupVisibility
-
Method Summary
Modifier and Type Method Description String
getRoleName()
Gets the value of the 'roleName' field. CreateRoleRequest.Builder
setRoleName(String value)
Sets the value of the 'roleName' field. String
getGroupVisibility()
Gets the value of the 'groupVisibility' field. CreateRoleRequest.Builder
setGroupVisibility(String value)
Sets the value of the 'groupVisibility' field. boolean
hasRoleName()
Checks whether the 'roleName' field has been set. CreateRoleRequest.Builder
clearRoleName()
Clears the value of the 'roleName' field. boolean
hasGroupVisibility()
Checks whether the 'groupVisibility' field has been set. CreateRoleRequest.Builder
clearGroupVisibility()
Clears the value of the 'groupVisibility' field. CreateRoleRequest
build()
-
-
Method Detail
-
getRoleName
String getRoleName()
Gets the value of the 'roleName' field.
-
setRoleName
CreateRoleRequest.Builder setRoleName(String value)
Sets the value of the 'roleName' field.
- Parameters:
value
- The value of 'roleName'.
-
getGroupVisibility
String getGroupVisibility()
Gets the value of the 'groupVisibility' field.
-
setGroupVisibility
CreateRoleRequest.Builder setGroupVisibility(String value)
Sets the value of the 'groupVisibility' field.
- Parameters:
value
- The value of 'groupVisibility'.
-
hasRoleName
boolean hasRoleName()
Checks whether the 'roleName' field has been set.
-
clearRoleName
CreateRoleRequest.Builder clearRoleName()
Clears the value of the 'roleName' field.
-
hasGroupVisibility
boolean hasGroupVisibility()
Checks whether the 'groupVisibility' field has been set.
-
clearGroupVisibility
CreateRoleRequest.Builder clearGroupVisibility()
Clears the value of the 'groupVisibility' field.
-
build
CreateRoleRequest build()
-
-
-
-