Class WindowsWifiConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.WindowsWifiConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
WindowsWifiEnterpriseEAPConfiguration
public class WindowsWifiConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“Device Configuration.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsWifiConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanconnectAutomaticallyprotected BooleanconnectToPreferredNetworkprotected BooleanconnectWhenNetworkNameIsHiddenprotected BooleanforceFIPSComplianceprotected MeteredConnectionLimitTypemeteredConnectionLimitprotected StringnetworkNameprotected StringpreSharedKeyprotected StringproxyAutomaticConfigurationUrlprotected StringproxyManualAddressprotected IntegerproxyManualPortprotected WiFiProxySettingproxySettingprotected Stringssidprotected WiFiSecurityTypewifiSecurityType-
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 protectedWindowsWifiConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsWifiConfiguration.BuilderbuilderWindowsWifiConfiguration()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.internal.ChangedFieldsgetChangedFields()Optional<Boolean>getConnectAutomatically()“Specify whether the wifi connection should connect automatically when in range.”Optional<Boolean>getConnectToPreferredNetwork()“Specify whether the wifi connection should connect to more preferred networks when already connected to this one.Optional<Boolean>getConnectWhenNetworkNameIsHidden()“Specify whether the wifi connection should connect automatically even when the SSID is not broadcasting.”Optional<Boolean>getForceFIPSCompliance()“Specify whether to force FIPS compliance.”Optional<MeteredConnectionLimitType>getMeteredConnectionLimit()“Specify the metered connection limit type for the wifi connection.”Optional<String>getNetworkName()“Specify the network configuration name.”Optional<String>getPreSharedKey()“This is the pre-shared key for WPA Personal Wi-Fi network.”Optional<String>getProxyAutomaticConfigurationUrl()“Specify the URL for the proxy server configuration script.”Optional<String>getProxyManualAddress()“Specify the IP address for the proxy server.”Optional<Integer>getProxyManualPort()“Specify the port for the proxy server.”Optional<WiFiProxySetting>getProxySetting()“Specify the proxy setting for Wi-Fi configuration”Optional<String>getSsid()“Specify the SSID of the wifi connection.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<WiFiSecurityType>getWifiSecurityType()“Specify the Wifi Security Type.”StringodataTypeName()WindowsWifiConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsWifiConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsWifiConfigurationwithConnectAutomatically(Boolean connectAutomatically)Returns an immutable copy ofthiswith just theconnectAutomaticallyfield changed.WindowsWifiConfigurationwithConnectToPreferredNetwork(Boolean connectToPreferredNetwork)Returns an immutable copy ofthiswith just theconnectToPreferredNetworkfield changed.WindowsWifiConfigurationwithConnectWhenNetworkNameIsHidden(Boolean connectWhenNetworkNameIsHidden)Returns an immutable copy ofthiswith just theconnectWhenNetworkNameIsHiddenfield changed.WindowsWifiConfigurationwithForceFIPSCompliance(Boolean forceFIPSCompliance)Returns an immutable copy ofthiswith just theforceFIPSCompliancefield changed.WindowsWifiConfigurationwithMeteredConnectionLimit(MeteredConnectionLimitType meteredConnectionLimit)Returns an immutable copy ofthiswith just themeteredConnectionLimitfield changed.WindowsWifiConfigurationwithNetworkName(String networkName)Returns an immutable copy ofthiswith just thenetworkNamefield changed.WindowsWifiConfigurationwithPreSharedKey(String preSharedKey)Returns an immutable copy ofthiswith just thepreSharedKeyfield changed.WindowsWifiConfigurationwithProxyAutomaticConfigurationUrl(String proxyAutomaticConfigurationUrl)Returns an immutable copy ofthiswith just theproxyAutomaticConfigurationUrlfield changed.WindowsWifiConfigurationwithProxyManualAddress(String proxyManualAddress)Returns an immutable copy ofthiswith just theproxyManualAddressfield changed.WindowsWifiConfigurationwithProxyManualPort(Integer proxyManualPort)Returns an immutable copy ofthiswith just theproxyManualPortfield changed.WindowsWifiConfigurationwithProxySetting(WiFiProxySetting proxySetting)Returns an immutable copy ofthiswith just theproxySettingfield changed.WindowsWifiConfigurationwithSsid(String ssid)Returns an immutable copy ofthiswith just thessidfield changed.WindowsWifiConfigurationwithUnmappedField(String name, String value)WindowsWifiConfigurationwithWifiSecurityType(WiFiSecurityType wifiSecurityType)Returns an immutable copy ofthiswith just thewifiSecurityTypefield changed.-
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
-
connectAutomatically
protected Boolean connectAutomatically
-
connectToPreferredNetwork
protected Boolean connectToPreferredNetwork
-
connectWhenNetworkNameIsHidden
protected Boolean connectWhenNetworkNameIsHidden
-
forceFIPSCompliance
protected Boolean forceFIPSCompliance
-
meteredConnectionLimit
protected MeteredConnectionLimitType meteredConnectionLimit
-
networkName
protected String networkName
-
preSharedKey
protected String preSharedKey
-
proxyAutomaticConfigurationUrl
protected String proxyAutomaticConfigurationUrl
-
proxyManualAddress
protected String proxyManualAddress
-
proxyManualPort
protected Integer proxyManualPort
-
proxySetting
protected WiFiProxySetting proxySetting
-
ssid
protected String ssid
-
wifiSecurityType
protected WiFiSecurityType wifiSecurityType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
builderWindowsWifiConfiguration
public static WindowsWifiConfiguration.Builder builderWindowsWifiConfiguration()
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 classDeviceConfiguration
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceConfiguration
-
getConnectAutomatically
public Optional<Boolean> getConnectAutomatically()
“Specify whether the wifi connection should connect automatically when in range.”- Returns:
- property connectAutomatically
-
withConnectAutomatically
public WindowsWifiConfiguration withConnectAutomatically(Boolean connectAutomatically)
Returns an immutable copy ofthiswith just theconnectAutomaticallyfield 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 whether the wifi connection should connect automatically when in range.”
- Parameters:
connectAutomatically- new value ofconnectAutomaticallyfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconnectAutomaticallyfield changed
-
getConnectToPreferredNetwork
public Optional<Boolean> getConnectToPreferredNetwork()
“Specify whether the wifi connection should connect to more preferred networks when already connected to this one. Requires ConnectAutomatically to be true.”- Returns:
- property connectToPreferredNetwork
-
withConnectToPreferredNetwork
public WindowsWifiConfiguration withConnectToPreferredNetwork(Boolean connectToPreferredNetwork)
Returns an immutable copy ofthiswith just theconnectToPreferredNetworkfield 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 whether the wifi connection should connect to more preferred networks when already connected to this one. Requires ConnectAutomatically to be true.”
- Parameters:
connectToPreferredNetwork- new value ofconnectToPreferredNetworkfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconnectToPreferredNetworkfield changed
-
getConnectWhenNetworkNameIsHidden
public Optional<Boolean> getConnectWhenNetworkNameIsHidden()
“Specify whether the wifi connection should connect automatically even when the SSID is not broadcasting.”- Returns:
- property connectWhenNetworkNameIsHidden
-
withConnectWhenNetworkNameIsHidden
public WindowsWifiConfiguration withConnectWhenNetworkNameIsHidden(Boolean connectWhenNetworkNameIsHidden)
Returns an immutable copy ofthiswith just theconnectWhenNetworkNameIsHiddenfield 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 whether the wifi connection should connect automatically even when the SSID is not broadcasting.”
- Parameters:
connectWhenNetworkNameIsHidden- new value ofconnectWhenNetworkNameIsHiddenfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theconnectWhenNetworkNameIsHiddenfield changed
-
getForceFIPSCompliance
public Optional<Boolean> getForceFIPSCompliance()
“Specify whether to force FIPS compliance.”- Returns:
- property forceFIPSCompliance
-
withForceFIPSCompliance
public WindowsWifiConfiguration withForceFIPSCompliance(Boolean forceFIPSCompliance)
Returns an immutable copy ofthiswith just theforceFIPSCompliancefield 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 whether to force FIPS compliance.”
- Parameters:
forceFIPSCompliance- new value offorceFIPSCompliancefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theforceFIPSCompliancefield changed
-
getMeteredConnectionLimit
public Optional<MeteredConnectionLimitType> getMeteredConnectionLimit()
“Specify the metered connection limit type for the wifi connection.”- Returns:
- property meteredConnectionLimit
-
withMeteredConnectionLimit
public WindowsWifiConfiguration withMeteredConnectionLimit(MeteredConnectionLimitType meteredConnectionLimit)
Returns an immutable copy ofthiswith just themeteredConnectionLimitfield 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 the metered connection limit type for the wifi connection.”
- Parameters:
meteredConnectionLimit- new value ofmeteredConnectionLimitfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themeteredConnectionLimitfield changed
-
getNetworkName
public Optional<String> getNetworkName()
“Specify the network configuration name.”- Returns:
- property networkName
-
withNetworkName
public WindowsWifiConfiguration withNetworkName(String networkName)
Returns an immutable copy ofthiswith just thenetworkNamefield 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 the network configuration name.”
- Parameters:
networkName- new value ofnetworkNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenetworkNamefield changed
-
getPreSharedKey
public Optional<String> getPreSharedKey()
“This is the pre-shared key for WPA Personal Wi-Fi network.”- Returns:
- property preSharedKey
-
withPreSharedKey
public WindowsWifiConfiguration withPreSharedKey(String preSharedKey)
Returns an immutable copy ofthiswith just thepreSharedKeyfield 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.“This is the pre-shared key for WPA Personal Wi-Fi network.”
- Parameters:
preSharedKey- new value ofpreSharedKeyfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepreSharedKeyfield changed
-
getProxyAutomaticConfigurationUrl
public Optional<String> getProxyAutomaticConfigurationUrl()
“Specify the URL for the proxy server configuration script.”- Returns:
- property proxyAutomaticConfigurationUrl
-
withProxyAutomaticConfigurationUrl
public WindowsWifiConfiguration 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.“Specify the URL for the proxy server configuration script.”
- Parameters:
proxyAutomaticConfigurationUrl- new value ofproxyAutomaticConfigurationUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproxyAutomaticConfigurationUrlfield changed
-
getProxyManualAddress
public Optional<String> getProxyManualAddress()
“Specify the IP address for the proxy server.”- Returns:
- property proxyManualAddress
-
withProxyManualAddress
public WindowsWifiConfiguration withProxyManualAddress(String proxyManualAddress)
Returns an immutable copy ofthiswith just theproxyManualAddressfield 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 the IP address for the proxy server.”
- Parameters:
proxyManualAddress- new value ofproxyManualAddressfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproxyManualAddressfield changed
-
getProxyManualPort
public Optional<Integer> getProxyManualPort()
“Specify the port for the proxy server.”- Returns:
- property proxyManualPort
-
withProxyManualPort
public WindowsWifiConfiguration withProxyManualPort(Integer proxyManualPort)
Returns an immutable copy ofthiswith just theproxyManualPortfield 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 the port for the proxy server.”
- Parameters:
proxyManualPort- new value ofproxyManualPortfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproxyManualPortfield changed
-
getProxySetting
public Optional<WiFiProxySetting> getProxySetting()
“Specify the proxy setting for Wi-Fi configuration”- Returns:
- property proxySetting
-
withProxySetting
public WindowsWifiConfiguration withProxySetting(WiFiProxySetting proxySetting)
Returns an immutable copy ofthiswith just theproxySettingfield 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 the proxy setting for Wi-Fi configuration”
- Parameters:
proxySetting- new value ofproxySettingfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theproxySettingfield changed
-
getSsid
public Optional<String> getSsid()
“Specify the SSID of the wifi connection.”- Returns:
- property ssid
-
withSsid
public WindowsWifiConfiguration withSsid(String ssid)
Returns an immutable copy ofthiswith just thessidfield 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 the SSID of the wifi connection.”
- Parameters:
ssid- new value ofssidfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thessidfield changed
-
getWifiSecurityType
public Optional<WiFiSecurityType> getWifiSecurityType()
“Specify the Wifi Security Type.”- Returns:
- property wifiSecurityType
-
withWifiSecurityType
public WindowsWifiConfiguration withWifiSecurityType(WiFiSecurityType wifiSecurityType)
Returns an immutable copy ofthiswith just thewifiSecurityTypefield 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 the Wifi Security Type.”
- Parameters:
wifiSecurityType- new value ofwifiSecurityTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thewifiSecurityTypefield changed
-
withUnmappedField
public WindowsWifiConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceConfiguration
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceConfiguration
-
patch
public WindowsWifiConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public WindowsWifiConfiguration put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceConfiguration- 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 classDeviceConfiguration
-
-