@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MathActivity extends Object implements Serializable, Cloneable, StructuredPojo
An activity that computes an arithmetic expression using the message's attributes.
Constructor and Description |
---|
MathActivity() |
Modifier and Type | Method and Description |
---|---|
MathActivity |
clone() |
boolean |
equals(Object obj) |
String |
getAttribute()
The name of the attribute that contains the result of the math operation.
|
String |
getMath()
An expression that uses one or more existing attributes and must return an integer value.
|
String |
getName()
The name of the math activity.
|
String |
getNext()
The next activity in the pipeline.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttribute(String attribute)
The name of the attribute that contains the result of the math operation.
|
void |
setMath(String math)
An expression that uses one or more existing attributes and must return an integer value.
|
void |
setName(String name)
The name of the math activity.
|
void |
setNext(String next)
The next activity in the pipeline.
|
String |
toString()
Returns a string representation of this object.
|
MathActivity |
withAttribute(String attribute)
The name of the attribute that contains the result of the math operation.
|
MathActivity |
withMath(String math)
An expression that uses one or more existing attributes and must return an integer value.
|
MathActivity |
withName(String name)
The name of the math activity.
|
MathActivity |
withNext(String next)
The next activity in the pipeline.
|
public void setName(String name)
The name of the math activity.
name
- The name of the math activity.public String getName()
The name of the math activity.
public MathActivity withName(String name)
The name of the math activity.
name
- The name of the math activity.public void setAttribute(String attribute)
The name of the attribute that contains the result of the math operation.
attribute
- The name of the attribute that contains the result of the math operation.public String getAttribute()
The name of the attribute that contains the result of the math operation.
public MathActivity withAttribute(String attribute)
The name of the attribute that contains the result of the math operation.
attribute
- The name of the attribute that contains the result of the math operation.public void setMath(String math)
An expression that uses one or more existing attributes and must return an integer value.
math
- An expression that uses one or more existing attributes and must return an integer value.public String getMath()
An expression that uses one or more existing attributes and must return an integer value.
public MathActivity withMath(String math)
An expression that uses one or more existing attributes and must return an integer value.
math
- An expression that uses one or more existing attributes and must return an integer value.public void setNext(String next)
The next activity in the pipeline.
next
- The next activity in the pipeline.public String getNext()
The next activity in the pipeline.
public MathActivity withNext(String next)
The next activity in the pipeline.
next
- The next activity in the pipeline.public String toString()
toString
in class Object
Object.toString()
public MathActivity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.