@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActionCondition extends Object implements Serializable, Cloneable, StructuredPojo
A single action condition for a Condition in a logging filter.
Constructor and Description |
---|
ActionCondition() |
Modifier and Type | Method and Description |
---|---|
ActionCondition |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The action setting that a log record must contain in order to meet the condition.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(String action)
The action setting that a log record must contain in order to meet the condition.
|
String |
toString()
Returns a string representation of this object.
|
ActionCondition |
withAction(ActionValue action)
The action setting that a log record must contain in order to meet the condition.
|
ActionCondition |
withAction(String action)
The action setting that a log record must contain in order to meet the condition.
|
public void setAction(String action)
The action setting that a log record must contain in order to meet the condition.
action
- The action setting that a log record must contain in order to meet the condition.ActionValue
public String getAction()
The action setting that a log record must contain in order to meet the condition.
ActionValue
public ActionCondition withAction(String action)
The action setting that a log record must contain in order to meet the condition.
action
- The action setting that a log record must contain in order to meet the condition.ActionValue
public ActionCondition withAction(ActionValue action)
The action setting that a log record must contain in order to meet the condition.
action
- The action setting that a log record must contain in order to meet the condition.ActionValue
public String toString()
toString
in class Object
Object.toString()
public ActionCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.