Class AndroidWorkProfileEnterpriseWiFiConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.AndroidWorkProfileWiFiConfiguration
-
- odata.msgraph.client.beta.entity.AndroidWorkProfileEnterpriseWiFiConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AndroidWorkProfileEnterpriseWiFiConfiguration extends AndroidWorkProfileWiFiConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“By providing the configurations in this profile you can instruct the Android Work Profile device to connect to desired Wi-Fi endpoint. By specifying the authentication method and security types expected by Wi-Fi endpoint you can make the Wi-Fi connection seamless for end user.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAndroidWorkProfileEnterpriseWiFiConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected WiFiAuthenticationMethodauthenticationMethodprotected AndroidEapTypeeapTypeprotected NonEapAuthenticationMethodForEapTtlsTypeinnerAuthenticationProtocolForEapTtlsprotected NonEapAuthenticationMethodForPeapinnerAuthenticationProtocolForPeapprotected StringouterIdentityPrivacyTemporaryValueprotected StringproxyAutomaticConfigurationUrlprotected WiFiProxySettingproxySettingsprotected List<String>trustedServerCertificateNamesprotected StringtrustedServerCertificateNamesNextLink-
Fields inherited from class odata.msgraph.client.beta.entity.AndroidWorkProfileWiFiConfiguration
connectAutomatically, connectWhenNetworkNameIsHidden, networkName, ssid, wiFiSecurityType
-
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 protectedAndroidWorkProfileEnterpriseWiFiConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AndroidWorkProfileEnterpriseWiFiConfiguration.BuilderbuilderAndroidWorkProfileEnterpriseWiFiConfiguration()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<WiFiAuthenticationMethod>getAuthenticationMethod()“Indicates the Authentication Method the client (device) needs to use when the EAP Type is configured to PEAP or EAP-TTLS.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<AndroidEapType>getEapType()“Indicates the type of EAP protocol set on the Wi-Fi endpoint (router).”AndroidWorkProfileCertificateProfileBaseRequestgetIdentityCertificateForClientAuthentication()“Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication).Optional<NonEapAuthenticationMethodForEapTtlsType>getInnerAuthenticationProtocolForEapTtls()“Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password.”Optional<NonEapAuthenticationMethodForPeap>getInnerAuthenticationProtocolForPeap()“Non-EAP Method for Authentication (Inner Identity) when EAP Type is PEAP and Authenticationmethod is Username and Password.”Optional<String>getOuterIdentityPrivacyTemporaryValue()“Enable identity privacy (Outer Identity) when EAP Type is configured to EAP-TTLS or PEAP.Optional<String>getProxyAutomaticConfigurationUrl()“URL of the proxy server automatic configuration script when automatic configuration is selected.Optional<WiFiProxySetting>getProxySettings()“Proxy Type for this Wi-Fi connection”AndroidWorkProfileTrustedRootCertificateRequestgetRootCertificateForServerValidation()“Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP.com.github.davidmoten.odata.client.CollectionPage<String>getTrustedServerCertificateNames()“Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/ FAST or PEAP.com.github.davidmoten.odata.client.CollectionPage<String>getTrustedServerCertificateNames(com.github.davidmoten.odata.client.HttpRequestOptions options)“Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/ FAST or PEAP.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()AndroidWorkProfileEnterpriseWiFiConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AndroidWorkProfileEnterpriseWiFiConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AndroidWorkProfileEnterpriseWiFiConfigurationwithAuthenticationMethod(WiFiAuthenticationMethod authenticationMethod)Returns an immutable copy ofthiswith just theauthenticationMethodfield changed.AndroidWorkProfileEnterpriseWiFiConfigurationwithEapType(AndroidEapType eapType)Returns an immutable copy ofthiswith just theeapTypefield changed.AndroidWorkProfileEnterpriseWiFiConfigurationwithInnerAuthenticationProtocolForEapTtls(NonEapAuthenticationMethodForEapTtlsType innerAuthenticationProtocolForEapTtls)Returns an immutable copy ofthiswith just theinnerAuthenticationProtocolForEapTtlsfield changed.AndroidWorkProfileEnterpriseWiFiConfigurationwithInnerAuthenticationProtocolForPeap(NonEapAuthenticationMethodForPeap innerAuthenticationProtocolForPeap)Returns an immutable copy ofthiswith just theinnerAuthenticationProtocolForPeapfield changed.AndroidWorkProfileEnterpriseWiFiConfigurationwithOuterIdentityPrivacyTemporaryValue(String outerIdentityPrivacyTemporaryValue)Returns an immutable copy ofthiswith just theouterIdentityPrivacyTemporaryValuefield changed.AndroidWorkProfileEnterpriseWiFiConfigurationwithProxyAutomaticConfigurationUrl(String proxyAutomaticConfigurationUrl)Returns an immutable copy ofthiswith just theproxyAutomaticConfigurationUrlfield changed.AndroidWorkProfileEnterpriseWiFiConfigurationwithProxySettings(WiFiProxySetting proxySettings)Returns an immutable copy ofthiswith just theproxySettingsfield changed.AndroidWorkProfileEnterpriseWiFiConfigurationwithTrustedServerCertificateNames(List<String> trustedServerCertificateNames)Returns an immutable copy ofthiswith just thetrustedServerCertificateNamesfield changed.AndroidWorkProfileEnterpriseWiFiConfigurationwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.AndroidWorkProfileWiFiConfiguration
builderAndroidWorkProfileWiFiConfiguration, getConnectAutomatically, getConnectWhenNetworkNameIsHidden, getNetworkName, getSsid, getWiFiSecurityType, withConnectAutomatically, withConnectWhenNetworkNameIsHidden, withNetworkName, withSsid, withWiFiSecurityType
-
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
-
authenticationMethod
protected WiFiAuthenticationMethod authenticationMethod
-
eapType
protected AndroidEapType eapType
-
innerAuthenticationProtocolForEapTtls
protected NonEapAuthenticationMethodForEapTtlsType innerAuthenticationProtocolForEapTtls
-
innerAuthenticationProtocolForPeap
protected NonEapAuthenticationMethodForPeap innerAuthenticationProtocolForPeap
-
outerIdentityPrivacyTemporaryValue
protected String outerIdentityPrivacyTemporaryValue
-
proxyAutomaticConfigurationUrl
protected String proxyAutomaticConfigurationUrl
-
proxySettings
protected WiFiProxySetting proxySettings
-
trustedServerCertificateNamesNextLink
protected String trustedServerCertificateNamesNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classAndroidWorkProfileWiFiConfiguration
-
builderAndroidWorkProfileEnterpriseWiFiConfiguration
public static AndroidWorkProfileEnterpriseWiFiConfiguration.Builder builderAndroidWorkProfileEnterpriseWiFiConfiguration()
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 classAndroidWorkProfileWiFiConfiguration
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classAndroidWorkProfileWiFiConfiguration
-
getAuthenticationMethod
public Optional<WiFiAuthenticationMethod> getAuthenticationMethod()
“Indicates the Authentication Method the client (device) needs to use when the EAP Type is configured to PEAP or EAP-TTLS.”- Returns:
- property authenticationMethod
-
withAuthenticationMethod
public AndroidWorkProfileEnterpriseWiFiConfiguration withAuthenticationMethod(WiFiAuthenticationMethod 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.“Indicates the Authentication Method the client (device) needs to use when the EAP Type is configured to PEAP or EAP-TTLS.”
- Parameters:
authenticationMethod- new value ofauthenticationMethodfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theauthenticationMethodfield changed
-
getEapType
public Optional<AndroidEapType> getEapType()
“Indicates the type of EAP protocol set on the Wi-Fi endpoint (router).”- Returns:
- property eapType
-
withEapType
public AndroidWorkProfileEnterpriseWiFiConfiguration withEapType(AndroidEapType eapType)
Returns an immutable copy ofthiswith just theeapTypefield 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.“Indicates the type of EAP protocol set on the Wi-Fi endpoint (router).”
- Parameters:
eapType- new value ofeapTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theeapTypefield changed
-
getInnerAuthenticationProtocolForEapTtls
public Optional<NonEapAuthenticationMethodForEapTtlsType> getInnerAuthenticationProtocolForEapTtls()
“Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password.”- Returns:
- property innerAuthenticationProtocolForEapTtls
-
withInnerAuthenticationProtocolForEapTtls
public AndroidWorkProfileEnterpriseWiFiConfiguration withInnerAuthenticationProtocolForEapTtls(NonEapAuthenticationMethodForEapTtlsType innerAuthenticationProtocolForEapTtls)
Returns an immutable copy ofthiswith just theinnerAuthenticationProtocolForEapTtlsfield 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.“Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password.”
- Parameters:
innerAuthenticationProtocolForEapTtls- new value ofinnerAuthenticationProtocolForEapTtlsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinnerAuthenticationProtocolForEapTtlsfield changed
-
getInnerAuthenticationProtocolForPeap
public Optional<NonEapAuthenticationMethodForPeap> getInnerAuthenticationProtocolForPeap()
“Non-EAP Method for Authentication (Inner Identity) when EAP Type is PEAP and Authenticationmethod is Username and Password.”- Returns:
- property innerAuthenticationProtocolForPeap
-
withInnerAuthenticationProtocolForPeap
public AndroidWorkProfileEnterpriseWiFiConfiguration withInnerAuthenticationProtocolForPeap(NonEapAuthenticationMethodForPeap innerAuthenticationProtocolForPeap)
Returns an immutable copy ofthiswith just theinnerAuthenticationProtocolForPeapfield 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.“Non-EAP Method for Authentication (Inner Identity) when EAP Type is PEAP and Authenticationmethod is Username and Password.”
- Parameters:
innerAuthenticationProtocolForPeap- new value ofinnerAuthenticationProtocolForPeapfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinnerAuthenticationProtocolForPeapfield changed
-
getOuterIdentityPrivacyTemporaryValue
public Optional<String> getOuterIdentityPrivacyTemporaryValue()
“Enable identity privacy (Outer Identity) when EAP Type is configured to EAP-TTLS or PEAP. The String provided here is used to mask the username of individual users when they attempt to connect to Wi-Fi network.”- Returns:
- property outerIdentityPrivacyTemporaryValue
-
withOuterIdentityPrivacyTemporaryValue
public AndroidWorkProfileEnterpriseWiFiConfiguration withOuterIdentityPrivacyTemporaryValue(String outerIdentityPrivacyTemporaryValue)
Returns an immutable copy ofthiswith just theouterIdentityPrivacyTemporaryValuefield 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 identity privacy (Outer Identity) when EAP Type is configured to EAP-TTLS or PEAP. The String provided here is used to mask the username of individual users when they attempt to connect to Wi-Fi network.”
- Parameters:
outerIdentityPrivacyTemporaryValue- new value ofouterIdentityPrivacyTemporaryValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theouterIdentityPrivacyTemporaryValuefield changed
-
getProxyAutomaticConfigurationUrl
public Optional<String> getProxyAutomaticConfigurationUrl()
“URL of the proxy server automatic configuration script when automatic configuration is selected. This URL is typically the location of PAC (Proxy Auto Configuration) file.”- Returns:
- property proxyAutomaticConfigurationUrl
-
withProxyAutomaticConfigurationUrl
public AndroidWorkProfileEnterpriseWiFiConfiguration withProxyAutomaticConfigurationUrl(String proxyAutomaticConfigurationUrl)
Returns an immutable copy ofthiswith just theproxyAutomaticConfigurationUrlfield 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.“URL of the proxy server automatic configuration script when automatic configuration is selected. This URL is typically the location of PAC (Proxy Auto Configuration) file.”
- Parameters:
proxyAutomaticConfigurationUrl- new value ofproxyAutomaticConfigurationUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproxyAutomaticConfigurationUrlfield changed
-
getProxySettings
public Optional<WiFiProxySetting> getProxySettings()
“Proxy Type for this Wi-Fi connection”- Returns:
- property proxySettings
-
withProxySettings
public AndroidWorkProfileEnterpriseWiFiConfiguration withProxySettings(WiFiProxySetting proxySettings)
Returns an immutable copy ofthiswith just theproxySettingsfield 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 Type for this Wi-Fi connection”
- Parameters:
proxySettings- new value ofproxySettingsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproxySettingsfield changed
-
getTrustedServerCertificateNames
public com.github.davidmoten.odata.client.CollectionPage<String> getTrustedServerCertificateNames()
“Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/ FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network.”- Returns:
- property trustedServerCertificateNames
-
withTrustedServerCertificateNames
public AndroidWorkProfileEnterpriseWiFiConfiguration withTrustedServerCertificateNames(List<String> trustedServerCertificateNames)
Returns an immutable copy ofthiswith just thetrustedServerCertificateNamesfield 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 server certificate names when EAP Type is configured to EAP-TLS/TTLS/ FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network.”
- Parameters:
trustedServerCertificateNames- new value oftrustedServerCertificateNamesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetrustedServerCertificateNamesfield changed
-
getTrustedServerCertificateNames
public com.github.davidmoten.odata.client.CollectionPage<String> getTrustedServerCertificateNames(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Trusted server certificate names when EAP Type is configured to EAP-TLS/TTLS/ FAST or PEAP. This is the common name used in the certificates issued by your trusted certificate authority (CA). If you provide this information, you can bypass the dynamic trust dialog that is displayed on end users' devices when they connect to this Wi-Fi network.”- Parameters:
options- specify connect and read timeouts- Returns:
- property trustedServerCertificateNames
-
withUnmappedField
public AndroidWorkProfileEnterpriseWiFiConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classAndroidWorkProfileWiFiConfiguration
-
getIdentityCertificateForClientAuthentication
public AndroidWorkProfileCertificateProfileBaseRequest getIdentityCertificateForClientAuthentication()
“Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication). This is the certificate presented by client to the Wi-Fi endpoint. The authentication server sitting behind the Wi-Fi endpoint must accept this certificate to successfully establish a Wi-Fi connection.”- Returns:
- navigational property identityCertificateForClientAuthentication
-
getRootCertificateForServerValidation
public AndroidWorkProfileTrustedRootCertificateRequest getRootCertificateForServerValidation()
“Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS, EAP-TTLS or PEAP. This is the certificate presented by the Wi-Fi endpoint when the device attempts to connect to Wi-Fi endpoint. The device (or user) must accept this certificate to continue the connection attempt.”- Returns:
- navigational property rootCertificateForServerValidation
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classAndroidWorkProfileWiFiConfiguration
-
patch
public AndroidWorkProfileEnterpriseWiFiConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classAndroidWorkProfileWiFiConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public AndroidWorkProfileEnterpriseWiFiConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classAndroidWorkProfileWiFiConfiguration- 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 classAndroidWorkProfileWiFiConfiguration
-
-