Interface RuleApproverDraft
- All Superinterfaces:
Draft<RuleApproverDraft>
RuleApproverDraft
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
RuleApproverDraft ruleApproverDraft = RuleApproverDraft.builder()
.associateRole(associateRoleBuilder -> associateRoleBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic RuleApproverDraftBuilder
builder()
builder factory method for RuleApproverDraftstatic RuleApproverDraftBuilder
builder
(RuleApproverDraft template) create builder for RuleApproverDraft instancestatic RuleApproverDraft
deepCopy
(RuleApproverDraft template) factory method to create a deep copy of RuleApproverDraft@NotNull @Valid AssociateRoleResourceIdentifier
Any Associate with this Role can approve.static RuleApproverDraft
of()
factory methodstatic RuleApproverDraft
of
(RuleApproverDraft template) factory method to create a shallow copy RuleApproverDraftvoid
setAssociateRole
(AssociateRoleResourceIdentifier associateRole) Any Associate with this Role can approve.static com.fasterxml.jackson.core.type.TypeReference<RuleApproverDraft>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withRuleApproverDraft
(Function<RuleApproverDraft, T> helper) accessor map function
-
Method Details
-
getAssociateRole
Any Associate with this Role can approve.
- Returns:
- associateRole
-
setAssociateRole
Any Associate with this Role can approve.
- Parameters:
associateRole
- value to be set
-
of
factory method- Returns:
- instance of RuleApproverDraft
-
of
factory method to create a shallow copy RuleApproverDraft- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of RuleApproverDraft- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for RuleApproverDraft- Returns:
- builder
-
builder
create builder for RuleApproverDraft instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withRuleApproverDraft
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
-