@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRouteRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateRouteRequest>
NOOP
Constructor and Description |
---|
CreateRouteRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRouteRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCarrierGatewayId()
The ID of the 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 block used for the destination match.
|
String |
getDestinationPrefixListId()
The ID of a prefix list used for the destination match.
|
Request<CreateRouteRequest> |
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 attached to your VPC.
|
String |
getInstanceId()
The ID of a NAT instance in your VPC.
|
String |
getLocalGatewayId()
The ID of the local gateway.
|
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 for the route.
|
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() |
void |
setCarrierGatewayId(String carrierGatewayId)
The ID of the 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 block used for the destination match.
|
void |
setDestinationPrefixListId(String destinationPrefixListId)
The ID of a prefix list 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 attached to your VPC.
|
void |
setInstanceId(String instanceId)
The ID of a NAT instance in your VPC.
|
void |
setLocalGatewayId(String localGatewayId)
The ID of the local gateway.
|
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 for the route.
|
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.
|
CreateRouteRequest |
withCarrierGatewayId(String carrierGatewayId)
The ID of the carrier gateway.
|
CreateRouteRequest |
withCoreNetworkArn(String coreNetworkArn)
The Amazon Resource Name (ARN) of the core network.
|
CreateRouteRequest |
withDestinationCidrBlock(String destinationCidrBlock)
The IPv4 CIDR address block used for the destination match.
|
CreateRouteRequest |
withDestinationIpv6CidrBlock(String destinationIpv6CidrBlock)
The IPv6 CIDR block used for the destination match.
|
CreateRouteRequest |
withDestinationPrefixListId(String destinationPrefixListId)
The ID of a prefix list used for the destination match.
|
CreateRouteRequest |
withEgressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
[IPv6 traffic only] The ID of an egress-only internet gateway.
|
CreateRouteRequest |
withGatewayId(String gatewayId)
The ID of an internet gateway or virtual private gateway attached to your VPC.
|
CreateRouteRequest |
withInstanceId(String instanceId)
The ID of a NAT instance in your VPC.
|
CreateRouteRequest |
withLocalGatewayId(String localGatewayId)
The ID of the local gateway.
|
CreateRouteRequest |
withNatGatewayId(String natGatewayId)
[IPv4 traffic only] The ID of a NAT gateway.
|
CreateRouteRequest |
withNetworkInterfaceId(String networkInterfaceId)
The ID of a network interface.
|
CreateRouteRequest |
withRouteTableId(String routeTableId)
The ID of the route table for the route.
|
CreateRouteRequest |
withTransitGatewayId(String transitGatewayId)
The ID of a transit gateway.
|
CreateRouteRequest |
withVpcEndpointId(String vpcEndpointId)
The ID of a VPC endpoint.
|
CreateRouteRequest |
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. Routing decisions are based on the most specific
match. We modify the specified CIDR block to its canonical form; for example, if you specify
100.68.0.18/18
, we modify it to 100.68.0.0/18
.
destinationCidrBlock
- The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most
specific match. We modify the specified CIDR block to its canonical form; for example, if you specify
100.68.0.18/18
, we modify it to 100.68.0.0/18
.public String getDestinationCidrBlock()
The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most specific
match. We modify the specified CIDR block to its canonical form; for example, if you specify
100.68.0.18/18
, we modify it to 100.68.0.0/18
.
100.68.0.18/18
, we modify it to 100.68.0.0/18
.public CreateRouteRequest withDestinationCidrBlock(String destinationCidrBlock)
The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most specific
match. We modify the specified CIDR block to its canonical form; for example, if you specify
100.68.0.18/18
, we modify it to 100.68.0.0/18
.
destinationCidrBlock
- The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most
specific match. We modify the specified CIDR block to its canonical form; for example, if you specify
100.68.0.18/18
, we modify it to 100.68.0.0/18
.public void setDestinationIpv6CidrBlock(String destinationIpv6CidrBlock)
The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific match.
destinationIpv6CidrBlock
- The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific
match.public String getDestinationIpv6CidrBlock()
The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific match.
public CreateRouteRequest withDestinationIpv6CidrBlock(String destinationIpv6CidrBlock)
The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific match.
destinationIpv6CidrBlock
- The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific
match.public void setDestinationPrefixListId(String destinationPrefixListId)
The ID of a prefix list used for the destination match.
destinationPrefixListId
- The ID of a prefix list used for the destination match.public String getDestinationPrefixListId()
The ID of a prefix list used for the destination match.
public CreateRouteRequest withDestinationPrefixListId(String destinationPrefixListId)
The ID of a prefix list used for the destination match.
destinationPrefixListId
- The ID of a prefix list used for the destination match.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 CreateRouteRequest 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 CreateRouteRequest 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 attached to your VPC.
gatewayId
- The ID of an internet gateway or virtual private gateway attached to your VPC.public String getGatewayId()
The ID of an internet gateway or virtual private gateway attached to your VPC.
public CreateRouteRequest withGatewayId(String gatewayId)
The ID of an internet gateway or virtual private gateway attached to your VPC.
gatewayId
- The ID of an internet gateway or virtual private gateway attached to your VPC.public void setInstanceId(String instanceId)
The ID of a NAT instance in your VPC. The operation fails if you specify an instance ID unless exactly one network interface is attached.
instanceId
- The ID of a NAT instance in your VPC. The operation fails if you specify an instance ID unless exactly one
network interface is attached.public String getInstanceId()
The ID of a NAT instance in your VPC. The operation fails if you specify an instance ID unless exactly one network interface is attached.
public CreateRouteRequest withInstanceId(String instanceId)
The ID of a NAT instance in your VPC. The operation fails if you specify an instance ID unless exactly one network interface is attached.
instanceId
- The ID of a NAT instance in your VPC. The operation fails if you specify an instance ID unless exactly one
network interface is attached.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 CreateRouteRequest 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 CreateRouteRequest 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 CreateRouteRequest withLocalGatewayId(String localGatewayId)
The ID of the local gateway.
localGatewayId
- The ID of the local gateway.public void setCarrierGatewayId(String carrierGatewayId)
The ID of the carrier gateway.
You can only use this option when the VPC contains a subnet which is associated with a Wavelength Zone.
carrierGatewayId
- The ID of the carrier gateway.
You can only use this option when the VPC contains a subnet which is associated with a Wavelength Zone.
public String getCarrierGatewayId()
The ID of the carrier gateway.
You can only use this option when the VPC contains a subnet which is associated with a Wavelength Zone.
You can only use this option when the VPC contains a subnet which is associated with a Wavelength Zone.
public CreateRouteRequest withCarrierGatewayId(String carrierGatewayId)
The ID of the carrier gateway.
You can only use this option when the VPC contains a subnet which is associated with a Wavelength Zone.
carrierGatewayId
- The ID of the carrier gateway.
You can only use this option when the VPC contains a subnet which is associated with a Wavelength Zone.
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 CreateRouteRequest 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 for the route.
routeTableId
- The ID of the route table for the route.public String getRouteTableId()
The ID of the route table for the route.
public CreateRouteRequest withRouteTableId(String routeTableId)
The ID of the route table for the route.
routeTableId
- The ID of the route table for the route.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 CreateRouteRequest 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 CreateRouteRequest withCoreNetworkArn(String coreNetworkArn)
The Amazon Resource Name (ARN) of the core network.
coreNetworkArn
- The Amazon Resource Name (ARN) of the core network.public Request<CreateRouteRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateRouteRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateRouteRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()