Package odata.msgraph.client.beta.entity
Class AndroidDeviceOwnerVpnConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.VpnConfiguration
-
- odata.msgraph.client.beta.entity.AndroidDeviceOwnerVpnConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AndroidDeviceOwnerVpnConfiguration extends VpnConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“By providing the configurations in this profile you can instruct the Android Fully Managed device 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 classAndroidDeviceOwnerVpnConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanalwaysOnprotected BooleanalwaysOnLockdownprotected AndroidVpnConnectionTypeconnectionTypeprotected List<KeyValue>customDataprotected StringcustomDataNextLinkprotected List<KeyValuePair>customKeyValueDataprotected StringcustomKeyValueDataNextLinkprotected StringmicrosoftTunnelSiteIdprotected VpnProxyServerproxyServerprotected List<AppListItem>targetedMobileAppsprotected StringtargetedMobileAppsNextLinkprotected List<String>targetedPackageIdsprotected StringtargetedPackageIdsNextLink-
Fields inherited from class odata.msgraph.client.beta.entity.VpnConfiguration
authenticationMethod, connectionName, realm, role, 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 protectedAndroidDeviceOwnerVpnConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AndroidDeviceOwnerVpnConfiguration.BuilderbuilderAndroidDeviceOwnerVpnConfiguration()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getAlwaysOn()“Whether or not to enable always-on VPN connection.”Optional<Boolean>getAlwaysOnLockdown()“If always-on VPN connection is enabled, whether or not to lock network traffic when that VPN is disconnected.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<AndroidVpnConnectionType>getConnectionType()“Connection type.”com.github.davidmoten.odata.client.CollectionPage<KeyValue>getCustomData()“Custom data to define key/value pairs specific to a VPN provider.com.github.davidmoten.odata.client.CollectionPage<KeyValue>getCustomData(com.github.davidmoten.odata.client.HttpRequestOptions options)“Custom data to define key/value pairs specific to a VPN provider.com.github.davidmoten.odata.client.CollectionPage<KeyValuePair>getCustomKeyValueData()“Custom data to define key/value pairs specific to a VPN provider.com.github.davidmoten.odata.client.CollectionPage<KeyValuePair>getCustomKeyValueData(com.github.davidmoten.odata.client.HttpRequestOptions options)“Custom data to define key/value pairs specific to a VPN provider.DeviceManagementDerivedCredentialSettingsRequestgetDerivedCredentialSettings()“Tenant level settings for the Derived Credentials to be used for authentication.”AndroidDeviceOwnerCertificateProfileBaseRequestgetIdentityCertificate()“Identity certificate for client authentication when authentication method is certificate.”Optional<String>getMicrosoftTunnelSiteId()“Microsoft Tunnel site ID.”Optional<VpnProxyServer>getProxyServer()“Proxy server.”com.github.davidmoten.odata.client.CollectionPage<AppListItem>getTargetedMobileApps()“Targeted mobile apps.com.github.davidmoten.odata.client.CollectionPage<AppListItem>getTargetedMobileApps(com.github.davidmoten.odata.client.HttpRequestOptions options)“Targeted mobile apps.com.github.davidmoten.odata.client.CollectionPage<String>getTargetedPackageIds()“Targeted App package IDs.”com.github.davidmoten.odata.client.CollectionPage<String>getTargetedPackageIds(com.github.davidmoten.odata.client.HttpRequestOptions options)“Targeted App package IDs.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()AndroidDeviceOwnerVpnConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AndroidDeviceOwnerVpnConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AndroidDeviceOwnerVpnConfigurationwithAlwaysOn(Boolean alwaysOn)Returns an immutable copy ofthiswith just thealwaysOnfield changed.AndroidDeviceOwnerVpnConfigurationwithAlwaysOnLockdown(Boolean alwaysOnLockdown)Returns an immutable copy ofthiswith just thealwaysOnLockdownfield changed.AndroidDeviceOwnerVpnConfigurationwithConnectionType(AndroidVpnConnectionType connectionType)Returns an immutable copy ofthiswith just theconnectionTypefield changed.AndroidDeviceOwnerVpnConfigurationwithCustomData(List<KeyValue> customData)Returns an immutable copy ofthiswith just thecustomDatafield changed.AndroidDeviceOwnerVpnConfigurationwithCustomKeyValueData(List<KeyValuePair> customKeyValueData)Returns an immutable copy ofthiswith just thecustomKeyValueDatafield changed.AndroidDeviceOwnerVpnConfigurationwithMicrosoftTunnelSiteId(String microsoftTunnelSiteId)Returns an immutable copy ofthiswith just themicrosoftTunnelSiteIdfield changed.AndroidDeviceOwnerVpnConfigurationwithProxyServer(VpnProxyServer proxyServer)Returns an immutable copy ofthiswith just theproxyServerfield changed.AndroidDeviceOwnerVpnConfigurationwithTargetedMobileApps(List<AppListItem> targetedMobileApps)Returns an immutable copy ofthiswith just thetargetedMobileAppsfield changed.AndroidDeviceOwnerVpnConfigurationwithTargetedPackageIds(List<String> targetedPackageIds)Returns an immutable copy ofthiswith just thetargetedPackageIdsfield changed.AndroidDeviceOwnerVpnConfigurationwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.VpnConfiguration
getAuthenticationMethod, getConnectionName, getRealm, getRole, getServers, getServers, withAuthenticationMethod, withConnectionName, withRealm, withRole, 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
-
alwaysOn
protected Boolean alwaysOn
-
alwaysOnLockdown
protected Boolean alwaysOnLockdown
-
connectionType
protected AndroidVpnConnectionType connectionType
-
customDataNextLink
protected String customDataNextLink
-
customKeyValueData
protected List<KeyValuePair> customKeyValueData
-
customKeyValueDataNextLink
protected String customKeyValueDataNextLink
-
microsoftTunnelSiteId
protected String microsoftTunnelSiteId
-
proxyServer
protected VpnProxyServer proxyServer
-
targetedMobileApps
protected List<AppListItem> targetedMobileApps
-
targetedMobileAppsNextLink
protected String targetedMobileAppsNextLink
-
targetedPackageIdsNextLink
protected String targetedPackageIdsNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classVpnConfiguration
-
builderAndroidDeviceOwnerVpnConfiguration
public static AndroidDeviceOwnerVpnConfiguration.Builder builderAndroidDeviceOwnerVpnConfiguration()
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 classVpnConfiguration
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classVpnConfiguration
-
getAlwaysOn
public Optional<Boolean> getAlwaysOn()
“Whether or not to enable always-on VPN connection.”- Returns:
- property alwaysOn
-
withAlwaysOn
public AndroidDeviceOwnerVpnConfiguration withAlwaysOn(Boolean alwaysOn)
Returns an immutable copy ofthiswith just thealwaysOnfield 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.“Whether or not to enable always-on VPN connection.”
- Parameters:
alwaysOn- new value ofalwaysOnfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thealwaysOnfield changed
-
getAlwaysOnLockdown
public Optional<Boolean> getAlwaysOnLockdown()
“If always-on VPN connection is enabled, whether or not to lock network traffic when that VPN is disconnected.”- Returns:
- property alwaysOnLockdown
-
withAlwaysOnLockdown
public AndroidDeviceOwnerVpnConfiguration withAlwaysOnLockdown(Boolean alwaysOnLockdown)
Returns an immutable copy ofthiswith just thealwaysOnLockdownfield 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.“If always-on VPN connection is enabled, whether or not to lock network traffic when that VPN is disconnected.”
- Parameters:
alwaysOnLockdown- new value ofalwaysOnLockdownfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thealwaysOnLockdownfield changed
-
getConnectionType
public Optional<AndroidVpnConnectionType> getConnectionType()
“Connection type.”- Returns:
- property connectionType
-
withConnectionType
public AndroidDeviceOwnerVpnConfiguration withConnectionType(AndroidVpnConnectionType 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
-
getCustomData
public com.github.davidmoten.odata.client.CollectionPage<KeyValue> getCustomData()
“Custom data to define key/value pairs specific to a VPN provider. This collection can contain a maximum of 25 elements.”- Returns:
- property customData
-
withCustomData
public AndroidDeviceOwnerVpnConfiguration withCustomData(List<KeyValue> customData)
Returns an immutable copy ofthiswith just thecustomDatafield 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.“Custom data to define key/value pairs specific to a VPN provider. This collection can contain a maximum of 25 elements.”
- Parameters:
customData- new value ofcustomDatafield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecustomDatafield changed
-
getCustomData
public com.github.davidmoten.odata.client.CollectionPage<KeyValue> getCustomData(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Custom data to define key/value pairs specific to a VPN provider. This collection can contain a maximum of 25 elements.”- Parameters:
options- specify connect and read timeouts- Returns:
- property customData
-
getCustomKeyValueData
public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getCustomKeyValueData()
“Custom data to define key/value pairs specific to a VPN provider. This collection can contain a maximum of 25 elements.”- Returns:
- property customKeyValueData
-
withCustomKeyValueData
public AndroidDeviceOwnerVpnConfiguration withCustomKeyValueData(List<KeyValuePair> customKeyValueData)
Returns an immutable copy ofthiswith just thecustomKeyValueDatafield 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.“Custom data to define key/value pairs specific to a VPN provider. This collection can contain a maximum of 25 elements.”
- Parameters:
customKeyValueData- new value ofcustomKeyValueDatafield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecustomKeyValueDatafield changed
-
getCustomKeyValueData
public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getCustomKeyValueData(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Custom data to define key/value pairs specific to a VPN provider. This collection can contain a maximum of 25 elements.”- Parameters:
options- specify connect and read timeouts- Returns:
- property customKeyValueData
-
getMicrosoftTunnelSiteId
public Optional<String> getMicrosoftTunnelSiteId()
“Microsoft Tunnel site ID.”- Returns:
- property microsoftTunnelSiteId
-
withMicrosoftTunnelSiteId
public AndroidDeviceOwnerVpnConfiguration 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.“Microsoft Tunnel site ID.”
- Parameters:
microsoftTunnelSiteId- new value ofmicrosoftTunnelSiteIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themicrosoftTunnelSiteIdfield changed
-
getProxyServer
public Optional<VpnProxyServer> getProxyServer()
“Proxy server.”- Returns:
- property proxyServer
-
withProxyServer
public AndroidDeviceOwnerVpnConfiguration withProxyServer(VpnProxyServer 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
-
getTargetedMobileApps
public com.github.davidmoten.odata.client.CollectionPage<AppListItem> getTargetedMobileApps()
“Targeted mobile apps. This collection can contain a maximum of 500 elements.”- Returns:
- property targetedMobileApps
-
withTargetedMobileApps
public AndroidDeviceOwnerVpnConfiguration withTargetedMobileApps(List<AppListItem> targetedMobileApps)
Returns an immutable copy ofthiswith just thetargetedMobileAppsfield 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.“Targeted mobile apps. This collection can contain a maximum of 500 elements.”
- Parameters:
targetedMobileApps- new value oftargetedMobileAppsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetargetedMobileAppsfield changed
-
getTargetedMobileApps
public com.github.davidmoten.odata.client.CollectionPage<AppListItem> getTargetedMobileApps(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Targeted mobile apps. This collection can contain a maximum of 500 elements.”- Parameters:
options- specify connect and read timeouts- Returns:
- property targetedMobileApps
-
getTargetedPackageIds
public com.github.davidmoten.odata.client.CollectionPage<String> getTargetedPackageIds()
“Targeted App package IDs.”- Returns:
- property targetedPackageIds
-
withTargetedPackageIds
public AndroidDeviceOwnerVpnConfiguration withTargetedPackageIds(List<String> targetedPackageIds)
Returns an immutable copy ofthiswith just thetargetedPackageIdsfield 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.“Targeted App package IDs.”
- Parameters:
targetedPackageIds- new value oftargetedPackageIdsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetargetedPackageIdsfield changed
-
getTargetedPackageIds
public com.github.davidmoten.odata.client.CollectionPage<String> getTargetedPackageIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Targeted App package IDs.”- Parameters:
options- specify connect and read timeouts- Returns:
- property targetedPackageIds
-
withUnmappedField
public AndroidDeviceOwnerVpnConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classVpnConfiguration
-
getDerivedCredentialSettings
public DeviceManagementDerivedCredentialSettingsRequest getDerivedCredentialSettings()
“Tenant level settings for the Derived Credentials to be used for authentication.”- Returns:
- navigational property derivedCredentialSettings
-
getIdentityCertificate
public AndroidDeviceOwnerCertificateProfileBaseRequest 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 classVpnConfiguration
-
patch
public AndroidDeviceOwnerVpnConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classVpnConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public AndroidDeviceOwnerVpnConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classVpnConfiguration- 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 classVpnConfiguration
-
-