@Generated(value="software.amazon.awssdk:codegen") public final class CreateRouteRequest extends Ec2Request implements ToCopyableBuilder<CreateRouteRequest.Builder,CreateRouteRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateRouteRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateRouteRequest.Builder |
builder() |
String |
carrierGatewayId()
The ID of the carrier gateway.
|
String |
destinationCidrBlock()
The IPv4 CIDR address block used for the destination match.
|
String |
destinationIpv6CidrBlock()
The IPv6 CIDR block used for the destination match.
|
String |
destinationPrefixListId()
The ID of a prefix list used for the destination match.
|
String |
egressOnlyInternetGatewayId()
[IPv6 traffic only] The ID of an egress-only internet gateway.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
gatewayId()
The ID of an internet gateway or virtual private gateway attached to your VPC.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceId()
The ID of a NAT instance in your VPC.
|
String |
localGatewayId()
The ID of the local gateway.
|
String |
natGatewayId()
[IPv4 traffic only] The ID of a NAT gateway.
|
String |
networkInterfaceId()
The ID of a network interface.
|
String |
routeTableId()
The ID of the route table for the route.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateRouteRequest.Builder> |
serializableBuilderClass() |
CreateRouteRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
transitGatewayId()
The ID of a transit gateway.
|
String |
vpcEndpointId()
The ID of a VPC endpoint.
|
String |
vpcPeeringConnectionId()
The ID of a VPC peering connection.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
100.68.0.18/18, we modify it to 100.68.0.0/18.public String destinationIpv6CidrBlock()
The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific match.
public String destinationPrefixListId()
The ID of a prefix list used for the destination match.
public String vpcEndpointId()
The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.
public String egressOnlyInternetGatewayId()
[IPv6 traffic only] The ID of an egress-only internet gateway.
public String gatewayId()
The ID of an internet gateway or virtual private gateway attached to your VPC.
public 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.
public String natGatewayId()
[IPv4 traffic only] The ID of a NAT gateway.
public String transitGatewayId()
The ID of a transit gateway.
public String localGatewayId()
The ID of the local gateway.
public 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.
You can only use this option when the VPC contains a subnet which is associated with a Wavelength Zone.
public String networkInterfaceId()
The ID of a network interface.
public String routeTableId()
The ID of the route table for the route.
public String vpcPeeringConnectionId()
The ID of a VPC peering connection.
public CreateRouteRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateRouteRequest.Builder,CreateRouteRequest>toBuilder in class Ec2Requestpublic static CreateRouteRequest.Builder builder()
public static Class<? extends CreateRouteRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.