@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleGroupSourceCustomActionsDetails extends Object implements Serializable, Cloneable, StructuredPojo
A custom action definition. A custom action is an optional, non-standard action to use for stateless packet handling.
Constructor and Description |
---|
RuleGroupSourceCustomActionsDetails() |
Modifier and Type | Method and Description |
---|---|
RuleGroupSourceCustomActionsDetails |
clone() |
boolean |
equals(Object obj) |
StatelessCustomActionDefinition |
getActionDefinition()
The definition of a custom action.
|
String |
getActionName()
A descriptive name of the custom action.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActionDefinition(StatelessCustomActionDefinition actionDefinition)
The definition of a custom action.
|
void |
setActionName(String actionName)
A descriptive name of the custom action.
|
String |
toString()
Returns a string representation of this object.
|
RuleGroupSourceCustomActionsDetails |
withActionDefinition(StatelessCustomActionDefinition actionDefinition)
The definition of a custom action.
|
RuleGroupSourceCustomActionsDetails |
withActionName(String actionName)
A descriptive name of the custom action.
|
public void setActionDefinition(StatelessCustomActionDefinition actionDefinition)
The definition of a custom action.
actionDefinition
- The definition of a custom action.public StatelessCustomActionDefinition getActionDefinition()
The definition of a custom action.
public RuleGroupSourceCustomActionsDetails withActionDefinition(StatelessCustomActionDefinition actionDefinition)
The definition of a custom action.
actionDefinition
- The definition of a custom action.public void setActionName(String actionName)
A descriptive name of the custom action.
actionName
- A descriptive name of the custom action.public String getActionName()
A descriptive name of the custom action.
public RuleGroupSourceCustomActionsDetails withActionName(String actionName)
A descriptive name of the custom action.
actionName
- A descriptive name of the custom action.public String toString()
toString
in class Object
Object.toString()
public RuleGroupSourceCustomActionsDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.