@Generated(value="software.amazon.awssdk:codegen") public final class LocalGatewayRoute extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LocalGatewayRoute.Builder,LocalGatewayRoute>
Describes a route for a local gateway route table.
Modifier and Type | Class and Description |
---|---|
static interface |
LocalGatewayRoute.Builder |
Modifier and Type | Method and Description |
---|---|
static LocalGatewayRoute.Builder |
builder() |
String |
coipPoolId()
The ID of the customer-owned address pool.
|
String |
destinationCidrBlock()
The CIDR block used for destination matches.
|
String |
destinationPrefixListId()
The ID of the prefix list.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
localGatewayRouteTableArn()
The Amazon Resource Name (ARN) of the local gateway route table.
|
String |
localGatewayRouteTableId()
The ID of the local gateway route table.
|
String |
localGatewayVirtualInterfaceGroupId()
The ID of the virtual interface group.
|
String |
networkInterfaceId()
The ID of the network interface.
|
String |
ownerId()
The ID of the Amazon Web Services account that owns the local gateway route.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LocalGatewayRoute.Builder> |
serializableBuilderClass() |
LocalGatewayRouteState |
state()
The state of the route.
|
String |
stateAsString()
The state of the route.
|
String |
subnetId()
The ID of the subnet.
|
LocalGatewayRoute.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
LocalGatewayRouteType |
type()
The route type.
|
String |
typeAsString()
The route type.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String destinationCidrBlock()
The CIDR block used for destination matches.
public final String localGatewayVirtualInterfaceGroupId()
The ID of the virtual interface group.
public final LocalGatewayRouteType type()
The route type.
If the service returns an enum value that is not available in the current SDK version, type
will return
LocalGatewayRouteType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
LocalGatewayRouteType
public final String typeAsString()
The route type.
If the service returns an enum value that is not available in the current SDK version, type
will return
LocalGatewayRouteType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
LocalGatewayRouteType
public final LocalGatewayRouteState state()
The state of the route.
If the service returns an enum value that is not available in the current SDK version, state
will return
LocalGatewayRouteState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
LocalGatewayRouteState
public final String stateAsString()
The state of the route.
If the service returns an enum value that is not available in the current SDK version, state
will return
LocalGatewayRouteState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
LocalGatewayRouteState
public final String localGatewayRouteTableId()
The ID of the local gateway route table.
public final String localGatewayRouteTableArn()
The Amazon Resource Name (ARN) of the local gateway route table.
public final String ownerId()
The ID of the Amazon Web Services account that owns the local gateway route.
public final String subnetId()
The ID of the subnet.
public final String coipPoolId()
The ID of the customer-owned address pool.
public final String networkInterfaceId()
The ID of the network interface.
public final String destinationPrefixListId()
The ID of the prefix list.
public LocalGatewayRoute.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<LocalGatewayRoute.Builder,LocalGatewayRoute>
public static LocalGatewayRoute.Builder builder()
public static Class<? extends LocalGatewayRoute.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.