Class Windows10VpnConfiguration
- 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.Windows10VpnConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Windows10VpnConfiguration extends WindowsVpnConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“By providing the configurations in this profile you can instruct the Windows 10 device (desktop or mobile) 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 classWindows10VpnConfiguration.Builder
-
Field Summary
-
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 protectedWindows10VpnConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Windows10VpnConfiguration.BuilderbuilderWindows10VpnConfiguration()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.CollectionPage<Windows10AssociatedApps>getAssociatedApps()“Associated Apps.com.github.davidmoten.odata.client.CollectionPage<Windows10AssociatedApps>getAssociatedApps(com.github.davidmoten.odata.client.HttpRequestOptions options)“Associated Apps.Optional<Windows10VpnAuthenticationMethod>getAuthenticationMethod()“Authentication method.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Windows10VpnConnectionType>getConnectionType()“Connection type.”Optional<CryptographySuite>getCryptographySuite()“Cryptography Suite security settings for IKEv2 VPN in Windows10 and above”com.github.davidmoten.odata.client.CollectionPage<VpnDnsRule>getDnsRules()“DNS rules.com.github.davidmoten.odata.client.CollectionPage<VpnDnsRule>getDnsRules(com.github.davidmoten.odata.client.HttpRequestOptions options)“DNS rules.com.github.davidmoten.odata.client.CollectionPage<String>getDnsSuffixes()“Specify DNS suffixes to add to the DNS search list to properly route short names .”com.github.davidmoten.odata.client.CollectionPage<String>getDnsSuffixes(com.github.davidmoten.odata.client.HttpRequestOptions options)“Specify DNS suffixes to add to the DNS search list to properly route short names .”Optional<byte[]>getEapXml()“Extensible Authentication Protocol (EAP) XML.Optional<Boolean>getEnableAlwaysOn()“Enable Always On mode.”Optional<Boolean>getEnableConditionalAccess()“Enable conditional access.”Optional<Boolean>getEnableDeviceTunnel()“Enable device tunnel.”Optional<Boolean>getEnableDnsRegistration()“Enable IP address registration with internal DNS.”Optional<Boolean>getEnableSingleSignOnWithAlternateCertificate()“Enable single sign-on (SSO) with alternate certificate.”Optional<Boolean>getEnableSplitTunneling()“Enable split tunneling.”WindowsCertificateProfileBaseRequestgetIdentityCertificate()“Identity certificate for client authentication when authentication method is certificate.”Optional<String>getMicrosoftTunnelSiteId()“ID of the Microsoft Tunnel site associated with the VPN profile.”Optional<Boolean>getOnlyAssociatedAppsCanUseConnection()“Only associated Apps can use connection (per-app VPN).”Optional<Windows10VpnProfileTarget>getProfileTarget()“Profile target type.”Optional<Windows10VpnProxyServer>getProxyServer()“Proxy Server.”Optional<Boolean>getRememberUserCredentials()“Remember user credentials.”com.github.davidmoten.odata.client.CollectionPage<VpnRoute>getRoutes()“Routes (optional for third-party providers).com.github.davidmoten.odata.client.CollectionPage<VpnRoute>getRoutes(com.github.davidmoten.odata.client.HttpRequestOptions options)“Routes (optional for third-party providers).Optional<ExtendedKeyUsage>getSingleSignOnEku()“Single sign-on Extended Key Usage (EKU).”Optional<String>getSingleSignOnIssuerHash()“Single sign-on issuer hash.”com.github.davidmoten.odata.client.CollectionPage<VpnTrafficRule>getTrafficRules()“Traffic rules.com.github.davidmoten.odata.client.CollectionPage<VpnTrafficRule>getTrafficRules(com.github.davidmoten.odata.client.HttpRequestOptions options)“Traffic rules.com.github.davidmoten.odata.client.CollectionPage<String>getTrustedNetworkDomains()“Trusted Network Domains”com.github.davidmoten.odata.client.CollectionPage<String>getTrustedNetworkDomains(com.github.davidmoten.odata.client.HttpRequestOptions options)“Trusted Network Domains”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getWindowsInformationProtectionDomain()“Windows Information Protection (WIP) domain to associate with this connection.”StringodataTypeName()Windows10VpnConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Windows10VpnConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()Windows10VpnConfigurationwithAssociatedApps(List<Windows10AssociatedApps> associatedApps)Returns an immutable copy ofthiswith just theassociatedAppsfield changed.Windows10VpnConfigurationwithAuthenticationMethod(Windows10VpnAuthenticationMethod authenticationMethod)Returns an immutable copy ofthiswith just theauthenticationMethodfield changed.Windows10VpnConfigurationwithConnectionType(Windows10VpnConnectionType connectionType)Returns an immutable copy ofthiswith just theconnectionTypefield changed.Windows10VpnConfigurationwithCryptographySuite(CryptographySuite cryptographySuite)Returns an immutable copy ofthiswith just thecryptographySuitefield changed.Windows10VpnConfigurationwithDnsRules(List<VpnDnsRule> dnsRules)Returns an immutable copy ofthiswith just thednsRulesfield changed.Windows10VpnConfigurationwithDnsSuffixes(List<String> dnsSuffixes)Returns an immutable copy ofthiswith just thednsSuffixesfield changed.Windows10VpnConfigurationwithEapXml(byte[] eapXml)Returns an immutable copy ofthiswith just theeapXmlfield changed.Windows10VpnConfigurationwithEnableAlwaysOn(Boolean enableAlwaysOn)Returns an immutable copy ofthiswith just theenableAlwaysOnfield changed.Windows10VpnConfigurationwithEnableConditionalAccess(Boolean enableConditionalAccess)Returns an immutable copy ofthiswith just theenableConditionalAccessfield changed.Windows10VpnConfigurationwithEnableDeviceTunnel(Boolean enableDeviceTunnel)Returns an immutable copy ofthiswith just theenableDeviceTunnelfield changed.Windows10VpnConfigurationwithEnableDnsRegistration(Boolean enableDnsRegistration)Returns an immutable copy ofthiswith just theenableDnsRegistrationfield changed.Windows10VpnConfigurationwithEnableSingleSignOnWithAlternateCertificate(Boolean enableSingleSignOnWithAlternateCertificate)Returns an immutable copy ofthiswith just theenableSingleSignOnWithAlternateCertificatefield changed.Windows10VpnConfigurationwithEnableSplitTunneling(Boolean enableSplitTunneling)Returns an immutable copy ofthiswith just theenableSplitTunnelingfield changed.Windows10VpnConfigurationwithMicrosoftTunnelSiteId(String microsoftTunnelSiteId)Returns an immutable copy ofthiswith just themicrosoftTunnelSiteIdfield changed.Windows10VpnConfigurationwithOnlyAssociatedAppsCanUseConnection(Boolean onlyAssociatedAppsCanUseConnection)Returns an immutable copy ofthiswith just theonlyAssociatedAppsCanUseConnectionfield changed.Windows10VpnConfigurationwithProfileTarget(Windows10VpnProfileTarget profileTarget)Returns an immutable copy ofthiswith just theprofileTargetfield changed.Windows10VpnConfigurationwithProxyServer(Windows10VpnProxyServer proxyServer)Returns an immutable copy ofthiswith just theproxyServerfield changed.Windows10VpnConfigurationwithRememberUserCredentials(Boolean rememberUserCredentials)Returns an immutable copy ofthiswith just therememberUserCredentialsfield changed.Windows10VpnConfigurationwithRoutes(List<VpnRoute> routes)Returns an immutable copy ofthiswith just theroutesfield changed.Windows10VpnConfigurationwithSingleSignOnEku(ExtendedKeyUsage singleSignOnEku)Returns an immutable copy ofthiswith just thesingleSignOnEkufield changed.Windows10VpnConfigurationwithSingleSignOnIssuerHash(String singleSignOnIssuerHash)Returns an immutable copy ofthiswith just thesingleSignOnIssuerHashfield changed.Windows10VpnConfigurationwithTrafficRules(List<VpnTrafficRule> trafficRules)Returns an immutable copy ofthiswith just thetrafficRulesfield changed.Windows10VpnConfigurationwithTrustedNetworkDomains(List<String> trustedNetworkDomains)Returns an immutable copy ofthiswith just thetrustedNetworkDomainsfield changed.Windows10VpnConfigurationwithUnmappedField(String name, String value)Windows10VpnConfigurationwithWindowsInformationProtectionDomain(String windowsInformationProtectionDomain)Returns an immutable copy ofthiswith just thewindowsInformationProtectionDomainfield changed.-
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
-
associatedApps
protected List<Windows10AssociatedApps> associatedApps
-
associatedAppsNextLink
protected String associatedAppsNextLink
-
authenticationMethod
protected Windows10VpnAuthenticationMethod authenticationMethod
-
connectionType
protected Windows10VpnConnectionType connectionType
-
cryptographySuite
protected CryptographySuite cryptographySuite
-
dnsRules
protected List<VpnDnsRule> dnsRules
-
dnsRulesNextLink
protected String dnsRulesNextLink
-
dnsSuffixesNextLink
protected String dnsSuffixesNextLink
-
eapXml
protected byte[] eapXml
-
enableAlwaysOn
protected Boolean enableAlwaysOn
-
enableConditionalAccess
protected Boolean enableConditionalAccess
-
enableDeviceTunnel
protected Boolean enableDeviceTunnel
-
enableDnsRegistration
protected Boolean enableDnsRegistration
-
enableSingleSignOnWithAlternateCertificate
protected Boolean enableSingleSignOnWithAlternateCertificate
-
enableSplitTunneling
protected Boolean enableSplitTunneling
-
microsoftTunnelSiteId
protected String microsoftTunnelSiteId
-
onlyAssociatedAppsCanUseConnection
protected Boolean onlyAssociatedAppsCanUseConnection
-
profileTarget
protected Windows10VpnProfileTarget profileTarget
-
proxyServer
protected Windows10VpnProxyServer proxyServer
-
rememberUserCredentials
protected Boolean rememberUserCredentials
-
routesNextLink
protected String routesNextLink
-
singleSignOnEku
protected ExtendedKeyUsage singleSignOnEku
-
singleSignOnIssuerHash
protected String singleSignOnIssuerHash
-
trafficRules
protected List<VpnTrafficRule> trafficRules
-
trafficRulesNextLink
protected String trafficRulesNextLink
-
trustedNetworkDomainsNextLink
protected String trustedNetworkDomainsNextLink
-
windowsInformationProtectionDomain
protected String windowsInformationProtectionDomain
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classWindowsVpnConfiguration
-
builderWindows10VpnConfiguration
public static Windows10VpnConfiguration.Builder builderWindows10VpnConfiguration()
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
-
getAssociatedApps
public com.github.davidmoten.odata.client.CollectionPage<Windows10AssociatedApps> getAssociatedApps()
“Associated Apps. This collection can contain a maximum of 10000 elements.”- Returns:
- property associatedApps
-
withAssociatedApps
public Windows10VpnConfiguration withAssociatedApps(List<Windows10AssociatedApps> associatedApps)
Returns an immutable copy ofthiswith just theassociatedAppsfield 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.“Associated Apps. This collection can contain a maximum of 10000 elements.”
- Parameters:
associatedApps- new value ofassociatedAppsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theassociatedAppsfield changed
-
getAssociatedApps
public com.github.davidmoten.odata.client.CollectionPage<Windows10AssociatedApps> getAssociatedApps(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Associated Apps. This collection can contain a maximum of 10000 elements.”- Parameters:
options- specify connect and read timeouts- Returns:
- property associatedApps
-
getAuthenticationMethod
public Optional<Windows10VpnAuthenticationMethod> getAuthenticationMethod()
“Authentication method.”- Returns:
- property authenticationMethod
-
withAuthenticationMethod
public Windows10VpnConfiguration withAuthenticationMethod(Windows10VpnAuthenticationMethod authenticationMethod)
Returns an immutable copy ofthiswith just theauthenticationMethodfield 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.“Authentication method.”
- Parameters:
authenticationMethod- new value ofauthenticationMethodfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theauthenticationMethodfield changed
-
getConnectionType
public Optional<Windows10VpnConnectionType> getConnectionType()
“Connection type.”- Returns:
- property connectionType
-
withConnectionType
public Windows10VpnConfiguration withConnectionType(Windows10VpnConnectionType 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
-
getCryptographySuite
public Optional<CryptographySuite> getCryptographySuite()
“Cryptography Suite security settings for IKEv2 VPN in Windows10 and above”- Returns:
- property cryptographySuite
-
withCryptographySuite
public Windows10VpnConfiguration withCryptographySuite(CryptographySuite cryptographySuite)
Returns an immutable copy ofthiswith just thecryptographySuitefield 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.“Cryptography Suite security settings for IKEv2 VPN in Windows10 and above”
- Parameters:
cryptographySuite- new value ofcryptographySuitefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecryptographySuitefield changed
-
getDnsRules
public com.github.davidmoten.odata.client.CollectionPage<VpnDnsRule> getDnsRules()
“DNS rules. This collection can contain a maximum of 1000 elements.”- Returns:
- property dnsRules
-
withDnsRules
public Windows10VpnConfiguration withDnsRules(List<VpnDnsRule> dnsRules)
Returns an immutable copy ofthiswith just thednsRulesfield 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.“DNS rules. This collection can contain a maximum of 1000 elements.”
- Parameters:
dnsRules- new value ofdnsRulesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thednsRulesfield changed
-
getDnsRules
public com.github.davidmoten.odata.client.CollectionPage<VpnDnsRule> getDnsRules(com.github.davidmoten.odata.client.HttpRequestOptions options)
“DNS rules. This collection can contain a maximum of 1000 elements.”- Parameters:
options- specify connect and read timeouts- Returns:
- property dnsRules
-
getDnsSuffixes
public com.github.davidmoten.odata.client.CollectionPage<String> getDnsSuffixes()
“Specify DNS suffixes to add to the DNS search list to properly route short names .”- Returns:
- property dnsSuffixes
-
withDnsSuffixes
public Windows10VpnConfiguration withDnsSuffixes(List<String> dnsSuffixes)
Returns an immutable copy ofthiswith just thednsSuffixesfield 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.“Specify DNS suffixes to add to the DNS search list to properly route short names .”
- Parameters:
dnsSuffixes- new value ofdnsSuffixesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thednsSuffixesfield changed
-
getDnsSuffixes
public com.github.davidmoten.odata.client.CollectionPage<String> getDnsSuffixes(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Specify DNS suffixes to add to the DNS search list to properly route short names .”- Parameters:
options- specify connect and read timeouts- Returns:
- property dnsSuffixes
-
getEapXml
public Optional<byte[]> getEapXml()
“Extensible Authentication Protocol (EAP) XML. (UTF8 encoded byte array)”- Returns:
- property eapXml
-
withEapXml
public Windows10VpnConfiguration withEapXml(byte[] eapXml)
Returns an immutable copy ofthiswith just theeapXmlfield 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.“Extensible Authentication Protocol (EAP) XML. (UTF8 encoded byte array)”
- Parameters:
eapXml- new value ofeapXmlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theeapXmlfield changed
-
getEnableAlwaysOn
public Optional<Boolean> getEnableAlwaysOn()
“Enable Always On mode.”- Returns:
- property enableAlwaysOn
-
withEnableAlwaysOn
public Windows10VpnConfiguration withEnableAlwaysOn(Boolean enableAlwaysOn)
Returns an immutable copy ofthiswith just theenableAlwaysOnfield 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 Always On mode.”
- Parameters:
enableAlwaysOn- new value ofenableAlwaysOnfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenableAlwaysOnfield changed
-
getEnableConditionalAccess
public Optional<Boolean> getEnableConditionalAccess()
“Enable conditional access.”- Returns:
- property enableConditionalAccess
-
withEnableConditionalAccess
public Windows10VpnConfiguration withEnableConditionalAccess(Boolean enableConditionalAccess)
Returns an immutable copy ofthiswith just theenableConditionalAccessfield 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 conditional access.”
- Parameters:
enableConditionalAccess- new value ofenableConditionalAccessfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenableConditionalAccessfield changed
-
getEnableDeviceTunnel
public Optional<Boolean> getEnableDeviceTunnel()
“Enable device tunnel.”- Returns:
- property enableDeviceTunnel
-
withEnableDeviceTunnel
public Windows10VpnConfiguration withEnableDeviceTunnel(Boolean enableDeviceTunnel)
Returns an immutable copy ofthiswith just theenableDeviceTunnelfield 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 device tunnel.”
- Parameters:
enableDeviceTunnel- new value ofenableDeviceTunnelfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenableDeviceTunnelfield changed
-
getEnableDnsRegistration
public Optional<Boolean> getEnableDnsRegistration()
“Enable IP address registration with internal DNS.”- Returns:
- property enableDnsRegistration
-
withEnableDnsRegistration
public Windows10VpnConfiguration withEnableDnsRegistration(Boolean enableDnsRegistration)
Returns an immutable copy ofthiswith just theenableDnsRegistrationfield 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 IP address registration with internal DNS.”
- Parameters:
enableDnsRegistration- new value ofenableDnsRegistrationfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenableDnsRegistrationfield changed
-
getEnableSingleSignOnWithAlternateCertificate
public Optional<Boolean> getEnableSingleSignOnWithAlternateCertificate()
“Enable single sign-on (SSO) with alternate certificate.”- Returns:
- property enableSingleSignOnWithAlternateCertificate
-
withEnableSingleSignOnWithAlternateCertificate
public Windows10VpnConfiguration withEnableSingleSignOnWithAlternateCertificate(Boolean enableSingleSignOnWithAlternateCertificate)
Returns an immutable copy ofthiswith just theenableSingleSignOnWithAlternateCertificatefield 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 single sign-on (SSO) with alternate certificate.”
- Parameters:
enableSingleSignOnWithAlternateCertificate- new value ofenableSingleSignOnWithAlternateCertificatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenableSingleSignOnWithAlternateCertificatefield changed
-
getEnableSplitTunneling
public Optional<Boolean> getEnableSplitTunneling()
“Enable split tunneling.”- Returns:
- property enableSplitTunneling
-
withEnableSplitTunneling
public Windows10VpnConfiguration 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.”
- Parameters:
enableSplitTunneling- new value ofenableSplitTunnelingfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenableSplitTunnelingfield changed
-
getMicrosoftTunnelSiteId
public Optional<String> getMicrosoftTunnelSiteId()
“ID of the Microsoft Tunnel site associated with the VPN profile.”- Returns:
- property microsoftTunnelSiteId
-
withMicrosoftTunnelSiteId
public Windows10VpnConfiguration withMicrosoftTunnelSiteId(String microsoftTunnelSiteId)
Returns an immutable copy ofthiswith just themicrosoftTunnelSiteIdfield 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.“ID of the Microsoft Tunnel site associated with the VPN profile.”
- Parameters:
microsoftTunnelSiteId- new value ofmicrosoftTunnelSiteIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themicrosoftTunnelSiteIdfield changed
-
getOnlyAssociatedAppsCanUseConnection
public Optional<Boolean> getOnlyAssociatedAppsCanUseConnection()
“Only associated Apps can use connection (per-app VPN).”- Returns:
- property onlyAssociatedAppsCanUseConnection
-
withOnlyAssociatedAppsCanUseConnection
public Windows10VpnConfiguration withOnlyAssociatedAppsCanUseConnection(Boolean onlyAssociatedAppsCanUseConnection)
Returns an immutable copy ofthiswith just theonlyAssociatedAppsCanUseConnectionfield 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.“Only associated Apps can use connection (per-app VPN).”
- Parameters:
onlyAssociatedAppsCanUseConnection- new value ofonlyAssociatedAppsCanUseConnectionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theonlyAssociatedAppsCanUseConnectionfield changed
-
getProfileTarget
public Optional<Windows10VpnProfileTarget> getProfileTarget()
“Profile target type.”- Returns:
- property profileTarget
-
withProfileTarget
public Windows10VpnConfiguration withProfileTarget(Windows10VpnProfileTarget profileTarget)
Returns an immutable copy ofthiswith just theprofileTargetfield 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.“Profile target type.”
- Parameters:
profileTarget- new value ofprofileTargetfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theprofileTargetfield changed
-
getProxyServer
public Optional<Windows10VpnProxyServer> getProxyServer()
“Proxy Server.”- Returns:
- property proxyServer
-
withProxyServer
public Windows10VpnConfiguration withProxyServer(Windows10VpnProxyServer 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
-
getRememberUserCredentials
public Optional<Boolean> getRememberUserCredentials()
“Remember user credentials.”- Returns:
- property rememberUserCredentials
-
withRememberUserCredentials
public Windows10VpnConfiguration withRememberUserCredentials(Boolean rememberUserCredentials)
Returns an immutable copy ofthiswith just therememberUserCredentialsfield 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.“Remember user credentials.”
- Parameters:
rememberUserCredentials- new value ofrememberUserCredentialsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therememberUserCredentialsfield changed
-
getRoutes
public com.github.davidmoten.odata.client.CollectionPage<VpnRoute> getRoutes()
“Routes (optional for third-party providers). This collection can contain a maximum of 1000 elements.”- Returns:
- property routes
-
withRoutes
public Windows10VpnConfiguration withRoutes(List<VpnRoute> routes)
Returns an immutable copy ofthiswith just theroutesfield 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.“Routes (optional for third-party providers). This collection can contain a maximum of 1000 elements.”
- Parameters:
routes- new value ofroutesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theroutesfield changed
-
getRoutes
public com.github.davidmoten.odata.client.CollectionPage<VpnRoute> getRoutes(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Routes (optional for third-party providers). This collection can contain a maximum of 1000 elements.”- Parameters:
options- specify connect and read timeouts- Returns:
- property routes
-
getSingleSignOnEku
public Optional<ExtendedKeyUsage> getSingleSignOnEku()
“Single sign-on Extended Key Usage (EKU).”- Returns:
- property singleSignOnEku
-
withSingleSignOnEku
public Windows10VpnConfiguration withSingleSignOnEku(ExtendedKeyUsage singleSignOnEku)
Returns an immutable copy ofthiswith just thesingleSignOnEkufield 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.“Single sign-on Extended Key Usage (EKU).”
- Parameters:
singleSignOnEku- new value ofsingleSignOnEkufield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesingleSignOnEkufield changed
-
getSingleSignOnIssuerHash
public Optional<String> getSingleSignOnIssuerHash()
“Single sign-on issuer hash.”- Returns:
- property singleSignOnIssuerHash
-
withSingleSignOnIssuerHash
public Windows10VpnConfiguration withSingleSignOnIssuerHash(String singleSignOnIssuerHash)
Returns an immutable copy ofthiswith just thesingleSignOnIssuerHashfield 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.“Single sign-on issuer hash.”
- Parameters:
singleSignOnIssuerHash- new value ofsingleSignOnIssuerHashfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesingleSignOnIssuerHashfield changed
-
getTrafficRules
public com.github.davidmoten.odata.client.CollectionPage<VpnTrafficRule> getTrafficRules()
“Traffic rules. This collection can contain a maximum of 1000 elements.”- Returns:
- property trafficRules
-
withTrafficRules
public Windows10VpnConfiguration withTrafficRules(List<VpnTrafficRule> trafficRules)
Returns an immutable copy ofthiswith just thetrafficRulesfield 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.“Traffic rules. This collection can contain a maximum of 1000 elements.”
- Parameters:
trafficRules- new value oftrafficRulesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetrafficRulesfield changed
-
getTrafficRules
public com.github.davidmoten.odata.client.CollectionPage<VpnTrafficRule> getTrafficRules(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Traffic rules. This collection can contain a maximum of 1000 elements.”- Parameters:
options- specify connect and read timeouts- Returns:
- property trafficRules
-
getTrustedNetworkDomains
public com.github.davidmoten.odata.client.CollectionPage<String> getTrustedNetworkDomains()
“Trusted Network Domains”- Returns:
- property trustedNetworkDomains
-
withTrustedNetworkDomains
public Windows10VpnConfiguration withTrustedNetworkDomains(List<String> trustedNetworkDomains)
Returns an immutable copy ofthiswith just thetrustedNetworkDomainsfield 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.“Trusted Network Domains”
- Parameters:
trustedNetworkDomains- new value oftrustedNetworkDomainsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetrustedNetworkDomainsfield changed
-
getTrustedNetworkDomains
public com.github.davidmoten.odata.client.CollectionPage<String> getTrustedNetworkDomains(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Trusted Network Domains”- Parameters:
options- specify connect and read timeouts- Returns:
- property trustedNetworkDomains
-
getWindowsInformationProtectionDomain
public Optional<String> getWindowsInformationProtectionDomain()
“Windows Information Protection (WIP) domain to associate with this connection.”- Returns:
- property windowsInformationProtectionDomain
-
withWindowsInformationProtectionDomain
public Windows10VpnConfiguration withWindowsInformationProtectionDomain(String windowsInformationProtectionDomain)
Returns an immutable copy ofthiswith just thewindowsInformationProtectionDomainfield 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.“Windows Information Protection (WIP) domain to associate with this connection.”
- Parameters:
windowsInformationProtectionDomain- new value ofwindowsInformationProtectionDomainfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewindowsInformationProtectionDomainfield changed
-
withUnmappedField
public Windows10VpnConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classWindowsVpnConfiguration
-
getIdentityCertificate
public WindowsCertificateProfileBaseRequest getIdentityCertificate()
“Identity certificate for client authentication when authentication method is certificate.”- Returns:
- navigational property identityCertificate
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classWindowsVpnConfiguration
-
patch
public Windows10VpnConfiguration 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 Windows10VpnConfiguration 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
-
-