Class Group.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class Group.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for Group instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
id
public int
version
public ChangeDetails
lastChangeDetails
public ChangeDetails.Builder
lastChangeDetailsBuilder
public String
name
public String
parentGroupId
public List<Property>
properties
public List<RoleAssociation>
roleAssociations
-
Method Summary
Modifier and Type Method Description String
getId()
Gets the value of the 'id' field. Group.Builder
setId(String value)
Sets the value of the 'id' field. int
getVersion()
Gets the value of the 'version' field. Group.Builder
setVersion(int value)
Sets the value of the 'version' field. ChangeDetails
getLastChangeDetails()
Gets the value of the 'lastChangeDetails' field. Group.Builder
setLastChangeDetails(ChangeDetails value)
Sets the value of the 'lastChangeDetails' field. ChangeDetails.Builder
getLastChangeDetailsBuilder()
Gets the Builder instance for the 'lastChangeDetails' field and creates one if it doesn't exist yet. Group.Builder
setLastChangeDetailsBuilder(ChangeDetails.Builder value)
Sets the Builder instance for the 'lastChangeDetails' field String
getName()
Gets the value of the 'name' field. Group.Builder
setName(String value)
Sets the value of the 'name' field. String
getParentGroupId()
Gets the value of the 'parentGroupId' field. Group.Builder
setParentGroupId(String value)
Sets the value of the 'parentGroupId' field. List<Property>
getProperties()
Gets the value of the 'properties' field. Group.Builder
setProperties(List<Property> value)
Sets the value of the 'properties' field. List<RoleAssociation>
getRoleAssociations()
Gets the value of the 'roleAssociations' field. Group.Builder
setRoleAssociations(List<RoleAssociation> value)
Sets the value of the 'roleAssociations' field. boolean
hasId()
Checks whether the 'id' field has been set. Group.Builder
clearId()
Clears the value of the 'id' field. boolean
hasVersion()
Checks whether the 'version' field has been set. Group.Builder
clearVersion()
Clears the value of the 'version' field. boolean
hasLastChangeDetails()
Checks whether the 'lastChangeDetails' field has been set. boolean
hasLastChangeDetailsBuilder()
Checks whether the 'lastChangeDetails' field has an active Builder instance Group.Builder
clearLastChangeDetails()
Clears the value of the 'lastChangeDetails' field. boolean
hasName()
Checks whether the 'name' field has been set. Group.Builder
clearName()
Clears the value of the 'name' field. boolean
hasParentGroupId()
Checks whether the 'parentGroupId' field has been set. Group.Builder
clearParentGroupId()
Clears the value of the 'parentGroupId' field. boolean
hasProperties()
Checks whether the 'properties' field has been set. Group.Builder
clearProperties()
Clears the value of the 'properties' field. boolean
hasRoleAssociations()
Checks whether the 'roleAssociations' field has been set. Group.Builder
clearRoleAssociations()
Clears the value of the 'roleAssociations' field. Group
build()
-
-
Method Detail
-
setId
Group.Builder setId(String value)
Sets the value of the 'id' field.
- Parameters:
value
- The value of 'id'.
-
getVersion
int getVersion()
Gets the value of the 'version' field.
-
setVersion
Group.Builder setVersion(int value)
Sets the value of the 'version' field.
- Parameters:
value
- The value of 'version'.
-
getLastChangeDetails
ChangeDetails getLastChangeDetails()
Gets the value of the 'lastChangeDetails' field.
-
setLastChangeDetails
Group.Builder setLastChangeDetails(ChangeDetails value)
Sets the value of the 'lastChangeDetails' field.
- Parameters:
value
- The value of 'lastChangeDetails'.
-
getLastChangeDetailsBuilder
ChangeDetails.Builder getLastChangeDetailsBuilder()
Gets the Builder instance for the 'lastChangeDetails' field and creates one if it doesn't exist yet.
-
setLastChangeDetailsBuilder
Group.Builder setLastChangeDetailsBuilder(ChangeDetails.Builder value)
Sets the Builder instance for the 'lastChangeDetails' field
- Parameters:
value
- The builder instance that must be set.
-
setName
Group.Builder setName(String value)
Sets the value of the 'name' field.
- Parameters:
value
- The value of 'name'.
-
getParentGroupId
String getParentGroupId()
Gets the value of the 'parentGroupId' field. Optional parent group associated with this group.
-
setParentGroupId
Group.Builder setParentGroupId(String value)
Sets the value of the 'parentGroupId' field. Optional parent group associated with this group.
- Parameters:
value
- The value of 'parentGroupId'.
-
getProperties
List<Property> getProperties()
Gets the value of the 'properties' field. List of group properties.
-
setProperties
Group.Builder setProperties(List<Property> value)
Sets the value of the 'properties' field. List of group properties.
- Parameters:
value
- The value of 'properties'.
-
getRoleAssociations
List<RoleAssociation> getRoleAssociations()
Gets the value of the 'roleAssociations' field. List of roles associated with this Group.
-
setRoleAssociations
Group.Builder setRoleAssociations(List<RoleAssociation> value)
Sets the value of the 'roleAssociations' field. List of roles associated with this Group.
- Parameters:
value
- The value of 'roleAssociations'.
-
hasId
boolean hasId()
Checks whether the 'id' field has been set.
-
clearId
Group.Builder clearId()
Clears the value of the 'id' field.
-
hasVersion
boolean hasVersion()
Checks whether the 'version' field has been set.
-
clearVersion
Group.Builder clearVersion()
Clears the value of the 'version' field.
-
hasLastChangeDetails
boolean hasLastChangeDetails()
Checks whether the 'lastChangeDetails' field has been set.
-
hasLastChangeDetailsBuilder
boolean hasLastChangeDetailsBuilder()
Checks whether the 'lastChangeDetails' field has an active Builder instance
-
clearLastChangeDetails
Group.Builder clearLastChangeDetails()
Clears the value of the 'lastChangeDetails' field.
-
hasName
boolean hasName()
Checks whether the 'name' field has been set.
-
clearName
Group.Builder clearName()
Clears the value of the 'name' field.
-
hasParentGroupId
boolean hasParentGroupId()
Checks whether the 'parentGroupId' field has been set. Optional parent group associated with this group.
-
clearParentGroupId
Group.Builder clearParentGroupId()
Clears the value of the 'parentGroupId' field. Optional parent group associated with this group.
-
hasProperties
boolean hasProperties()
Checks whether the 'properties' field has been set. List of group properties.
-
clearProperties
Group.Builder clearProperties()
Clears the value of the 'properties' field. List of group properties.
-
hasRoleAssociations
boolean hasRoleAssociations()
Checks whether the 'roleAssociations' field has been set. List of roles associated with this Group.
-
clearRoleAssociations
Group.Builder clearRoleAssociations()
Clears the value of the 'roleAssociations' field. List of roles associated with this Group.
-
-
-
-