Package odata.msgraph.client.beta.entity
Class Windows81VpnConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.WindowsVpnConfiguration
-
- odata.msgraph.client.beta.entity.Windows81VpnConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
WindowsPhone81VpnConfiguration
public class Windows81VpnConfiguration extends WindowsVpnConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“By providing the configurations in this profile you can instruct the Windows 8.1 (and later) devices to connect to desired VPN endpoint. By specifying the authentication method and security types expected by VPN endpoint you can make the VPN connection seamless for end user.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindows81VpnConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanapplyOnlyToWindows81protected WindowsVpnConnectionTypeconnectionTypeprotected BooleanenableSplitTunnelingprotected StringloginGroupOrDomainprotected Windows81VpnProxyServerproxyServer-
Fields inherited from class odata.msgraph.client.beta.entity.WindowsVpnConfiguration
connectionName, customXml, servers, serversNextLink
-
Fields inherited from class odata.msgraph.client.beta.entity.DeviceConfiguration
createdDateTime, description, deviceManagementApplicabilityRuleDeviceMode, deviceManagementApplicabilityRuleOsEdition, deviceManagementApplicabilityRuleOsVersion, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, supportsScopeTags, version
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindows81VpnConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Windows81VpnConfiguration.BuilderbuilderWindows81VpnConfiguration()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getApplyOnlyToWindows81()“Value indicating whether this policy only applies to Windows 8.1.com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<WindowsVpnConnectionType>getConnectionType()“Connection type.”Optional<Boolean>getEnableSplitTunneling()“Enable split tunneling for the VPN.”Optional<String>getLoginGroupOrDomain()“Login group or domain when connection type is set to Dell SonicWALL Mobile Connection.”Optional<Windows81VpnProxyServer>getProxyServer()“Proxy Server.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()Windows81VpnConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Windows81VpnConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()Windows81VpnConfigurationwithApplyOnlyToWindows81(Boolean applyOnlyToWindows81)Returns an immutable copy ofthiswith just theapplyOnlyToWindows81field changed.Windows81VpnConfigurationwithConnectionType(WindowsVpnConnectionType connectionType)Returns an immutable copy ofthiswith just theconnectionTypefield changed.Windows81VpnConfigurationwithEnableSplitTunneling(Boolean enableSplitTunneling)Returns an immutable copy ofthiswith just theenableSplitTunnelingfield changed.Windows81VpnConfigurationwithLoginGroupOrDomain(String loginGroupOrDomain)Returns an immutable copy ofthiswith just theloginGroupOrDomainfield changed.Windows81VpnConfigurationwithProxyServer(Windows81VpnProxyServer proxyServer)Returns an immutable copy ofthiswith just theproxyServerfield changed.Windows81VpnConfigurationwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.WindowsVpnConfiguration
getConnectionName, getCustomXml, getServers, getServers, withConnectionName, withCustomXml, withServers
-
Methods inherited from class odata.msgraph.client.beta.entity.DeviceConfiguration
assign, assignedAccessMultiModeProfiles, getAssignments, getCreatedDateTime, getDescription, getDeviceManagementApplicabilityRuleDeviceMode, getDeviceManagementApplicabilityRuleOsEdition, getDeviceManagementApplicabilityRuleOsVersion, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getGroupAssignments, getLastModifiedDateTime, getOmaSettingPlainTextValue, getRoleScopeTagIds, getRoleScopeTagIds, getSupportsScopeTags, getUserStatuses, getUserStatusOverview, getVersion, windowsPrivacyAccessControls, withCreatedDateTime, withDescription, withDeviceManagementApplicabilityRuleDeviceMode, withDeviceManagementApplicabilityRuleOsEdition, withDeviceManagementApplicabilityRuleOsVersion, withDisplayName, withLastModifiedDateTime, withRoleScopeTagIds, withSupportsScopeTags, withVersion
-
-
-
-
Field Detail
-
applyOnlyToWindows81
protected Boolean applyOnlyToWindows81
-
connectionType
protected WindowsVpnConnectionType connectionType
-
enableSplitTunneling
protected Boolean enableSplitTunneling
-
loginGroupOrDomain
protected String loginGroupOrDomain
-
proxyServer
protected Windows81VpnProxyServer proxyServer
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classWindowsVpnConfiguration
-
builderWindows81VpnConfiguration
public static Windows81VpnConfiguration.Builder builderWindows81VpnConfiguration()
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
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classWindowsVpnConfiguration
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classWindowsVpnConfiguration
-
getApplyOnlyToWindows81
public Optional<Boolean> getApplyOnlyToWindows81()
“Value indicating whether this policy only applies to Windows 8.1. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Returns:
- property applyOnlyToWindows81
-
withApplyOnlyToWindows81
public Windows81VpnConfiguration withApplyOnlyToWindows81(Boolean applyOnlyToWindows81)
Returns an immutable copy ofthiswith just theapplyOnlyToWindows81field 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.“Value indicating whether this policy only applies to Windows 8.1. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
applyOnlyToWindows81- new value ofapplyOnlyToWindows81field (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theapplyOnlyToWindows81field changed
-
getConnectionType
public Optional<WindowsVpnConnectionType> getConnectionType()
“Connection type.”- Returns:
- property connectionType
-
withConnectionType
public Windows81VpnConfiguration withConnectionType(WindowsVpnConnectionType connectionType)
Returns an immutable copy ofthiswith just theconnectionTypefield 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.“Connection type.”
- Parameters:
connectionType- new value ofconnectionTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconnectionTypefield changed
-
getEnableSplitTunneling
public Optional<Boolean> getEnableSplitTunneling()
“Enable split tunneling for the VPN.”- Returns:
- property enableSplitTunneling
-
withEnableSplitTunneling
public Windows81VpnConfiguration withEnableSplitTunneling(Boolean enableSplitTunneling)
Returns an immutable copy ofthiswith just theenableSplitTunnelingfield 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.“Enable split tunneling for the VPN.”
- Parameters:
enableSplitTunneling- new value ofenableSplitTunnelingfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenableSplitTunnelingfield changed
-
getLoginGroupOrDomain
public Optional<String> getLoginGroupOrDomain()
“Login group or domain when connection type is set to Dell SonicWALL Mobile Connection.”- Returns:
- property loginGroupOrDomain
-
withLoginGroupOrDomain
public Windows81VpnConfiguration withLoginGroupOrDomain(String loginGroupOrDomain)
Returns an immutable copy ofthiswith just theloginGroupOrDomainfield 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.“Login group or domain when connection type is set to Dell SonicWALL Mobile Connection.”
- Parameters:
loginGroupOrDomain- new value ofloginGroupOrDomainfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theloginGroupOrDomainfield changed
-
getProxyServer
public Optional<Windows81VpnProxyServer> getProxyServer()
“Proxy Server.”- Returns:
- property proxyServer
-
withProxyServer
public Windows81VpnConfiguration withProxyServer(Windows81VpnProxyServer proxyServer)
Returns an immutable copy ofthiswith just theproxyServerfield 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 Server.”
- Parameters:
proxyServer- new value ofproxyServerfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproxyServerfield changed
-
withUnmappedField
public Windows81VpnConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classWindowsVpnConfiguration
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classWindowsVpnConfiguration
-
patch
public Windows81VpnConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classWindowsVpnConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Windows81VpnConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classWindowsVpnConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classWindowsVpnConfiguration
-
-