public class AndroidWorkProfileVpnConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
AndroidWorkProfileVpnConfiguration.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
alwaysOn |
protected Boolean |
alwaysOnLockdown |
protected VpnAuthenticationMethod |
authenticationMethod |
protected String |
connectionName |
protected AndroidWorkProfileVpnConnectionType |
connectionType |
protected List<KeyValue> |
customData |
protected String |
customDataNextLink |
protected List<KeyValuePair> |
customKeyValueData |
protected String |
customKeyValueDataNextLink |
protected String |
fingerprint |
protected VpnProxyServer |
proxyServer |
protected String |
realm |
protected String |
role |
protected List<VpnServer> |
servers |
protected String |
serversNextLink |
protected List<String> |
targetedPackageIds |
protected String |
targetedPackageIdsNextLink |
createdDateTime, description, deviceManagementApplicabilityRuleDeviceMode, deviceManagementApplicabilityRuleOsEdition, deviceManagementApplicabilityRuleOsVersion, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, supportsScopeTags, versionchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
AndroidWorkProfileVpnConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static AndroidWorkProfileVpnConfiguration.Builder |
builderAndroidWorkProfileVpnConfiguration()
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.”
|
Optional<VpnAuthenticationMethod> |
getAuthenticationMethod()
“Authentication method.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getConnectionName()
“Connection name displayed to the user.”
|
Optional<AndroidWorkProfileVpnConnectionType> |
getConnectionType()
“Connection type.”
|
com.github.davidmoten.odata.client.CollectionPage<KeyValue> |
getCustomData()
“Custom data when connection type is set to Citrix.
|
com.github.davidmoten.odata.client.CollectionPage<KeyValue> |
getCustomData(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Custom data when connection type is set to Citrix.
|
com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> |
getCustomKeyValueData()
“Custom data when connection type is set to Citrix.
|
com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> |
getCustomKeyValueData(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Custom data when connection type is set to Citrix.
|
Optional<String> |
getFingerprint()
“Fingerprint is a string that will be used to verify the VPN server can be
trusted, which is only applicable when connection type is Check Point Capsule
VPN.”
|
AndroidWorkProfileCertificateProfileBaseRequest |
getIdentityCertificate()
“Identity certificate for client authentication when authentication method is
certificate.”
|
Optional<VpnProxyServer> |
getProxyServer()
“Proxy server.”
|
Optional<String> |
getRealm()
“Realm when connection type is set to Pulse Secure.”
|
Optional<String> |
getRole()
“Role when connection type is set to Pulse Secure.”
|
com.github.davidmoten.odata.client.CollectionPage<VpnServer> |
getServers()
“List of VPN Servers on the network.
|
com.github.davidmoten.odata.client.CollectionPage<VpnServer> |
getServers(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of VPN Servers on the network.
|
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() |
AndroidWorkProfileVpnConfiguration |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
AndroidWorkProfileVpnConfiguration |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
AndroidWorkProfileVpnConfiguration |
withAlwaysOn(Boolean alwaysOn)
Returns an immutable copy of
this with just the alwaysOn field
changed. |
AndroidWorkProfileVpnConfiguration |
withAlwaysOnLockdown(Boolean alwaysOnLockdown)
Returns an immutable copy of
this with just the alwaysOnLockdown
field changed. |
AndroidWorkProfileVpnConfiguration |
withAuthenticationMethod(VpnAuthenticationMethod authenticationMethod)
Returns an immutable copy of
this with just the authenticationMethod field changed. |
AndroidWorkProfileVpnConfiguration |
withConnectionName(String connectionName)
Returns an immutable copy of
this with just the connectionName
field changed. |
AndroidWorkProfileVpnConfiguration |
withConnectionType(AndroidWorkProfileVpnConnectionType connectionType)
Returns an immutable copy of
this with just the connectionType
field changed. |
AndroidWorkProfileVpnConfiguration |
withFingerprint(String fingerprint)
Returns an immutable copy of
this with just the fingerprint
field changed. |
AndroidWorkProfileVpnConfiguration |
withProxyServer(VpnProxyServer proxyServer)
Returns an immutable copy of
this with just the proxyServer
field changed. |
AndroidWorkProfileVpnConfiguration |
withRealm(String realm)
Returns an immutable copy of
this with just the realm field
changed. |
AndroidWorkProfileVpnConfiguration |
withRole(String role)
Returns an immutable copy of
this with just the role field
changed. |
assign, 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 String connectionName
protected AndroidWorkProfileVpnConnectionType connectionType
protected String role
protected String realm
protected String serversNextLink
protected String fingerprint
protected String customDataNextLink
protected List<KeyValuePair> customKeyValueData
protected String customKeyValueDataNextLink
protected VpnAuthenticationMethod authenticationMethod
protected VpnProxyServer proxyServer
protected String targetedPackageIdsNextLink
protected Boolean alwaysOn
protected Boolean alwaysOnLockdown
protected AndroidWorkProfileVpnConfiguration()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceConfigurationpublic static AndroidWorkProfileVpnConfiguration.Builder builderAndroidWorkProfileVpnConfiguration()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class DeviceConfigurationpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DeviceConfigurationpublic Optional<String> getConnectionName()
public AndroidWorkProfileVpnConfiguration withConnectionName(String connectionName)
this with just the connectionName
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 name displayed to the user.”
connectionName - new value of connectionName field (as defined in service metadata)this with just the connectionName field changedpublic Optional<AndroidWorkProfileVpnConnectionType> getConnectionType()
public AndroidWorkProfileVpnConfiguration withConnectionType(AndroidWorkProfileVpnConnectionType 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<String> getRole()
public AndroidWorkProfileVpnConfiguration withRole(String role)
this with just the role 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.
“Role when connection type is set to Pulse Secure.”
role - new value of role field (as defined in service metadata)this with just the role field changedpublic Optional<String> getRealm()
public AndroidWorkProfileVpnConfiguration withRealm(String realm)
this with just the realm 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.
“Realm when connection type is set to Pulse Secure.”
realm - new value of realm field (as defined in service metadata)this with just the realm field changedpublic com.github.davidmoten.odata.client.CollectionPage<VpnServer> getServers()
public com.github.davidmoten.odata.client.CollectionPage<VpnServer> getServers(com.github.davidmoten.odata.client.HttpRequestOptions options)
public Optional<String> getFingerprint()
public AndroidWorkProfileVpnConfiguration withFingerprint(String fingerprint)
this with just the fingerprint
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.
“Fingerprint is a string that will be used to verify the VPN server can be trusted, which is only applicable when connection type is Check Point Capsule VPN.”
fingerprint - new value of fingerprint field (as defined in service metadata)this with just the fingerprint field changedpublic com.github.davidmoten.odata.client.CollectionPage<KeyValue> getCustomData()
public com.github.davidmoten.odata.client.CollectionPage<KeyValue> getCustomData(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getCustomKeyValueData()
public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getCustomKeyValueData(com.github.davidmoten.odata.client.HttpRequestOptions options)
public Optional<VpnAuthenticationMethod> getAuthenticationMethod()
public AndroidWorkProfileVpnConfiguration withAuthenticationMethod(VpnAuthenticationMethod authenticationMethod)
this with just the authenticationMethod 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.
“Authentication method.”
authenticationMethod - new value of authenticationMethod field (as defined in service metadata)this with just the authenticationMethod field changedpublic Optional<VpnProxyServer> getProxyServer()
public AndroidWorkProfileVpnConfiguration 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 AndroidWorkProfileVpnConfiguration 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 AndroidWorkProfileVpnConfiguration 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 AndroidWorkProfileCertificateProfileBaseRequest getIdentityCertificate()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceConfigurationpublic AndroidWorkProfileVpnConfiguration patch()
this with changed fields reset.patch in class DeviceConfigurationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic AndroidWorkProfileVpnConfiguration put()
this
with changed fields reset (they were ignored anyway).put in class DeviceConfigurationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class DeviceConfigurationCopyright © 2018–2020. All rights reserved.