@Generated(value="software.amazon.awssdk:codegen") public final class VpnStaticRoute extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VpnStaticRoute.Builder,VpnStaticRoute>
Describes a static route for a VPN connection.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VpnStaticRoute.Builder |
| Modifier and Type | Method and Description |
|---|---|
static VpnStaticRoute.Builder |
builder() |
String |
destinationCidrBlock()
The CIDR block associated with the local subnet of the customer data center.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends VpnStaticRoute.Builder> |
serializableBuilderClass() |
VpnStaticRouteSource |
source()
Indicates how the routes were provided.
|
String |
sourceAsString()
Indicates how the routes were provided.
|
VpnState |
state()
The current state of the static route.
|
String |
stateAsString()
The current state of the static route.
|
VpnStaticRoute.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String destinationCidrBlock()
The CIDR block associated with the local subnet of the customer data center.
public VpnStaticRouteSource source()
Indicates how the routes were provided.
If the service returns an enum value that is not available in the current SDK version, source will
return VpnStaticRouteSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from sourceAsString().
VpnStaticRouteSourcepublic String sourceAsString()
Indicates how the routes were provided.
If the service returns an enum value that is not available in the current SDK version, source will
return VpnStaticRouteSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from sourceAsString().
VpnStaticRouteSourcepublic VpnState state()
The current state of the static route.
If the service returns an enum value that is not available in the current SDK version, state will return
VpnState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
VpnStatepublic String stateAsString()
The current state of the static route.
If the service returns an enum value that is not available in the current SDK version, state will return
VpnState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
VpnStatepublic VpnStaticRoute.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VpnStaticRoute.Builder,VpnStaticRoute>public static VpnStaticRoute.Builder builder()
public static Class<? extends VpnStaticRoute.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.