Class AddRoleToUserRequest.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class AddRoleToUserRequest.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for AddRoleToUserRequest instances.
-
-
Method Summary
Modifier and Type Method Description String
getLoginName()
Gets the value of the 'loginName' field. AddRoleToUserRequest.Builder
setLoginName(String value)
Sets the value of the 'loginName' field. String
getRoleId()
Gets the value of the 'roleId' field. AddRoleToUserRequest.Builder
setRoleId(String value)
Sets the value of the 'roleId' field. boolean
hasLoginName()
Checks whether the 'loginName' field has been set. AddRoleToUserRequest.Builder
clearLoginName()
Clears the value of the 'loginName' field. boolean
hasRoleId()
Checks whether the 'roleId' field has been set. AddRoleToUserRequest.Builder
clearRoleId()
Clears the value of the 'roleId' field. AddRoleToUserRequest
build()
-
-
Method Detail
-
getLoginName
String getLoginName()
Gets the value of the 'loginName' field.
-
setLoginName
AddRoleToUserRequest.Builder setLoginName(String value)
Sets the value of the 'loginName' field.
- Parameters:
value
- The value of 'loginName'.
-
setRoleId
AddRoleToUserRequest.Builder setRoleId(String value)
Sets the value of the 'roleId' field.
- Parameters:
value
- The value of 'roleId'.
-
hasLoginName
boolean hasLoginName()
Checks whether the 'loginName' field has been set.
-
clearLoginName
AddRoleToUserRequest.Builder clearLoginName()
Clears the value of the 'loginName' field.
-
hasRoleId
boolean hasRoleId()
Checks whether the 'roleId' field has been set.
-
clearRoleId
AddRoleToUserRequest.Builder clearRoleId()
Clears the value of the 'roleId' field.
-
build
AddRoleToUserRequest build()
-
-
-
-