public class VpnRoute extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
VpnRoute.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
destinationPrefix |
protected String |
odataType |
protected Integer |
prefixSize |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
VpnRoute() |
| Modifier and Type | Method and Description |
|---|---|
static VpnRoute.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getDestinationPrefix()
“Destination prefix (IPv4/v6 address).”
|
Optional<Integer> |
getPrefixSize()
“Prefix size.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
VpnRoute |
withDestinationPrefix(String destinationPrefix)
Returns an immutable copy of
this with just the destinationPrefix
field changed. |
VpnRoute |
withPrefixSize(Integer prefixSize)
Returns an immutable copy of
this with just the prefixSize field
changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String destinationPrefix
protected Integer prefixSize
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getDestinationPrefix()
public VpnRoute withDestinationPrefix(String destinationPrefix)
this with just the destinationPrefix
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Destination prefix (IPv4/v6 address).”
destinationPrefix - new value of destinationPrefix field (as defined in service metadata)this with just the destinationPrefix field changedpublic Optional<Integer> getPrefixSize()
public VpnRoute withPrefixSize(Integer prefixSize)
this with just the prefixSize field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Prefix size. (1-32). Valid values 1 to 32”
prefixSize - new value of prefixSize field (as defined in service metadata)this with just the prefixSize field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static VpnRoute.Builder builder()
Copyright © 2018–2020. All rights reserved.