Class ReplaceRouteRequest
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<ReplaceRouteRequest>
,Serializable
,Cloneable
Contains the parameters for ReplaceRoute.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The CIDR address block used for the destination match.This method is intended for internal use only.The ID of an Internet gateway or virtual private gateway.The ID of a NAT instance in your VPC.The ID of a NAT gateway.The ID of a network interface.The ID of the route table.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.toString()
Returns a string representation of this object; useful for testing and debugging.withDestinationCidrBlock
(String destinationCidrBlock) The CIDR address block used for the destination match.withGatewayId
(String gatewayId) The ID of an Internet gateway or virtual private gateway.withInstanceId
(String instanceId) The ID of a NAT instance in your VPC.withNatGatewayId
(String natGatewayId) The ID of a NAT gateway.withNetworkInterfaceId
(String networkInterfaceId) The ID of a network interface.withRouteTableId
(String routeTableId) The ID of the route table.withVpcPeeringConnectionId
(String vpcPeeringConnectionId) The ID of a VPC peering connection.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
ReplaceRouteRequest
public ReplaceRouteRequest()
-
-
Method Details
-
setRouteTableId
The ID of the route table.
- Parameters:
routeTableId
- The ID of the route table.
-
getRouteTableId
The ID of the route table.
- Returns:
- The ID of the route table.
-
withRouteTableId
The ID of the route table.
- Parameters:
routeTableId
- The ID of the route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDestinationCidrBlock
The CIDR address block used for the destination match. The value you provide must match the CIDR of an existing route in the table.
- Parameters:
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.
-
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.
- Returns:
- The CIDR address block used for the destination match. The value you provide must match the CIDR of an existing route in the table.
-
withDestinationCidrBlock
The CIDR address block used for the destination match. The value you provide must match the CIDR of an existing route in the table.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setGatewayId
The ID of an Internet gateway or virtual private gateway.
- Parameters:
gatewayId
- The ID of an Internet gateway or virtual private gateway.
-
getGatewayId
The ID of an Internet gateway or virtual private gateway.
- Returns:
- The ID of an Internet gateway or virtual private gateway.
-
withGatewayId
The ID of an Internet gateway or virtual private gateway.
- Parameters:
gatewayId
- The ID of an Internet gateway or virtual private gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceId
The ID of a NAT instance in your VPC.
- Parameters:
instanceId
- The ID of a NAT instance in your VPC.
-
getInstanceId
The ID of a NAT instance in your VPC.
- Returns:
- The ID of a NAT instance in your VPC.
-
withInstanceId
The ID of a NAT instance in your VPC.
- Parameters:
instanceId
- The ID of a NAT instance in your VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNetworkInterfaceId
The ID of a network interface.
- Parameters:
networkInterfaceId
- The ID of a network interface.
-
getNetworkInterfaceId
The ID of a network interface.
- Returns:
- The ID of a network interface.
-
withNetworkInterfaceId
The ID of a network interface.
- Parameters:
networkInterfaceId
- The ID of a network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVpcPeeringConnectionId
The ID of a VPC peering connection.
- Parameters:
vpcPeeringConnectionId
- The ID of a VPC peering connection.
-
getVpcPeeringConnectionId
The ID of a VPC peering connection.
- Returns:
- The ID of a VPC peering connection.
-
withVpcPeeringConnectionId
The ID of a VPC peering connection.
- Parameters:
vpcPeeringConnectionId
- The ID of a VPC peering connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNatGatewayId
The ID of a NAT gateway.
- Parameters:
natGatewayId
- The ID of a NAT gateway.
-
getNatGatewayId
The ID of a NAT gateway.
- Returns:
- The ID of a NAT gateway.
-
withNatGatewayId
The ID of a NAT gateway.
- Parameters:
natGatewayId
- The ID of a NAT gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDryRunRequest
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<ReplaceRouteRequest>
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-