public class ReplaceRouteRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ReplaceRouteRequest>
Contains the parameters for ReplaceRoute.
NOOP
Constructor and Description |
---|
ReplaceRouteRequest() |
Modifier and Type | Method and Description |
---|---|
ReplaceRouteRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDestinationCidrBlock()
The CIDR address block used for the destination match.
|
Request<ReplaceRouteRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getGatewayId()
The ID of an Internet gateway or virtual private gateway.
|
String |
getInstanceId()
The ID of a NAT instance in your VPC.
|
String |
getNatGatewayId()
The ID of a NAT gateway.
|
String |
getNetworkInterfaceId()
The ID of a network interface.
|
String |
getRouteTableId()
The ID of the route table.
|
String |
getVpcPeeringConnectionId()
The ID of a VPC peering connection.
|
int |
hashCode() |
void |
setDestinationCidrBlock(String destinationCidrBlock)
The CIDR address block used for the destination match.
|
void |
setGatewayId(String gatewayId)
The ID of an Internet gateway or virtual private gateway.
|
void |
setInstanceId(String instanceId)
The ID of a NAT instance in your VPC.
|
void |
setNatGatewayId(String natGatewayId)
The ID of a NAT gateway.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The ID of a network interface.
|
void |
setRouteTableId(String routeTableId)
The ID of the route table.
|
void |
setVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of a VPC peering connection.
|
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 an Internet gateway or virtual private gateway.
|
ReplaceRouteRequest |
withInstanceId(String instanceId)
The ID of a NAT instance in your VPC.
|
ReplaceRouteRequest |
withNatGatewayId(String natGatewayId)
The ID of a NAT gateway.
|
ReplaceRouteRequest |
withNetworkInterfaceId(String networkInterfaceId)
The ID of a network interface.
|
ReplaceRouteRequest |
withRouteTableId(String routeTableId)
The ID of the route table.
|
ReplaceRouteRequest |
withVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of a VPC peering connection.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRouteTableId(String routeTableId)
The ID of the route table.
routeTableId
- The ID of the route table.public String getRouteTableId()
The ID of the route table.
public ReplaceRouteRequest withRouteTableId(String routeTableId)
The ID of the route table.
routeTableId
- The ID of the route table.public void setDestinationCidrBlock(String 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.
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 String getDestinationCidrBlock()
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(String 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.
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 void setGatewayId(String gatewayId)
The ID of an Internet gateway or virtual private gateway.
gatewayId
- The ID of an Internet gateway or virtual private gateway.public String getGatewayId()
The ID of an Internet gateway or virtual private gateway.
public ReplaceRouteRequest withGatewayId(String gatewayId)
The ID of an Internet gateway or virtual private gateway.
gatewayId
- The ID of an Internet gateway or virtual private gateway.public void setInstanceId(String instanceId)
The ID of a NAT instance in your VPC.
instanceId
- The ID of a NAT instance in your VPC.public String getInstanceId()
The ID of a NAT instance in your VPC.
public ReplaceRouteRequest withInstanceId(String instanceId)
The ID of a NAT instance in your VPC.
instanceId
- The ID of a NAT instance in your VPC.public void setNetworkInterfaceId(String networkInterfaceId)
The ID of a network interface.
networkInterfaceId
- The ID of a network interface.public String getNetworkInterfaceId()
The ID of a network interface.
public ReplaceRouteRequest withNetworkInterfaceId(String networkInterfaceId)
The ID of a network interface.
networkInterfaceId
- The ID of a network interface.public void setVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of a VPC peering connection.
vpcPeeringConnectionId
- The ID of a VPC peering connection.public String getVpcPeeringConnectionId()
The ID of a VPC peering connection.
public ReplaceRouteRequest withVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of a VPC peering connection.
vpcPeeringConnectionId
- The ID of a VPC peering connection.public void setNatGatewayId(String natGatewayId)
The ID of a NAT gateway.
natGatewayId
- The ID of a NAT gateway.public String getNatGatewayId()
The ID of a NAT gateway.
public ReplaceRouteRequest withNatGatewayId(String natGatewayId)
The ID of a NAT gateway.
natGatewayId
- The ID of a NAT gateway.public Request<ReplaceRouteRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ReplaceRouteRequest>
public String toString()
toString
in class Object
Object.toString()
public ReplaceRouteRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.