@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExpectedRoute extends Object implements Serializable, Cloneable, StructuredPojo
Information about the expected route in the route table.
Constructor and Description |
---|
ExpectedRoute() |
Modifier and Type | Method and Description |
---|---|
ExpectedRoute |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAllowedTargets()
Information about the allowed targets.
|
List<String> |
getContributingSubnets()
Information about the contributing subnets.
|
String |
getIpV4Cidr()
Information about the IPv4 CIDR block.
|
String |
getIpV6Cidr()
Information about the IPv6 CIDR block.
|
String |
getPrefixListId()
Information about the ID of the prefix list for the route.
|
String |
getRouteTableId()
Information about the route table ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowedTargets(Collection<String> allowedTargets)
Information about the allowed targets.
|
void |
setContributingSubnets(Collection<String> contributingSubnets)
Information about the contributing subnets.
|
void |
setIpV4Cidr(String ipV4Cidr)
Information about the IPv4 CIDR block.
|
void |
setIpV6Cidr(String ipV6Cidr)
Information about the IPv6 CIDR block.
|
void |
setPrefixListId(String prefixListId)
Information about the ID of the prefix list for the route.
|
void |
setRouteTableId(String routeTableId)
Information about the route table ID.
|
String |
toString()
Returns a string representation of this object.
|
ExpectedRoute |
withAllowedTargets(Collection<String> allowedTargets)
Information about the allowed targets.
|
ExpectedRoute |
withAllowedTargets(String... allowedTargets)
Information about the allowed targets.
|
ExpectedRoute |
withContributingSubnets(Collection<String> contributingSubnets)
Information about the contributing subnets.
|
ExpectedRoute |
withContributingSubnets(String... contributingSubnets)
Information about the contributing subnets.
|
ExpectedRoute |
withIpV4Cidr(String ipV4Cidr)
Information about the IPv4 CIDR block.
|
ExpectedRoute |
withIpV6Cidr(String ipV6Cidr)
Information about the IPv6 CIDR block.
|
ExpectedRoute |
withPrefixListId(String prefixListId)
Information about the ID of the prefix list for the route.
|
ExpectedRoute |
withRouteTableId(String routeTableId)
Information about the route table ID.
|
public void setIpV4Cidr(String ipV4Cidr)
Information about the IPv4 CIDR block.
ipV4Cidr
- Information about the IPv4 CIDR block.public String getIpV4Cidr()
Information about the IPv4 CIDR block.
public ExpectedRoute withIpV4Cidr(String ipV4Cidr)
Information about the IPv4 CIDR block.
ipV4Cidr
- Information about the IPv4 CIDR block.public void setPrefixListId(String prefixListId)
Information about the ID of the prefix list for the route.
prefixListId
- Information about the ID of the prefix list for the route.public String getPrefixListId()
Information about the ID of the prefix list for the route.
public ExpectedRoute withPrefixListId(String prefixListId)
Information about the ID of the prefix list for the route.
prefixListId
- Information about the ID of the prefix list for the route.public void setIpV6Cidr(String ipV6Cidr)
Information about the IPv6 CIDR block.
ipV6Cidr
- Information about the IPv6 CIDR block.public String getIpV6Cidr()
Information about the IPv6 CIDR block.
public ExpectedRoute withIpV6Cidr(String ipV6Cidr)
Information about the IPv6 CIDR block.
ipV6Cidr
- Information about the IPv6 CIDR block.public List<String> getContributingSubnets()
Information about the contributing subnets.
public void setContributingSubnets(Collection<String> contributingSubnets)
Information about the contributing subnets.
contributingSubnets
- Information about the contributing subnets.public ExpectedRoute withContributingSubnets(String... contributingSubnets)
Information about the contributing subnets.
NOTE: This method appends the values to the existing list (if any). Use
setContributingSubnets(java.util.Collection)
or withContributingSubnets(java.util.Collection)
if you want to override the existing values.
contributingSubnets
- Information about the contributing subnets.public ExpectedRoute withContributingSubnets(Collection<String> contributingSubnets)
Information about the contributing subnets.
contributingSubnets
- Information about the contributing subnets.public List<String> getAllowedTargets()
Information about the allowed targets.
public void setAllowedTargets(Collection<String> allowedTargets)
Information about the allowed targets.
allowedTargets
- Information about the allowed targets.public ExpectedRoute withAllowedTargets(String... allowedTargets)
Information about the allowed targets.
NOTE: This method appends the values to the existing list (if any). Use
setAllowedTargets(java.util.Collection)
or withAllowedTargets(java.util.Collection)
if you want
to override the existing values.
allowedTargets
- Information about the allowed targets.public ExpectedRoute withAllowedTargets(Collection<String> allowedTargets)
Information about the allowed targets.
allowedTargets
- Information about the allowed targets.public void setRouteTableId(String routeTableId)
Information about the route table ID.
routeTableId
- Information about the route table ID.public String getRouteTableId()
Information about the route table ID.
public ExpectedRoute withRouteTableId(String routeTableId)
Information about the route table ID.
routeTableId
- Information about the route table ID.public String toString()
toString
in class Object
Object.toString()
public ExpectedRoute clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.