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 instancecopyDeep()static AssociateRoleAssignmentDraftdeepCopy(AssociateRoleAssignmentDraft template) factory method to create a deep copy of AssociateRoleAssignmentDraft@NotNull @Valid AssociateRoleResourceIdentifierRole the Associate holds within a Business Unit.Determines whether the AssociateRoleAssignment can be inherited by child Business Units.static AssociateRoleAssignmentDraftof()factory methodstatic AssociateRoleAssignmentDraftof(AssociateRoleAssignmentDraft template) factory method to create a shallow copy AssociateRoleAssignmentDraftvoidsetAssociateRole(AssociateRoleResourceIdentifier associateRole) Role the Associate holds within a Business Unit.voidsetInheritance(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> Taccessor 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
-
copyDeep
AssociateRoleAssignmentDraft copyDeep() -
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
-