Class LocalGatewayRoute
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.LocalGatewayRoute
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LocalGatewayRoute.Builder,LocalGatewayRoute>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLocalGatewayRoute.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LocalGatewayRoute.Builderbuilder()StringcoipPoolId()The ID of the customer-owned address pool.StringdestinationCidrBlock()The CIDR block used for destination matches.StringdestinationPrefixListId()The ID of the prefix list.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlocalGatewayRouteTableArn()The Amazon Resource Name (ARN) of the local gateway route table.StringlocalGatewayRouteTableId()The ID of the local gateway route table.StringlocalGatewayVirtualInterfaceGroupId()The ID of the virtual interface group.StringnetworkInterfaceId()The ID of the network interface.StringownerId()The ID of the Amazon Web Services account that owns the local gateway route.List<SdkField<?>>sdkFields()static Class<? extends LocalGatewayRoute.Builder>serializableBuilderClass()LocalGatewayRouteStatestate()The state of the route.StringstateAsString()The state of the route.StringsubnetId()The ID of the subnet.LocalGatewayRoute.BuildertoBuilder()StringtoString()Returns a string representation of this object.LocalGatewayRouteTypetype()The route type.StringtypeAsString()The route type.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
destinationCidrBlock
public final String destinationCidrBlock()
The CIDR block used for destination matches.
- Returns:
- The CIDR block used for destination matches.
-
localGatewayVirtualInterfaceGroupId
public final String localGatewayVirtualInterfaceGroupId()
The ID of the virtual interface group.
- Returns:
- The ID of the virtual interface group.
-
type
public final LocalGatewayRouteType type()
The route type.
If the service returns an enum value that is not available in the current SDK version,
typewill returnLocalGatewayRouteType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The route type.
- See Also:
LocalGatewayRouteType
-
typeAsString
public final String typeAsString()
The route type.
If the service returns an enum value that is not available in the current SDK version,
typewill returnLocalGatewayRouteType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The route type.
- See Also:
LocalGatewayRouteType
-
state
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,
statewill returnLocalGatewayRouteState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the route.
- See Also:
LocalGatewayRouteState
-
stateAsString
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,
statewill returnLocalGatewayRouteState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the route.
- See Also:
LocalGatewayRouteState
-
localGatewayRouteTableId
public final String localGatewayRouteTableId()
The ID of the local gateway route table.
- Returns:
- The ID of the local gateway route table.
-
localGatewayRouteTableArn
public final String localGatewayRouteTableArn()
The Amazon Resource Name (ARN) of the local gateway route table.
- Returns:
- The Amazon Resource Name (ARN) of the local gateway route table.
-
ownerId
public final String ownerId()
The ID of the Amazon Web Services account that owns the local gateway route.
- Returns:
- The ID of the Amazon Web Services account that owns the local gateway route.
-
subnetId
public final String subnetId()
The ID of the subnet.
- Returns:
- The ID of the subnet.
-
coipPoolId
public final String coipPoolId()
The ID of the customer-owned address pool.
- Returns:
- The ID of the customer-owned address pool.
-
networkInterfaceId
public final String networkInterfaceId()
The ID of the network interface.
- Returns:
- The ID of the network interface.
-
destinationPrefixListId
public final String destinationPrefixListId()
The ID of the prefix list.
- Returns:
- The ID of the prefix list.
-
toBuilder
public LocalGatewayRoute.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LocalGatewayRoute.Builder,LocalGatewayRoute>
-
builder
public static LocalGatewayRoute.Builder builder()
-
serializableBuilderClass
public static Class<? extends LocalGatewayRoute.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-