Interface ApprovalFlowRejection
public interface ApprovalFlowRejection
ApprovalFlowRejection
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ApprovalFlowRejection approvalFlowRejection = ApprovalFlowRejection.builder()
.rejecter(rejecterBuilder -> rejecterBuilder)
.rejectedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic ApprovalFlowRejectionBuilder
builder()
builder factory method for ApprovalFlowRejectionstatic ApprovalFlowRejectionBuilder
builder
(ApprovalFlowRejection template) create builder for ApprovalFlowRejection instancestatic ApprovalFlowRejection
deepCopy
(ApprovalFlowRejection template) factory method to create a deep copy of ApprovalFlowRejectionThe reason for the rejection of the Approval Flow.@NotNull ZonedDateTime
Date and time (UTC) the Approval Flow was rejected.@NotNull @Valid Associate
Associate who rejected the Approval Flow.static ApprovalFlowRejection
of()
factory methodstatic ApprovalFlowRejection
of
(ApprovalFlowRejection template) factory method to create a shallow copy ApprovalFlowRejectionvoid
The reason for the rejection of the Approval Flow.void
setRejectedAt
(ZonedDateTime rejectedAt) Date and time (UTC) the Approval Flow was rejected.void
setRejecter
(Associate rejecter) Associate who rejected the Approval Flow.static com.fasterxml.jackson.core.type.TypeReference<ApprovalFlowRejection>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getRejecter
Associate who rejected the Approval Flow.
- Returns:
- rejecter
-
getRejectedAt
Date and time (UTC) the Approval Flow was rejected.
- Returns:
- rejectedAt
-
getReason
String getReason()The reason for the rejection of the Approval Flow.
- Returns:
- reason
-
setRejecter
Associate who rejected the Approval Flow.
- Parameters:
rejecter
- value to be set
-
setRejectedAt
Date and time (UTC) the Approval Flow was rejected.
- Parameters:
rejectedAt
- value to be set
-
setReason
The reason for the rejection of the Approval Flow.
- Parameters:
reason
- value to be set
-
of
factory method- Returns:
- instance of ApprovalFlowRejection
-
of
factory method to create a shallow copy ApprovalFlowRejection- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ApprovalFlowRejection- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ApprovalFlowRejection- Returns:
- builder
-
builder
create builder for ApprovalFlowRejection instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withApprovalFlowRejection
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
-