@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IpRuleItem extends Object implements Serializable, Cloneable, StructuredPojo
Describes a rule for an IP access control group.
Constructor and Description |
---|
IpRuleItem() |
Modifier and Type | Method and Description |
---|---|
IpRuleItem |
clone() |
boolean |
equals(Object obj) |
String |
getIpRule()
The IP address range, in CIDR notation.
|
String |
getRuleDesc()
The description.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIpRule(String ipRule)
The IP address range, in CIDR notation.
|
void |
setRuleDesc(String ruleDesc)
The description.
|
String |
toString()
Returns a string representation of this object.
|
IpRuleItem |
withIpRule(String ipRule)
The IP address range, in CIDR notation.
|
IpRuleItem |
withRuleDesc(String ruleDesc)
The description.
|
public void setIpRule(String ipRule)
The IP address range, in CIDR notation.
ipRule
- The IP address range, in CIDR notation.public String getIpRule()
The IP address range, in CIDR notation.
public IpRuleItem withIpRule(String ipRule)
The IP address range, in CIDR notation.
ipRule
- The IP address range, in CIDR notation.public void setRuleDesc(String ruleDesc)
The description.
ruleDesc
- The description.public String getRuleDesc()
The description.
public IpRuleItem withRuleDesc(String ruleDesc)
The description.
ruleDesc
- The description.public String toString()
toString
in class Object
Object.toString()
public IpRuleItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.