@Generated(value="software.amazon.awssdk:codegen") public class VpnStaticRoute extends Object implements 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends VpnStaticRoute.Builder> |
serializableBuilderClass() |
VpnStaticRouteSource |
source()
Indicates how the routes were provided.
|
String |
sourceString()
Indicates how the routes were provided.
|
VpnState |
state()
The current state of the static route.
|
String |
stateString()
The current state of the static route.
|
VpnStaticRoute.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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 sourceString()
.
VpnStaticRouteSource
public String sourceString()
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 sourceString()
.
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
stateString()
.
VpnState
public String stateString()
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
stateString()
.
VpnState
public VpnStaticRoute.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<VpnStaticRoute.Builder,VpnStaticRoute>
public static VpnStaticRoute.Builder builder()
public static Class<? extends VpnStaticRoute.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.