@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IpRoute extends Object implements Serializable, Cloneable, StructuredPojo
IP address block. This is often the address block of the DNS server used for your on-premises domain.
Constructor and Description |
---|
IpRoute() |
Modifier and Type | Method and Description |
---|---|
IpRoute |
clone() |
boolean |
equals(Object obj) |
String |
getCidrIp()
IP address block using CIDR format, for example 10.0.0.0/24.
|
String |
getDescription()
Description of the address block.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCidrIp(String cidrIp)
IP address block using CIDR format, for example 10.0.0.0/24.
|
void |
setDescription(String description)
Description of the address block.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
IpRoute |
withCidrIp(String cidrIp)
IP address block using CIDR format, for example 10.0.0.0/24.
|
IpRoute |
withDescription(String description)
Description of the address block.
|
public void setCidrIp(String cidrIp)
IP address block using CIDR format, for example 10.0.0.0/24. This is often the address block of the DNS server used for your on-premises domain. For a single IP address use a CIDR address block with /32. For example 10.0.0.0/32.
cidrIp
- IP address block using CIDR format, for example 10.0.0.0/24. This is often the address block of the DNS
server used for your on-premises domain. For a single IP address use a CIDR address block with /32. For
example 10.0.0.0/32.public String getCidrIp()
IP address block using CIDR format, for example 10.0.0.0/24. This is often the address block of the DNS server used for your on-premises domain. For a single IP address use a CIDR address block with /32. For example 10.0.0.0/32.
public IpRoute withCidrIp(String cidrIp)
IP address block using CIDR format, for example 10.0.0.0/24. This is often the address block of the DNS server used for your on-premises domain. For a single IP address use a CIDR address block with /32. For example 10.0.0.0/32.
cidrIp
- IP address block using CIDR format, for example 10.0.0.0/24. This is often the address block of the DNS
server used for your on-premises domain. For a single IP address use a CIDR address block with /32. For
example 10.0.0.0/32.public void setDescription(String description)
Description of the address block.
description
- Description of the address block.public String getDescription()
Description of the address block.
public IpRoute withDescription(String description)
Description of the address block.
description
- Description of the address block.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.