@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 |
coreNetworkArn()
The Amazon Resource Name (ARN) of the core network.
|
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.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final 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 final String destinationIpv6CidrBlock()
The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific match.
public final String destinationPrefixListId()
The ID of a prefix list used for the destination match.
public final String vpcEndpointId()
The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.
public final String egressOnlyInternetGatewayId()
[IPv6 traffic only] The ID of an egress-only internet gateway.
public final String gatewayId()
The ID of an internet gateway or virtual private gateway attached to your VPC.
public final 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 final String natGatewayId()
[IPv4 traffic only] The ID of a NAT gateway.
public final String transitGatewayId()
The ID of a transit gateway.
public final String localGatewayId()
The ID of the local gateway.
public final 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 final String networkInterfaceId()
The ID of a network interface.
public final String routeTableId()
The ID of the route table for the route.
public final String vpcPeeringConnectionId()
The ID of a VPC peering connection.
public final String coreNetworkArn()
The Amazon Resource Name (ARN) of the core network.
public CreateRouteRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateRouteRequest.Builder,CreateRouteRequest>
toBuilder
in class Ec2Request
public static CreateRouteRequest.Builder builder()
public static Class<? extends CreateRouteRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2022. All rights reserved.