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 instancestatic AssociateRoleAssignment
deepCopy
(AssociateRoleAssignment template) factory method to create a deep copy of AssociateRoleAssignment@NotNull @Valid AssociateRoleKeyReference
Role the Associate holds within a Business Unit.@NotNull AssociateRoleInheritanceMode
Determines whether the AssociateRoleAssignment can be inherited by child Business Units.static AssociateRoleAssignment
of()
factory methodstatic AssociateRoleAssignment
of
(AssociateRoleAssignment template) factory method to create a shallow copy AssociateRoleAssignmentvoid
setAssociateRole
(AssociateRoleKeyReference associateRole) Role the Associate holds within a Business Unit.void
setInheritance
(AssociateRoleInheritanceMode inheritance) Determines whether the 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> T
accessor map function
-
Method Details
-
getAssociateRole
Role the Associate holds within a Business Unit.
- Returns:
- associateRole
-
getInheritance
Determines whether the AssociateRoleAssignment can be inherited by child Business Units.
- Returns:
- inheritance
-
setAssociateRole
Role the Associate holds within a Business Unit.
- Parameters:
associateRole
- value to be set
-
setInheritance
Determines whether the 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
-
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
-