@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a Predicate (such as an IPSet) and indicates whether you want to add it to a
Rule or delete it from a Rule.
| Constructor and Description |
|---|
RuleUpdate() |
| Modifier and Type | Method and Description |
|---|---|
RuleUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
Specify
INSERT to add a Predicate to a Rule. |
Predicate |
getPredicate()
The ID of the
Predicate (such as an IPSet) that you want to add to a Rule. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAction(ChangeAction action)
Specify
INSERT to add a Predicate to a Rule. |
void |
setAction(String action)
Specify
INSERT to add a Predicate to a Rule. |
void |
setPredicate(Predicate predicate)
The ID of the
Predicate (such as an IPSet) that you want to add to a Rule. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RuleUpdate |
withAction(ChangeAction action)
Specify
INSERT to add a Predicate to a Rule. |
RuleUpdate |
withAction(String action)
Specify
INSERT to add a Predicate to a Rule. |
RuleUpdate |
withPredicate(Predicate predicate)
The ID of the
Predicate (such as an IPSet) that you want to add to a Rule. |
public void setAction(String action)
Specify INSERT to add a Predicate to a Rule. Use DELETE to
remove a Predicate from a Rule.
action - Specify INSERT to add a Predicate to a Rule. Use
DELETE to remove a Predicate from a Rule.ChangeActionpublic String getAction()
Specify INSERT to add a Predicate to a Rule. Use DELETE to
remove a Predicate from a Rule.
INSERT to add a Predicate to a Rule. Use
DELETE to remove a Predicate from a Rule.ChangeActionpublic RuleUpdate withAction(String action)
Specify INSERT to add a Predicate to a Rule. Use DELETE to
remove a Predicate from a Rule.
action - Specify INSERT to add a Predicate to a Rule. Use
DELETE to remove a Predicate from a Rule.ChangeActionpublic void setAction(ChangeAction action)
Specify INSERT to add a Predicate to a Rule. Use DELETE to
remove a Predicate from a Rule.
action - Specify INSERT to add a Predicate to a Rule. Use
DELETE to remove a Predicate from a Rule.ChangeActionpublic RuleUpdate withAction(ChangeAction action)
Specify INSERT to add a Predicate to a Rule. Use DELETE to
remove a Predicate from a Rule.
action - Specify INSERT to add a Predicate to a Rule. Use
DELETE to remove a Predicate from a Rule.ChangeActionpublic void setPredicate(Predicate predicate)
The ID of the Predicate (such as an IPSet) that you want to add to a Rule.
predicate - The ID of the Predicate (such as an IPSet) that you want to add to a
Rule.public Predicate getPredicate()
The ID of the Predicate (such as an IPSet) that you want to add to a Rule.
Predicate (such as an IPSet) that you want to add to a
Rule.public RuleUpdate withPredicate(Predicate predicate)
The ID of the Predicate (such as an IPSet) that you want to add to a Rule.
predicate - The ID of the Predicate (such as an IPSet) that you want to add to a
Rule.public String toString()
toString in class ObjectObject.toString()public RuleUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.