Class ApprovalRuleRequestersSetMessagePayloadBuilder
- All Implemented Interfaces:
Builder<ApprovalRuleRequestersSetMessagePayload>
Example to create an instance using the builder pattern
ApprovalRuleRequestersSetMessagePayload approvalRuleRequestersSetMessagePayload = ApprovalRuleRequestersSetMessagePayload.builder()
.plusRequesters(requestersBuilder -> requestersBuilder)
.plusOldRequesters(oldRequestersBuilder -> oldRequestersBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionRuleRequester of the ApprovalRule after the Set Requester update action.RuleRequester of the ApprovalRule after the Set Requester update action.build()
builds ApprovalRuleRequestersSetMessagePayload with checking for non-null required valuesbuilds ApprovalRuleRequestersSetMessagePayload without checking for non-null required valuesRuleRequester of the ApprovalRule after the Set Requester update action.RuleRequester of the ApprovalRule after the Set Requester update action.of()
factory method for an instance of ApprovalRuleRequestersSetMessagePayloadBuilderof
(ApprovalRuleRequestersSetMessagePayload template) create builder for ApprovalRuleRequestersSetMessagePayload instanceoldRequesters
(RuleRequester... oldRequesters) RuleRequester of the ApprovalRule after the Set Requester update action.oldRequesters
(List<RuleRequester> oldRequesters) RuleRequester of the ApprovalRule after the Set Requester update action.plusOldRequesters
(RuleRequester... oldRequesters) RuleRequester of the ApprovalRule after the Set Requester update action.RuleRequester of the ApprovalRule after the Set Requester update action.plusRequesters
(RuleRequester... requesters) RuleRequester of the ApprovalRule after the Set Requester update action.RuleRequester of the ApprovalRule after the Set Requester update action.requesters
(RuleRequester... requesters) RuleRequester of the ApprovalRule after the Set Requester update action.requesters
(List<RuleRequester> requesters) RuleRequester of the ApprovalRule after the Set Requester update action.RuleRequester of the ApprovalRule after the Set Requester update action.RuleRequester of the ApprovalRule after the Set Requester update action.RuleRequester of the ApprovalRule after the Set Requester update action.RuleRequester of the ApprovalRule after the Set Requester update action.
-
Constructor Details
-
ApprovalRuleRequestersSetMessagePayloadBuilder
public ApprovalRuleRequestersSetMessagePayloadBuilder()
-
-
Method Details
-
requesters
RuleRequester of the ApprovalRule after the Set Requester update action.
- Parameters:
requesters
- value to be set- Returns:
- Builder
-
requesters
RuleRequester of the ApprovalRule after the Set Requester update action.
- Parameters:
requesters
- value to be set- Returns:
- Builder
-
plusRequesters
RuleRequester of the ApprovalRule after the Set Requester update action.
- Parameters:
requesters
- value to be set- Returns:
- Builder
-
plusRequesters
public ApprovalRuleRequestersSetMessagePayloadBuilder plusRequesters(Function<RuleRequesterBuilder, RuleRequesterBuilder> builder) RuleRequester of the ApprovalRule after the Set Requester update action.
- Parameters:
builder
- function to build the requesters value- Returns:
- Builder
-
withRequesters
public ApprovalRuleRequestersSetMessagePayloadBuilder withRequesters(Function<RuleRequesterBuilder, RuleRequesterBuilder> builder) RuleRequester of the ApprovalRule after the Set Requester update action.
- Parameters:
builder
- function to build the requesters value- Returns:
- Builder
-
addRequesters
public ApprovalRuleRequestersSetMessagePayloadBuilder addRequesters(Function<RuleRequesterBuilder, RuleRequester> builder) RuleRequester of the ApprovalRule after the Set Requester update action.
- Parameters:
builder
- function to build the requesters value- Returns:
- Builder
-
setRequesters
public ApprovalRuleRequestersSetMessagePayloadBuilder setRequesters(Function<RuleRequesterBuilder, RuleRequester> builder) RuleRequester of the ApprovalRule after the Set Requester update action.
- Parameters:
builder
- function to build the requesters value- Returns:
- Builder
-
oldRequesters
RuleRequester of the ApprovalRule after the Set Requester update action.
- Parameters:
oldRequesters
- value to be set- Returns:
- Builder
-
oldRequesters
public ApprovalRuleRequestersSetMessagePayloadBuilder oldRequesters(List<RuleRequester> oldRequesters) RuleRequester of the ApprovalRule after the Set Requester update action.
- Parameters:
oldRequesters
- value to be set- Returns:
- Builder
-
plusOldRequesters
public ApprovalRuleRequestersSetMessagePayloadBuilder plusOldRequesters(RuleRequester... oldRequesters) RuleRequester of the ApprovalRule after the Set Requester update action.
- Parameters:
oldRequesters
- value to be set- Returns:
- Builder
-
plusOldRequesters
public ApprovalRuleRequestersSetMessagePayloadBuilder plusOldRequesters(Function<RuleRequesterBuilder, RuleRequesterBuilder> builder) RuleRequester of the ApprovalRule after the Set Requester update action.
- Parameters:
builder
- function to build the oldRequesters value- Returns:
- Builder
-
withOldRequesters
public ApprovalRuleRequestersSetMessagePayloadBuilder withOldRequesters(Function<RuleRequesterBuilder, RuleRequesterBuilder> builder) RuleRequester of the ApprovalRule after the Set Requester update action.
- Parameters:
builder
- function to build the oldRequesters value- Returns:
- Builder
-
addOldRequesters
public ApprovalRuleRequestersSetMessagePayloadBuilder addOldRequesters(Function<RuleRequesterBuilder, RuleRequester> builder) RuleRequester of the ApprovalRule after the Set Requester update action.
- Parameters:
builder
- function to build the oldRequesters value- Returns:
- Builder
-
setOldRequesters
public ApprovalRuleRequestersSetMessagePayloadBuilder setOldRequesters(Function<RuleRequesterBuilder, RuleRequester> builder) RuleRequester of the ApprovalRule after the Set Requester update action.
- Parameters:
builder
- function to build the oldRequesters value- Returns:
- Builder
-
getRequesters
RuleRequester of the ApprovalRule after the Set Requester update action.
- Returns:
- requesters
-
getOldRequesters
RuleRequester of the ApprovalRule after the Set Requester update action.
- Returns:
- oldRequesters
-
build
builds ApprovalRuleRequestersSetMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<ApprovalRuleRequestersSetMessagePayload>
- Returns:
- ApprovalRuleRequestersSetMessagePayload
-
buildUnchecked
builds ApprovalRuleRequestersSetMessagePayload without checking for non-null required values- Returns:
- ApprovalRuleRequestersSetMessagePayload
-
of
factory method for an instance of ApprovalRuleRequestersSetMessagePayloadBuilder- Returns:
- builder
-
of
public static ApprovalRuleRequestersSetMessagePayloadBuilder of(ApprovalRuleRequestersSetMessagePayload template) create builder for ApprovalRuleRequestersSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-