Class Processor
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Processor.Builder,Processor>
The information about a processor in a channel flow.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Processor.Builderbuilder()final ProcessorConfigurationThe information about the type of processor and its identifier.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final IntegerThe sequence in which processors run.final FallbackActionDetermines whether to continue with message processing or stop it in cases where communication with a processor fails.final StringDetermines whether to continue with message processing or stop it in cases where communication with a processor fails.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringname()The name of the channel flow.static Class<? extends Processor.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
-
configuration
The information about the type of processor and its identifier.
- Returns:
- The information about the type of processor and its identifier.
-
executionOrder
The sequence in which processors run. If you have multiple processors in a channel flow, message processing goes through each processor in the sequence. The value determines the sequence. At this point, we support only 1 processor within a flow.
- Returns:
- The sequence in which processors run. If you have multiple processors in a channel flow, message processing goes through each processor in the sequence. The value determines the sequence. At this point, we support only 1 processor within a flow.
-
fallbackAction
Determines whether to continue with message processing or stop it in cases where communication with a processor fails. If a processor has a fallback action of
ABORTand communication with it fails, the processor sets the message status toFAILEDand does not send the message to any recipients. Note that if the last processor in the channel flow sequence has a fallback action ofCONTINUEand communication with the processor fails, then the message is considered processed and sent to recipients of the channel.If the service returns an enum value that is not available in the current SDK version,
fallbackActionwill returnFallbackAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfallbackActionAsString().- Returns:
- Determines whether to continue with message processing or stop it in cases where communication with a
processor fails. If a processor has a fallback action of
ABORTand communication with it fails, the processor sets the message status toFAILEDand does not send the message to any recipients. Note that if the last processor in the channel flow sequence has a fallback action ofCONTINUEand communication with the processor fails, then the message is considered processed and sent to recipients of the channel. - See Also:
-
fallbackActionAsString
Determines whether to continue with message processing or stop it in cases where communication with a processor fails. If a processor has a fallback action of
ABORTand communication with it fails, the processor sets the message status toFAILEDand does not send the message to any recipients. Note that if the last processor in the channel flow sequence has a fallback action ofCONTINUEand communication with the processor fails, then the message is considered processed and sent to recipients of the channel.If the service returns an enum value that is not available in the current SDK version,
fallbackActionwill returnFallbackAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfallbackActionAsString().- Returns:
- Determines whether to continue with message processing or stop it in cases where communication with a
processor fails. If a processor has a fallback action of
ABORTand communication with it fails, the processor sets the message status toFAILEDand does not send the message to any recipients. Note that if the last processor in the channel flow sequence has a fallback action ofCONTINUEand communication with the processor fails, then the message is considered processed and sent to recipients of the channel. - See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Processor.Builder,Processor> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-