@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, wait
copy
public 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()
.
VpnStaticRouteSource
public 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()
.
VpnStaticRouteSource
public 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()
.
VpnState
public 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()
.
VpnState
public 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 SdkPojo
public String toString()
Copyright © 2019. All rights reserved.