@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EC2ReplaceRouteAction extends Object implements Serializable, Cloneable, StructuredPojo
Information about the ReplaceRoute action in Amazon EC2.
Constructor and Description |
---|
EC2ReplaceRouteAction() |
Modifier and Type | Method and Description |
---|---|
EC2ReplaceRouteAction |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description of the ReplaceRoute action in Amazon EC2.
|
String |
getDestinationCidrBlock()
Information about the IPv4 CIDR address block used for the destination match.
|
String |
getDestinationIpv6CidrBlock()
Information about the IPv6 CIDR address block used for the destination match.
|
String |
getDestinationPrefixListId()
Information about the ID of the prefix list for the route.
|
ActionTarget |
getGatewayId()
Information about the ID of an internet gateway or virtual private gateway.
|
ActionTarget |
getRouteTableId()
Information about the ID of the route table.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
A description of the ReplaceRoute action in Amazon EC2.
|
void |
setDestinationCidrBlock(String destinationCidrBlock)
Information about the IPv4 CIDR address block used for the destination match.
|
void |
setDestinationIpv6CidrBlock(String destinationIpv6CidrBlock)
Information about the IPv6 CIDR address block used for the destination match.
|
void |
setDestinationPrefixListId(String destinationPrefixListId)
Information about the ID of the prefix list for the route.
|
void |
setGatewayId(ActionTarget gatewayId)
Information about the ID of an internet gateway or virtual private gateway.
|
void |
setRouteTableId(ActionTarget routeTableId)
Information about the ID of the route table.
|
String |
toString()
Returns a string representation of this object.
|
EC2ReplaceRouteAction |
withDescription(String description)
A description of the ReplaceRoute action in Amazon EC2.
|
EC2ReplaceRouteAction |
withDestinationCidrBlock(String destinationCidrBlock)
Information about the IPv4 CIDR address block used for the destination match.
|
EC2ReplaceRouteAction |
withDestinationIpv6CidrBlock(String destinationIpv6CidrBlock)
Information about the IPv6 CIDR address block used for the destination match.
|
EC2ReplaceRouteAction |
withDestinationPrefixListId(String destinationPrefixListId)
Information about the ID of the prefix list for the route.
|
EC2ReplaceRouteAction |
withGatewayId(ActionTarget gatewayId)
Information about the ID of an internet gateway or virtual private gateway.
|
EC2ReplaceRouteAction |
withRouteTableId(ActionTarget routeTableId)
Information about the ID of the route table.
|
public void setDescription(String description)
A description of the ReplaceRoute action in Amazon EC2.
description
- A description of the ReplaceRoute action in Amazon EC2.public String getDescription()
A description of the ReplaceRoute action in Amazon EC2.
public EC2ReplaceRouteAction withDescription(String description)
A description of the ReplaceRoute action in Amazon EC2.
description
- A description of the ReplaceRoute action in Amazon EC2.public void setDestinationCidrBlock(String destinationCidrBlock)
Information about the IPv4 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.
destinationCidrBlock
- Information about the IPv4 CIDR address block used for the destination match. The value that you provide
must match the CIDR of an existing route in the table.public String getDestinationCidrBlock()
Information about the IPv4 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.
public EC2ReplaceRouteAction withDestinationCidrBlock(String destinationCidrBlock)
Information about the IPv4 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.
destinationCidrBlock
- Information about the IPv4 CIDR address block used for the destination match. The value that you provide
must match the CIDR of an existing route in the table.public void setDestinationPrefixListId(String destinationPrefixListId)
Information about the ID of the prefix list for the route.
destinationPrefixListId
- Information about the ID of the prefix list for the route.public String getDestinationPrefixListId()
Information about the ID of the prefix list for the route.
public EC2ReplaceRouteAction withDestinationPrefixListId(String destinationPrefixListId)
Information about the ID of the prefix list for the route.
destinationPrefixListId
- Information about the ID of the prefix list for the route.public void setDestinationIpv6CidrBlock(String destinationIpv6CidrBlock)
Information about the IPv6 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.
destinationIpv6CidrBlock
- Information about the IPv6 CIDR address block used for the destination match. The value that you provide
must match the CIDR of an existing route in the table.public String getDestinationIpv6CidrBlock()
Information about the IPv6 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.
public EC2ReplaceRouteAction withDestinationIpv6CidrBlock(String destinationIpv6CidrBlock)
Information about the IPv6 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.
destinationIpv6CidrBlock
- Information about the IPv6 CIDR address block used for the destination match. The value that you provide
must match the CIDR of an existing route in the table.public void setGatewayId(ActionTarget gatewayId)
Information about the ID of an internet gateway or virtual private gateway.
gatewayId
- Information about the ID of an internet gateway or virtual private gateway.public ActionTarget getGatewayId()
Information about the ID of an internet gateway or virtual private gateway.
public EC2ReplaceRouteAction withGatewayId(ActionTarget gatewayId)
Information about the ID of an internet gateway or virtual private gateway.
gatewayId
- Information about the ID of an internet gateway or virtual private gateway.public void setRouteTableId(ActionTarget routeTableId)
Information about the ID of the route table.
routeTableId
- Information about the ID of the route table.public ActionTarget getRouteTableId()
Information about the ID of the route table.
public EC2ReplaceRouteAction withRouteTableId(ActionTarget routeTableId)
Information about the ID of the route table.
routeTableId
- Information about the ID of the route table.public String toString()
toString
in class Object
Object.toString()
public EC2ReplaceRouteAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.