@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IpRule extends Object implements Serializable, Cloneable, StructuredPojo
The IP rules of the IP access settings.
Constructor and Description |
---|
IpRule() |
Modifier and Type | Method and Description |
---|---|
IpRule |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of the IP rule.
|
String |
getIpRange()
The IP range of the IP rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
The description of the IP rule.
|
void |
setIpRange(String ipRange)
The IP range of the IP rule.
|
String |
toString()
Returns a string representation of this object.
|
IpRule |
withDescription(String description)
The description of the IP rule.
|
IpRule |
withIpRange(String ipRange)
The IP range of the IP rule.
|
public void setDescription(String description)
The description of the IP rule.
description
- The description of the IP rule.public String getDescription()
The description of the IP rule.
public IpRule withDescription(String description)
The description of the IP rule.
description
- The description of the IP rule.public void setIpRange(String ipRange)
The IP range of the IP rule.
ipRange
- The IP range of the IP rule.public String getIpRange()
The IP range of the IP rule.
public IpRule withIpRange(String ipRange)
The IP range of the IP rule.
ipRange
- The IP range of the IP rule.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.