|
Did this page help you?Yes No Tell us about it... |
||||||
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)
,
Serialized FormConstructor Summary | |
---|---|
ReplaceRouteRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
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 |
getNetworkInterfaceId()
Returns the value of the NetworkInterfaceId property for this object. |
String |
getRouteTableId()
The ID of the route table where the route will be replaced. |
int |
hashCode()
|
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 |
setNetworkInterfaceId(String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object. |
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 |
withNetworkInterfaceId(String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object. |
ReplaceRouteRequest |
withRouteTableId(String routeTableId)
The ID of the route table where the route will be replaced. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, 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 getNetworkInterfaceId()
public void setNetworkInterfaceId(String networkInterfaceId)
networkInterfaceId
- The new value for the NetworkInterfaceId property for this object.public ReplaceRouteRequest withNetworkInterfaceId(String networkInterfaceId)
Returns a reference to this object so that method calls can be chained together.
networkInterfaceId
- The new value for the NetworkInterfaceId property for this object.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |