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 PayloadNotIncludedBuilderbuilder()builder factory method for PayloadNotIncludedstatic PayloadNotIncludedBuilderbuilder(PayloadNotIncluded template) create builder for PayloadNotIncluded instancecopyDeep()static PayloadNotIncludeddeepCopy(PayloadNotIncluded template) factory method to create a deep copy of PayloadNotIncluded@NotNull StringValue of thetypefield in the original payload.@NotNull StringReason the payload is not included.static PayloadNotIncludedof()factory methodstatic PayloadNotIncludedof(PayloadNotIncluded template) factory method to create a shallow copy PayloadNotIncludedvoidsetPayloadType(String payloadType) Value of thetypefield in the original payload.voidReason the payload is not included.static com.fasterxml.jackson.core.type.TypeReference<PayloadNotIncluded>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithPayloadNotIncluded(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
typefield 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
typefield 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
-
copyDeep
PayloadNotIncluded copyDeep() -
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
-