Package net.corda.data.permissions
Class RoleAssociation.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class RoleAssociation.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for RoleAssociation instances.
-
-
Field Summary
Fields Modifier and Type Field Description public ChangeDetails
changeDetails
public ChangeDetails.Builder
changeDetailsBuilder
public String
roleId
-
Method Summary
Modifier and Type Method Description ChangeDetails
getChangeDetails()
Gets the value of the 'changeDetails' field. RoleAssociation.Builder
setChangeDetails(ChangeDetails value)
Sets the value of the 'changeDetails' field. ChangeDetails.Builder
getChangeDetailsBuilder()
Gets the Builder instance for the 'changeDetails' field and creates one if it doesn't exist yet. RoleAssociation.Builder
setChangeDetailsBuilder(ChangeDetails.Builder value)
Sets the Builder instance for the 'changeDetails' field String
getRoleId()
Gets the value of the 'roleId' field. RoleAssociation.Builder
setRoleId(String value)
Sets the value of the 'roleId' field. boolean
hasChangeDetails()
Checks whether the 'changeDetails' field has been set. boolean
hasChangeDetailsBuilder()
Checks whether the 'changeDetails' field has an active Builder instance RoleAssociation.Builder
clearChangeDetails()
Clears the value of the 'changeDetails' field. boolean
hasRoleId()
Checks whether the 'roleId' field has been set. RoleAssociation.Builder
clearRoleId()
Clears the value of the 'roleId' field. RoleAssociation
build()
-
-
Method Detail
-
getChangeDetails
ChangeDetails getChangeDetails()
Gets the value of the 'changeDetails' field.
-
setChangeDetails
RoleAssociation.Builder setChangeDetails(ChangeDetails value)
Sets the value of the 'changeDetails' field.
- Parameters:
value
- The value of 'changeDetails'.
-
getChangeDetailsBuilder
ChangeDetails.Builder getChangeDetailsBuilder()
Gets the Builder instance for the 'changeDetails' field and creates one if it doesn't exist yet.
-
setChangeDetailsBuilder
RoleAssociation.Builder setChangeDetailsBuilder(ChangeDetails.Builder value)
Sets the Builder instance for the 'changeDetails' field
- Parameters:
value
- The builder instance that must be set.
-
setRoleId
RoleAssociation.Builder setRoleId(String value)
Sets the value of the 'roleId' field. ID of associated Role.
- Parameters:
value
- The value of 'roleId'.
-
hasChangeDetails
boolean hasChangeDetails()
Checks whether the 'changeDetails' field has been set.
-
hasChangeDetailsBuilder
boolean hasChangeDetailsBuilder()
Checks whether the 'changeDetails' field has an active Builder instance
-
clearChangeDetails
RoleAssociation.Builder clearChangeDetails()
Clears the value of the 'changeDetails' field.
-
hasRoleId
boolean hasRoleId()
Checks whether the 'roleId' field has been set. ID of associated Role.
-
clearRoleId
RoleAssociation.Builder clearRoleId()
Clears the value of the 'roleId' field. ID of associated Role.
-
build
RoleAssociation build()
-
-
-
-