Interface PayloadNotIncluded
public interface PayloadNotIncluded
PayloadNotIncluded
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PayloadNotIncluded payloadNotIncluded = PayloadNotIncluded.builder()
.reason("{reason}")
.payloadType("{payloadType}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic PayloadNotIncludedBuilder
builder()
builder factory method for PayloadNotIncludedstatic PayloadNotIncludedBuilder
builder
(PayloadNotIncluded template) create builder for PayloadNotIncluded instancestatic PayloadNotIncluded
deepCopy
(PayloadNotIncluded template) factory method to create a deep copy of PayloadNotIncluded@NotNull String
Value of thetype
field in the original payload.@NotNull String
Reason the payload is not included.static PayloadNotIncluded
of()
factory methodstatic PayloadNotIncluded
of
(PayloadNotIncluded template) factory method to create a shallow copy PayloadNotIncludedvoid
setPayloadType
(String payloadType) Value of thetype
field in the original payload.void
Reason the payload is not included.static com.fasterxml.jackson.core.type.TypeReference<PayloadNotIncluded>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withPayloadNotIncluded
(Function<PayloadNotIncluded, T> helper) accessor map function
-
Method Details
-
getReason
Reason the payload is not included. For example, the payload is too large, or its content is not supported by the Subscription destination.
- Returns:
- reason
-
getPayloadType
Value of the
type
field in the original payload.- Returns:
- payloadType
-
setReason
Reason the payload is not included. For example, the payload is too large, or its content is not supported by the Subscription destination.
- Parameters:
reason
- value to be set
-
setPayloadType
Value of the
type
field in the original payload.- Parameters:
payloadType
- value to be set
-
of
factory method- Returns:
- instance of PayloadNotIncluded
-
of
factory method to create a shallow copy PayloadNotIncluded- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of PayloadNotIncluded- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PayloadNotIncluded- Returns:
- builder
-
builder
create builder for PayloadNotIncluded instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withPayloadNotIncluded
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
-