@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 |
destinationCidrBlock()
The CIDR block used for destination matches.
|
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 |
ownerId()
The AWS account ID 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.
|
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, waitcopypublic String destinationCidrBlock()
The CIDR block used for destination matches.
public String localGatewayVirtualInterfaceGroupId()
The ID of the virtual interface group.
public 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().
LocalGatewayRouteTypepublic 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().
LocalGatewayRouteTypepublic 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().
LocalGatewayRouteStatepublic 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().
LocalGatewayRouteStatepublic String localGatewayRouteTableId()
The ID of the local gateway route table.
public String localGatewayRouteTableArn()
The Amazon Resource Name (ARN) of the local gateway route table.
public String ownerId()
The AWS account ID that owns the local gateway route.
public LocalGatewayRoute.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LocalGatewayRoute.Builder,LocalGatewayRoute>public static LocalGatewayRoute.Builder builder()
public static Class<? extends LocalGatewayRoute.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.