@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 |
destinationCidrBlock()
The IPv4 CIDR address block used for the destination match.
|
String |
destinationIpv6CidrBlock()
The IPv6 CIDR block 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 |
vpcPeeringConnectionId()
The ID of a VPC peering connection.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String destinationCidrBlock()
The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most specific match.
public String destinationIpv6CidrBlock()
The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific match.
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 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 Ec2Request
public static CreateRouteRequest.Builder builder()
public static Class<? extends CreateRouteRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2020. All rights reserved.