@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplaceRouteRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ReplaceRouteRequest>
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 |
getCarrierGatewayId()
[IPv4 traffic only] The ID of a carrier gateway.
|
String |
getCoreNetworkArn()
The Amazon Resource Name (ARN) of the core network.
|
String |
getDestinationCidrBlock()
The IPv4 CIDR address block used for the destination match.
|
String |
getDestinationIpv6CidrBlock()
The IPv6 CIDR address block used for the destination match.
|
String |
getDestinationPrefixListId()
The ID of the prefix list for the route.
|
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 |
getLocalGatewayId()
The ID of the local gateway.
|
Boolean |
getLocalTarget()
Specifies whether to reset the local route to its default target (
local ). |
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 |
getTransitGatewayId()
The ID of a transit gateway.
|
String |
getVpcEndpointId()
The ID of a VPC endpoint.
|
String |
getVpcPeeringConnectionId()
The ID of a VPC peering connection.
|
int |
hashCode() |
Boolean |
isLocalTarget()
Specifies whether to reset the local route to its default target (
local ). |
void |
setCarrierGatewayId(String carrierGatewayId)
[IPv4 traffic only] The ID of a carrier gateway.
|
void |
setCoreNetworkArn(String coreNetworkArn)
The Amazon Resource Name (ARN) of the core network.
|
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 |
setDestinationPrefixListId(String destinationPrefixListId)
The ID of the prefix list for the route.
|
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 |
setLocalGatewayId(String localGatewayId)
The ID of the local gateway.
|
void |
setLocalTarget(Boolean localTarget)
Specifies whether to reset the local route to its default target (
local ). |
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 |
setTransitGatewayId(String transitGatewayId)
The ID of a transit gateway.
|
void |
setVpcEndpointId(String vpcEndpointId)
The ID of a VPC endpoint.
|
void |
setVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of a VPC peering connection.
|
String |
toString()
Returns a string representation of this object.
|
ReplaceRouteRequest |
withCarrierGatewayId(String carrierGatewayId)
[IPv4 traffic only] The ID of a carrier gateway.
|
ReplaceRouteRequest |
withCoreNetworkArn(String coreNetworkArn)
The Amazon Resource Name (ARN) of the core network.
|
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 |
withDestinationPrefixListId(String destinationPrefixListId)
The ID of the prefix list for the route.
|
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 |
withLocalGatewayId(String localGatewayId)
The ID of the local gateway.
|
ReplaceRouteRequest |
withLocalTarget(Boolean localTarget)
Specifies whether to reset the local route to its default target (
local ). |
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 |
withTransitGatewayId(String transitGatewayId)
The ID of a transit gateway.
|
ReplaceRouteRequest |
withVpcEndpointId(String vpcEndpointId)
The ID of a VPC endpoint.
|
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 that 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 that 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 that 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 that 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 that 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 that 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 that 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 that 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 that 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 that you provide must match the CIDR
of an existing route in the table.public void setDestinationPrefixListId(String destinationPrefixListId)
The ID of the prefix list for the route.
destinationPrefixListId
- The ID of the prefix list for the route.public String getDestinationPrefixListId()
The ID of the prefix list for the route.
public ReplaceRouteRequest withDestinationPrefixListId(String destinationPrefixListId)
The ID of the prefix list for the route.
destinationPrefixListId
- The ID of the prefix list for the route.public void setVpcEndpointId(String vpcEndpointId)
The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.
vpcEndpointId
- The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.public String getVpcEndpointId()
The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.
public ReplaceRouteRequest withVpcEndpointId(String vpcEndpointId)
The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.
vpcEndpointId
- The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.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 setLocalTarget(Boolean localTarget)
Specifies whether to reset the local route to its default target (local
).
localTarget
- Specifies whether to reset the local route to its default target (local
).public Boolean getLocalTarget()
Specifies whether to reset the local route to its default target (local
).
local
).public ReplaceRouteRequest withLocalTarget(Boolean localTarget)
Specifies whether to reset the local route to its default target (local
).
localTarget
- Specifies whether to reset the local route to its default target (local
).public Boolean isLocalTarget()
Specifies whether to reset the local route to its default target (local
).
local
).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 setTransitGatewayId(String transitGatewayId)
The ID of a transit gateway.
transitGatewayId
- The ID of a transit gateway.public String getTransitGatewayId()
The ID of a transit gateway.
public ReplaceRouteRequest withTransitGatewayId(String transitGatewayId)
The ID of a transit gateway.
transitGatewayId
- The ID of a transit gateway.public void setLocalGatewayId(String localGatewayId)
The ID of the local gateway.
localGatewayId
- The ID of the local gateway.public String getLocalGatewayId()
The ID of the local gateway.
public ReplaceRouteRequest withLocalGatewayId(String localGatewayId)
The ID of the local gateway.
localGatewayId
- The ID of the local gateway.public void setCarrierGatewayId(String carrierGatewayId)
[IPv4 traffic only] The ID of a carrier gateway.
carrierGatewayId
- [IPv4 traffic only] The ID of a carrier gateway.public String getCarrierGatewayId()
[IPv4 traffic only] The ID of a carrier gateway.
public ReplaceRouteRequest withCarrierGatewayId(String carrierGatewayId)
[IPv4 traffic only] The ID of a carrier gateway.
carrierGatewayId
- [IPv4 traffic only] The ID of a carrier 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 void setCoreNetworkArn(String coreNetworkArn)
The Amazon Resource Name (ARN) of the core network.
coreNetworkArn
- The Amazon Resource Name (ARN) of the core network.public String getCoreNetworkArn()
The Amazon Resource Name (ARN) of the core network.
public ReplaceRouteRequest withCoreNetworkArn(String coreNetworkArn)
The Amazon Resource Name (ARN) of the core network.
coreNetworkArn
- The Amazon Resource Name (ARN) of the core network.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()