|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.ReplaceRouteRequest
public class ReplaceRouteRequest
Container for the parameters to the ReplaceRoute operation
.
Replaces an existing route within a route table in a VPC. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.
AmazonEC2.replaceRoute(ReplaceRouteRequest)
Constructor Summary | |
---|---|
ReplaceRouteRequest()
|
Method Summary | |
---|---|
String |
getDestinationCidrBlock()
The CIDR address block used for the destination match. |
String |
getGatewayId()
The ID of a VPN or Internet gateway attached to your VPC. |
String |
getInstanceId()
The ID of a NAT instance in your VPC. |
String |
getRouteTableId()
The ID of the route table where the route will be replaced. |
void |
setDestinationCidrBlock(String destinationCidrBlock)
The CIDR address block used for the destination match. |
void |
setGatewayId(String gatewayId)
The ID of a VPN or Internet gateway attached to your VPC. |
void |
setInstanceId(String instanceId)
The ID of a NAT instance in your VPC. |
void |
setRouteTableId(String routeTableId)
The ID of the route table where the route will be replaced. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ReplaceRouteRequest |
withDestinationCidrBlock(String destinationCidrBlock)
The CIDR address block used for the destination match. |
ReplaceRouteRequest |
withGatewayId(String gatewayId)
The ID of a VPN or Internet gateway attached to your VPC. |
ReplaceRouteRequest |
withInstanceId(String instanceId)
The ID of a NAT instance in your VPC. |
ReplaceRouteRequest |
withRouteTableId(String routeTableId)
The ID of the route table where the route will be replaced. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReplaceRouteRequest()
Method Detail |
---|
public String getRouteTableId()
public void setRouteTableId(String routeTableId)
routeTableId
- The ID of the route table where the route will be replaced.public ReplaceRouteRequest withRouteTableId(String routeTableId)
Returns a reference to this object so that method calls can be chained together.
routeTableId
- The ID of the route table where the route will be replaced.
public String getDestinationCidrBlock()
0.0.0.0/0
. The value you provide must match the CIDR of
an existing route in the table.
0.0.0.0/0
. The value you provide must match the CIDR of
an existing route in the table.public void setDestinationCidrBlock(String destinationCidrBlock)
0.0.0.0/0
. The value you provide must match the CIDR of
an existing route in the table.
destinationCidrBlock
- The CIDR address block used for the destination match. For example:
0.0.0.0/0
. The value you provide must match the CIDR of
an existing route in the table.public ReplaceRouteRequest withDestinationCidrBlock(String destinationCidrBlock)
0.0.0.0/0
. The value you provide must match the CIDR of
an existing route in the table.
Returns a reference to this object so that method calls can be chained together.
destinationCidrBlock
- The CIDR address block used for the destination match. For example:
0.0.0.0/0
. The value you provide must match the CIDR of
an existing route in the table.
public String getGatewayId()
public void setGatewayId(String gatewayId)
gatewayId
- The ID of a VPN or Internet gateway attached to your VPC.public ReplaceRouteRequest withGatewayId(String gatewayId)
Returns a reference to this object so that method calls can be chained together.
gatewayId
- The ID of a VPN or Internet gateway attached to your VPC.
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- The ID of a NAT instance in your VPC.public ReplaceRouteRequest withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The ID of a NAT instance in your VPC.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |