Interface AssociateRoleAssignmentDraft
- All Superinterfaces:
Draft<AssociateRoleAssignmentDraft>
AssociateRoleAssignmentDraft
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AssociateRoleAssignmentDraft associateRoleAssignmentDraft = AssociateRoleAssignmentDraft.builder()
.associateRole(associateRoleBuilder -> associateRoleBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for AssociateRoleAssignmentDraftbuilder
(AssociateRoleAssignmentDraft template) create builder for AssociateRoleAssignmentDraft instancestatic AssociateRoleAssignmentDraft
deepCopy
(AssociateRoleAssignmentDraft template) factory method to create a deep copy of AssociateRoleAssignmentDraft@NotNull @Valid AssociateRoleResourceIdentifier
Role the Associate holds within a Business Unit.Determines whether the AssociateRoleAssignment can be inherited by child Business Units.static AssociateRoleAssignmentDraft
of()
factory methodstatic AssociateRoleAssignmentDraft
of
(AssociateRoleAssignmentDraft template) factory method to create a shallow copy AssociateRoleAssignmentDraftvoid
setAssociateRole
(AssociateRoleResourceIdentifier 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<AssociateRoleAssignmentDraft>
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
AssociateRoleInheritanceMode 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 AssociateRoleAssignmentDraft
-
of
factory method to create a shallow copy AssociateRoleAssignmentDraft- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static AssociateRoleAssignmentDraft deepCopy(@Nullable AssociateRoleAssignmentDraft template) factory method to create a deep copy of AssociateRoleAssignmentDraft- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AssociateRoleAssignmentDraft- Returns:
- builder
-
builder
create builder for AssociateRoleAssignmentDraft instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withAssociateRoleAssignmentDraft
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
-