@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Processor extends Object implements Serializable, Cloneable, StructuredPojo
The information about a processor in a channel flow.
Constructor and Description |
---|
Processor() |
Modifier and Type | Method and Description |
---|---|
Processor |
clone() |
boolean |
equals(Object obj) |
ProcessorConfiguration |
getConfiguration()
The information about the type of processor and its identifier.
|
Integer |
getExecutionOrder()
The sequence in which processors run.
|
String |
getFallbackAction()
Determines whether to continue with message processing or stop it in cases where communication with a processor
fails.
|
String |
getName()
The name of the channel flow.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfiguration(ProcessorConfiguration configuration)
The information about the type of processor and its identifier.
|
void |
setExecutionOrder(Integer executionOrder)
The sequence in which processors run.
|
void |
setFallbackAction(String fallbackAction)
Determines whether to continue with message processing or stop it in cases where communication with a processor
fails.
|
void |
setName(String name)
The name of the channel flow.
|
String |
toString()
Returns a string representation of this object.
|
Processor |
withConfiguration(ProcessorConfiguration configuration)
The information about the type of processor and its identifier.
|
Processor |
withExecutionOrder(Integer executionOrder)
The sequence in which processors run.
|
Processor |
withFallbackAction(FallbackAction fallbackAction)
Determines whether to continue with message processing or stop it in cases where communication with a processor
fails.
|
Processor |
withFallbackAction(String fallbackAction)
Determines whether to continue with message processing or stop it in cases where communication with a processor
fails.
|
Processor |
withName(String name)
The name of the channel flow.
|
public void setName(String name)
The name of the channel flow.
name
- The name of the channel flow.public String getName()
The name of the channel flow.
public Processor withName(String name)
The name of the channel flow.
name
- The name of the channel flow.public void setConfiguration(ProcessorConfiguration configuration)
The information about the type of processor and its identifier.
configuration
- The information about the type of processor and its identifier.public ProcessorConfiguration getConfiguration()
The information about the type of processor and its identifier.
public Processor withConfiguration(ProcessorConfiguration configuration)
The information about the type of processor and its identifier.
configuration
- The information about the type of processor and its identifier.public void setExecutionOrder(Integer 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.
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.public Integer getExecutionOrder()
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.
public Processor withExecutionOrder(Integer 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.
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.public void setFallbackAction(String 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 ABORT
and communication with it fails, the processor
sets the message status to FAILED
and does not send the message to any recipients. Note that if the
last processor in the channel flow sequence has a fallback action of CONTINUE
and communication with
the processor fails, then the message is considered processed and sent to recipients of the channel.
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 ABORT
and communication with it
fails, the processor sets the message status to FAILED
and does not send the message to any
recipients. Note that if the last processor in the channel flow sequence has a fallback action of
CONTINUE
and communication with the processor fails, then the message is considered processed
and sent to recipients of the channel.FallbackAction
public String getFallbackAction()
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 ABORT
and communication with it fails, the processor
sets the message status to FAILED
and does not send the message to any recipients. Note that if the
last processor in the channel flow sequence has a fallback action of CONTINUE
and communication with
the processor fails, then the message is considered processed and sent to recipients of the channel.
ABORT
and communication with it
fails, the processor sets the message status to FAILED
and does not send the message to any
recipients. Note that if the last processor in the channel flow sequence has a fallback action of
CONTINUE
and communication with the processor fails, then the message is considered
processed and sent to recipients of the channel.FallbackAction
public Processor withFallbackAction(String 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 ABORT
and communication with it fails, the processor
sets the message status to FAILED
and does not send the message to any recipients. Note that if the
last processor in the channel flow sequence has a fallback action of CONTINUE
and communication with
the processor fails, then the message is considered processed and sent to recipients of the channel.
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 ABORT
and communication with it
fails, the processor sets the message status to FAILED
and does not send the message to any
recipients. Note that if the last processor in the channel flow sequence has a fallback action of
CONTINUE
and communication with the processor fails, then the message is considered processed
and sent to recipients of the channel.FallbackAction
public Processor withFallbackAction(FallbackAction 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 ABORT
and communication with it fails, the processor
sets the message status to FAILED
and does not send the message to any recipients. Note that if the
last processor in the channel flow sequence has a fallback action of CONTINUE
and communication with
the processor fails, then the message is considered processed and sent to recipients of the channel.
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 ABORT
and communication with it
fails, the processor sets the message status to FAILED
and does not send the message to any
recipients. Note that if the last processor in the channel flow sequence has a fallback action of
CONTINUE
and communication with the processor fails, then the message is considered processed
and sent to recipients of the channel.FallbackAction
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.