public class AndroidDeviceOwnerVpnConfiguration extends VpnConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
AndroidDeviceOwnerVpnConfiguration.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
alwaysOn |
protected Boolean |
alwaysOnLockdown |
protected AndroidVpnConnectionType |
connectionType |
protected VpnProxyServer |
proxyServer |
protected List<String> |
targetedPackageIds |
protected String |
targetedPackageIdsNextLink |
authenticationMethod, connectionName, realm, role, servers, serversNextLinkcreatedDateTime, description, deviceManagementApplicabilityRuleDeviceMode, deviceManagementApplicabilityRuleOsEdition, deviceManagementApplicabilityRuleOsVersion, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, supportsScopeTags, versionchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
AndroidDeviceOwnerVpnConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static AndroidDeviceOwnerVpnConfiguration.Builder |
builderAndroidDeviceOwnerVpnConfiguration()
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.ChangedFields |
getChangedFields() |
Optional<AndroidVpnConnectionType> |
getConnectionType()
“Connection type.”
|
DeviceManagementDerivedCredentialSettingsRequest |
getDerivedCredentialSettings()
“Tenant level settings for the Derived Credentials to be used for authentication.”
|
AndroidDeviceOwnerCertificateProfileBaseRequest |
getIdentityCertificate()
“Identity certificate for client authentication when authentication method is
certificate.”
|
Optional<VpnProxyServer> |
getProxyServer()
“Proxy server.”
|
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.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
AndroidDeviceOwnerVpnConfiguration |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
AndroidDeviceOwnerVpnConfiguration |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
AndroidDeviceOwnerVpnConfiguration |
withAlwaysOn(Boolean alwaysOn)
Returns an immutable copy of
this with just the alwaysOn field
changed. |
AndroidDeviceOwnerVpnConfiguration |
withAlwaysOnLockdown(Boolean alwaysOnLockdown)
Returns an immutable copy of
this with just the alwaysOnLockdown
field changed. |
AndroidDeviceOwnerVpnConfiguration |
withConnectionType(AndroidVpnConnectionType connectionType)
Returns an immutable copy of
this with just the connectionType
field changed. |
AndroidDeviceOwnerVpnConfiguration |
withProxyServer(VpnProxyServer proxyServer)
Returns an immutable copy of
this with just the proxyServer
field changed. |
getAuthenticationMethod, getConnectionName, getRealm, getRole, getServers, getServers, withAuthenticationMethod, withConnectionName, withRealm, withRoleassign, assignedAccessMultiModeProfiles, getAssignments, getCreatedDateTime, getDescription, getDeviceManagementApplicabilityRuleDeviceMode, getDeviceManagementApplicabilityRuleOsEdition, getDeviceManagementApplicabilityRuleOsVersion, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getGroupAssignments, getLastModifiedDateTime, getRoleScopeTagIds, getRoleScopeTagIds, getSupportsScopeTags, getUserStatuses, getUserStatusOverview, getVersion, windowsPrivacyAccessControls, withCreatedDateTime, withDescription, withDeviceManagementApplicabilityRuleDeviceMode, withDeviceManagementApplicabilityRuleOsEdition, withDeviceManagementApplicabilityRuleOsVersion, withDisplayName, withLastModifiedDateTime, withSupportsScopeTags, withVersionprotected AndroidVpnConnectionType connectionType
protected VpnProxyServer proxyServer
protected String targetedPackageIdsNextLink
protected Boolean alwaysOn
protected Boolean alwaysOnLockdown
protected AndroidDeviceOwnerVpnConfiguration()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class VpnConfigurationpublic static AndroidDeviceOwnerVpnConfiguration.Builder builderAndroidDeviceOwnerVpnConfiguration()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class VpnConfigurationpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class VpnConfigurationpublic Optional<AndroidVpnConnectionType> getConnectionType()
public AndroidDeviceOwnerVpnConfiguration withConnectionType(AndroidVpnConnectionType connectionType)
this with just the connectionType
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.
“Connection type.”
connectionType - new value of connectionType field (as defined in service metadata)this with just the connectionType field changedpublic Optional<VpnProxyServer> getProxyServer()
public AndroidDeviceOwnerVpnConfiguration withProxyServer(VpnProxyServer proxyServer)
this with just the proxyServer
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.
“Proxy server.”
proxyServer - new value of proxyServer field (as defined in service metadata)this with just the proxyServer field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getTargetedPackageIds()
public com.github.davidmoten.odata.client.CollectionPage<String> getTargetedPackageIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
public Optional<Boolean> getAlwaysOn()
public AndroidDeviceOwnerVpnConfiguration withAlwaysOn(Boolean alwaysOn)
this with just the alwaysOn 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.
“Whether or not to enable always-on VPN connection.”
alwaysOn - new value of alwaysOn field (as defined in service metadata)this with just the alwaysOn field changedpublic Optional<Boolean> getAlwaysOnLockdown()
public AndroidDeviceOwnerVpnConfiguration withAlwaysOnLockdown(Boolean alwaysOnLockdown)
this with just the alwaysOnLockdown
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.
“If always-on VPN connection is enabled, whether or not to lock network traffic when that VPN is disconnected.”
alwaysOnLockdown - new value of alwaysOnLockdown field (as defined in service metadata)this with just the alwaysOnLockdown field changedpublic AndroidDeviceOwnerCertificateProfileBaseRequest getIdentityCertificate()
public DeviceManagementDerivedCredentialSettingsRequest getDerivedCredentialSettings()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class VpnConfigurationpublic AndroidDeviceOwnerVpnConfiguration patch()
this with changed fields reset.patch in class VpnConfigurationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic AndroidDeviceOwnerVpnConfiguration put()
this
with changed fields reset (they were ignored anyway).put in class VpnConfigurationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class VpnConfigurationCopyright © 2018–2020. All rights reserved.