@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Action extends Object implements Serializable, Cloneable, StructuredPojo
A configuration that specifies the action to perform when anomalies are detected.
Constructor and Description |
---|
Action() |
Modifier and Type | Method and Description |
---|---|
Action |
clone() |
boolean |
equals(Object obj) |
LambdaConfiguration |
getLambdaConfiguration()
A configuration for an AWS Lambda channel.
|
SNSConfiguration |
getSNSConfiguration()
A configuration for an Amazon SNS channel.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLambdaConfiguration(LambdaConfiguration lambdaConfiguration)
A configuration for an AWS Lambda channel.
|
void |
setSNSConfiguration(SNSConfiguration sNSConfiguration)
A configuration for an Amazon SNS channel.
|
String |
toString()
Returns a string representation of this object.
|
Action |
withLambdaConfiguration(LambdaConfiguration lambdaConfiguration)
A configuration for an AWS Lambda channel.
|
Action |
withSNSConfiguration(SNSConfiguration sNSConfiguration)
A configuration for an Amazon SNS channel.
|
public void setSNSConfiguration(SNSConfiguration sNSConfiguration)
A configuration for an Amazon SNS channel.
sNSConfiguration
- A configuration for an Amazon SNS channel.public SNSConfiguration getSNSConfiguration()
A configuration for an Amazon SNS channel.
public Action withSNSConfiguration(SNSConfiguration sNSConfiguration)
A configuration for an Amazon SNS channel.
sNSConfiguration
- A configuration for an Amazon SNS channel.public void setLambdaConfiguration(LambdaConfiguration lambdaConfiguration)
A configuration for an AWS Lambda channel.
lambdaConfiguration
- A configuration for an AWS Lambda channel.public LambdaConfiguration getLambdaConfiguration()
A configuration for an AWS Lambda channel.
public Action withLambdaConfiguration(LambdaConfiguration lambdaConfiguration)
A configuration for an AWS Lambda channel.
lambdaConfiguration
- A configuration for an AWS Lambda channel.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.