Interface AssociateRoleAssignment
public interface AssociateRoleAssignment
AssociateRoleAssignment
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AssociateRoleAssignment associateRoleAssignment = AssociateRoleAssignment.builder()
.associateRole(associateRoleBuilder -> associateRoleBuilder)
.inheritance(AssociateRoleInheritanceMode.ENABLED)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for AssociateRoleAssignmentbuilder(AssociateRoleAssignment template) create builder for AssociateRoleAssignment instancecopyDeep()static AssociateRoleAssignmentdeepCopy(AssociateRoleAssignment template) factory method to create a deep copy of AssociateRoleAssignment@NotNull @Valid KeyReference@NotNull AssociateRoleInheritanceModeDetermines whether an AssociateRoleAssignment can be inherited by child Business Units.static AssociateRoleAssignmentof()factory methodstatic AssociateRoleAssignmentof(AssociateRoleAssignment template) factory method to create a shallow copy AssociateRoleAssignmentvoidsetAssociateRole(KeyReference associateRole) set associateRolevoidsetInheritance(AssociateRoleInheritanceMode inheritance) Determines whether an AssociateRoleAssignment can be inherited by child Business Units.static com.fasterxml.jackson.core.type.TypeReference<AssociateRoleAssignment>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map function
-
Method Details
-
getAssociateRole
- Returns:
- associateRole
-
getInheritance
Determines whether an AssociateRoleAssignment can be inherited by child Business Units.
- Returns:
- inheritance
-
setAssociateRole
set associateRole- Parameters:
associateRole- value to be set
-
setInheritance
Determines whether an AssociateRoleAssignment can be inherited by child Business Units.
- Parameters:
inheritance- value to be set
-
of
factory method- Returns:
- instance of AssociateRoleAssignment
-
of
factory method to create a shallow copy AssociateRoleAssignment- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
AssociateRoleAssignment copyDeep() -
deepCopy
factory method to create a deep copy of AssociateRoleAssignment- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AssociateRoleAssignment- Returns:
- builder
-
builder
create builder for AssociateRoleAssignment instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withAssociateRoleAssignment
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-