Class VpnProxyServer
- java.lang.Object
-
- odata.msgraph.client.beta.complex.VpnProxyServer
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
Windows10VpnProxyServer,Windows81VpnProxyServer
public class VpnProxyServer extends Object implements com.github.davidmoten.odata.client.ODataType
“VPN Proxy Server.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVpnProxyServer.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringaddressprotected StringautomaticConfigurationScriptUrlprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected Integerportprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedVpnProxyServer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VpnProxyServer.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getAddress()“Address.”Optional<String>getAutomaticConfigurationScriptUrl()“Proxy's automatic configuration script url.”Optional<Integer>getPort()“Port.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()VpnProxyServerwithAddress(String address)Returns an immutable copy ofthiswith just theaddressfield changed.VpnProxyServerwithAutomaticConfigurationScriptUrl(String automaticConfigurationScriptUrl)Returns an immutable copy ofthiswith just theautomaticConfigurationScriptUrlfield changed.VpnProxyServerwithPort(Integer port)Returns an immutable copy ofthiswith just theportfield changed.VpnProxyServerwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
address
protected String address
-
automaticConfigurationScriptUrl
protected String automaticConfigurationScriptUrl
-
port
protected Integer port
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withAddress
public VpnProxyServer withAddress(String address)
Returns an immutable copy ofthiswith just theaddressfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Address.”
- Parameters:
address- new value ofaddressfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theaddressfield changed
-
getAutomaticConfigurationScriptUrl
public Optional<String> getAutomaticConfigurationScriptUrl()
“Proxy's automatic configuration script url.”- Returns:
- property automaticConfigurationScriptUrl
-
withAutomaticConfigurationScriptUrl
public VpnProxyServer withAutomaticConfigurationScriptUrl(String automaticConfigurationScriptUrl)
Returns an immutable copy ofthiswith just theautomaticConfigurationScriptUrlfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Proxy's automatic configuration script url.”
- Parameters:
automaticConfigurationScriptUrl- new value ofautomaticConfigurationScriptUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theautomaticConfigurationScriptUrlfield changed
-
withPort
public VpnProxyServer withPort(Integer port)
Returns an immutable copy ofthiswith just theportfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Port. Valid values 0 to 65535”
- Parameters:
port- new value ofportfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theportfield changed
-
withUnmappedField
public VpnProxyServer withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static VpnProxyServer.Builder builder()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-