@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDestinationCidrBlock()
The IPv4 CIDR address block used for the destination match.
|
String |
getDestinationIpv6CidrBlock()
The IPv6 CIDR address block used for the destination match.
|
Request<ReplaceRouteRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getEgressOnlyInternetGatewayId()
[IPv6 traffic only] The ID of an egress-only Internet gateway.
|
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()
[IPv4 traffic only] 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 IPv4 CIDR address block used for the destination match.
|
void |
setDestinationIpv6CidrBlock(String destinationIpv6CidrBlock)
The IPv6 CIDR address block used for the destination match.
|
void |
setEgressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
[IPv6 traffic only] The ID of an egress-only Internet gateway.
|
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)
[IPv4 traffic only] 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 IPv4 CIDR address block used for the destination match.
|
ReplaceRouteRequest |
withDestinationIpv6CidrBlock(String destinationIpv6CidrBlock)
The IPv6 CIDR address block used for the destination match.
|
ReplaceRouteRequest |
withEgressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
[IPv6 traffic only] The ID of an egress-only Internet gateway.
|
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)
[IPv4 traffic only] 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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDestinationCidrBlock(String destinationCidrBlock)
The IPv4 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 IPv4 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 IPv4 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 IPv4 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 IPv4 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 setDestinationIpv6CidrBlock(String destinationIpv6CidrBlock)
The IPv6 CIDR address block used for the destination match. The value you provide must match the CIDR of an existing route in the table.
destinationIpv6CidrBlock
- The IPv6 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 getDestinationIpv6CidrBlock()
The IPv6 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 withDestinationIpv6CidrBlock(String destinationIpv6CidrBlock)
The IPv6 CIDR address block used for the destination match. The value you provide must match the CIDR of an existing route in the table.
destinationIpv6CidrBlock
- The IPv6 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 setEgressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
[IPv6 traffic only] The ID of an egress-only Internet gateway.
egressOnlyInternetGatewayId
- [IPv6 traffic only] The ID of an egress-only Internet gateway.public String getEgressOnlyInternetGatewayId()
[IPv6 traffic only] The ID of an egress-only Internet gateway.
public ReplaceRouteRequest withEgressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
[IPv6 traffic only] The ID of an egress-only Internet gateway.
egressOnlyInternetGatewayId
- [IPv6 traffic only] The ID of an egress-only Internet gateway.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 setNatGatewayId(String natGatewayId)
[IPv4 traffic only] The ID of a NAT gateway.
natGatewayId
- [IPv4 traffic only] The ID of a NAT gateway.public String getNatGatewayId()
[IPv4 traffic only] The ID of a NAT gateway.
public ReplaceRouteRequest withNatGatewayId(String natGatewayId)
[IPv4 traffic only] The ID of a NAT gateway.
natGatewayId
- [IPv4 traffic only] The ID of a NAT gateway.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 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 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 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.