|
|||||||
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. You must provide only one of the following: Internet gateway, NAT instance, VPC peering connection, or network interface.
For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide .
AmazonEC2.replaceRoute(ReplaceRouteRequest)
,
Serialized FormConstructor Summary | |
---|---|
ReplaceRouteRequest()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getDestinationCidrBlock()
The CIDR address block used for the destination match. |
Request<ReplaceRouteRequest> |
getDryRunRequest()
This method is intended for internal use only. |
java.lang.String |
getGatewayId()
The ID of an Internet gateway attached to your VPC. |
java.lang.String |
getInstanceId()
The ID of a NAT instance in your VPC. |
java.lang.String |
getNetworkInterfaceId()
The ID of a network interface. |
java.lang.String |
getRouteTableId()
The ID of the route table. |
java.lang.String |
getVpcPeeringConnectionId()
The ID of a VPC peering connection. |
int |
hashCode()
|
void |
setDestinationCidrBlock(java.lang.String destinationCidrBlock)
The CIDR address block used for the destination match. |
void |
setGatewayId(java.lang.String gatewayId)
The ID of an Internet gateway attached to your VPC. |
void |
setInstanceId(java.lang.String instanceId)
The ID of a NAT instance in your VPC. |
void |
setNetworkInterfaceId(java.lang.String networkInterfaceId)
The ID of a network interface. |
void |
setRouteTableId(java.lang.String routeTableId)
The ID of the route table. |
void |
setVpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
The ID of a VPC peering connection. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ReplaceRouteRequest |
withDestinationCidrBlock(java.lang.String destinationCidrBlock)
The CIDR address block used for the destination match. |
ReplaceRouteRequest |
withGatewayId(java.lang.String gatewayId)
The ID of an Internet gateway attached to your VPC. |
ReplaceRouteRequest |
withInstanceId(java.lang.String instanceId)
The ID of a NAT instance in your VPC. |
ReplaceRouteRequest |
withNetworkInterfaceId(java.lang.String networkInterfaceId)
The ID of a network interface. |
ReplaceRouteRequest |
withRouteTableId(java.lang.String routeTableId)
The ID of the route table. |
ReplaceRouteRequest |
withVpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
The ID of a VPC peering connection. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReplaceRouteRequest()
Method Detail |
---|
public java.lang.String getRouteTableId()
public void setRouteTableId(java.lang.String routeTableId)
routeTableId
- The ID of the route table.public ReplaceRouteRequest withRouteTableId(java.lang.String routeTableId)
Returns a reference to this object so that method calls can be chained together.
routeTableId
- The ID of the route table.
public java.lang.String getDestinationCidrBlock()
public void setDestinationCidrBlock(java.lang.String destinationCidrBlock)
destinationCidrBlock
- The CIDR address block used for the destination match. The value you
provide must match the CIDR of an existing route in the table.public ReplaceRouteRequest withDestinationCidrBlock(java.lang.String destinationCidrBlock)
Returns a reference to this object so that method calls can be chained together.
destinationCidrBlock
- The CIDR address block used for the destination match. The value you
provide must match the CIDR of an existing route in the table.
public java.lang.String getGatewayId()
public void setGatewayId(java.lang.String gatewayId)
gatewayId
- The ID of an Internet gateway attached to your VPC.public ReplaceRouteRequest withGatewayId(java.lang.String gatewayId)
Returns a reference to this object so that method calls can be chained together.
gatewayId
- The ID of an Internet gateway attached to your VPC.
public java.lang.String getInstanceId()
public void setInstanceId(java.lang.String instanceId)
instanceId
- The ID of a NAT instance in your VPC.public ReplaceRouteRequest withInstanceId(java.lang.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 java.lang.String getNetworkInterfaceId()
public void setNetworkInterfaceId(java.lang.String networkInterfaceId)
networkInterfaceId
- The ID of a network interface.public ReplaceRouteRequest withNetworkInterfaceId(java.lang.String networkInterfaceId)
Returns a reference to this object so that method calls can be chained together.
networkInterfaceId
- The ID of a network interface.
public java.lang.String getVpcPeeringConnectionId()
public void setVpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
vpcPeeringConnectionId
- The ID of a VPC peering connection.public ReplaceRouteRequest withVpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
Returns a reference to this object so that method calls can be chained together.
vpcPeeringConnectionId
- The ID of a VPC peering connection.
public Request<ReplaceRouteRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ReplaceRouteRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |