@Generated(value="software.amazon.awssdk:codegen") public class ReplaceRouteRequest extends EC2Request implements ToCopyableBuilder<ReplaceRouteRequest.Builder,ReplaceRouteRequest>
Contains the parameters for ReplaceRoute.
Modifier and Type | Class and Description |
---|---|
static interface |
ReplaceRouteRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ReplaceRouteRequest.Builder |
builder() |
String |
destinationCidrBlock()
The IPv4 CIDR address block used for the destination match.
|
String |
destinationIpv6CidrBlock()
The IPv6 CIDR address block used for the destination match.
|
String |
egressOnlyInternetGatewayId()
[IPv6 traffic only] The ID of an egress-only Internet gateway.
|
boolean |
equals(Object obj) |
String |
gatewayId()
The ID of an Internet gateway or virtual private gateway.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
instanceId()
The ID of a NAT instance in your VPC.
|
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.
|
static Class<? extends ReplaceRouteRequest.Builder> |
serializableBuilderClass() |
ReplaceRouteRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
vpcPeeringConnectionId()
The ID of a VPC peering connection.
|
requestOverrideConfig
copy
public String destinationCidrBlock()
The IPv4 CIDR address block used for the destination match. The value you provide must match the CIDR of an existing route in the table.
public String destinationIpv6CidrBlock()
The IPv6 CIDR address block used for the destination match. The value you provide must match the CIDR of an existing route in the table.
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.
public String instanceId()
The ID of a NAT instance in your VPC.
public String natGatewayId()
[IPv4 traffic only] The ID of a NAT gateway.
public String networkInterfaceId()
The ID of a network interface.
public String routeTableId()
The ID of the route table.
public String vpcPeeringConnectionId()
The ID of a VPC peering connection.
public ReplaceRouteRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ReplaceRouteRequest.Builder,ReplaceRouteRequest>
toBuilder
in class EC2Request
public static ReplaceRouteRequest.Builder builder()
public static Class<? extends ReplaceRouteRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.