Class MacOSWiredNetworkConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.MacOSWiredNetworkConfiguration
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class MacOSWiredNetworkConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
“MacOS wired network configuration profile.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMacOSWiredNetworkConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected WiFiAuthenticationMethodauthenticationMethodprotected EapFastConfigurationeapFastConfigurationprotected EapTypeeapTypeprotected StringenableOuterIdentityPrivacyprotected WiredNetworkInterfacenetworkInterfaceprotected StringnetworkNameprotected NonEapAuthenticationMethodForEapTtlsTypenonEapAuthenticationMethodForEapTtlsprotected List<String>trustedServerCertificateNamesprotected StringtrustedServerCertificateNamesNextLink-
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 protectedMacOSWiredNetworkConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MacOSWiredNetworkConfiguration.BuilderbuilderMacOSWiredNetworkConfiguration()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<WiFiAuthenticationMethod>getAuthenticationMethod()“Authentication Method when EAP Type is configured to PEAP or EAP-TTLS.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<EapFastConfiguration>getEapFastConfiguration()“EAP-FAST Configuration Option when EAP-FAST is the selected EAP Type.”Optional<EapType>getEapType()“Extensible Authentication Protocol (EAP).Optional<String>getEnableOuterIdentityPrivacy()“Enable identity privacy (Outer Identity) when EAP Type is configured to EAP-TTLS , EAP-FAST or PEAP.MacOSCertificateProfileBaseRequestgetIdentityCertificateForClientAuthentication()“Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication).”Optional<WiredNetworkInterface>getNetworkInterface()“Network interface.”Optional<String>getNetworkName()“Network Name”Optional<NonEapAuthenticationMethodForEapTtlsType>getNonEapAuthenticationMethodForEapTtls()“Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password.”MacOSTrustedRootCertificateRequestgetRootCertificateForServerValidation()“Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS/TTLS/FAST 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()MacOSWiredNetworkConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)MacOSWiredNetworkConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()MacOSWiredNetworkConfigurationwithAuthenticationMethod(WiFiAuthenticationMethod authenticationMethod)Returns an immutable copy ofthiswith just theauthenticationMethodfield changed.MacOSWiredNetworkConfigurationwithEapFastConfiguration(EapFastConfiguration eapFastConfiguration)Returns an immutable copy ofthiswith just theeapFastConfigurationfield changed.MacOSWiredNetworkConfigurationwithEapType(EapType eapType)Returns an immutable copy ofthiswith just theeapTypefield changed.MacOSWiredNetworkConfigurationwithEnableOuterIdentityPrivacy(String enableOuterIdentityPrivacy)Returns an immutable copy ofthiswith just theenableOuterIdentityPrivacyfield changed.MacOSWiredNetworkConfigurationwithNetworkInterface(WiredNetworkInterface networkInterface)Returns an immutable copy ofthiswith just thenetworkInterfacefield changed.MacOSWiredNetworkConfigurationwithNetworkName(String networkName)Returns an immutable copy ofthiswith just thenetworkNamefield changed.MacOSWiredNetworkConfigurationwithNonEapAuthenticationMethodForEapTtls(NonEapAuthenticationMethodForEapTtlsType nonEapAuthenticationMethodForEapTtls)Returns an immutable copy ofthiswith just thenonEapAuthenticationMethodForEapTtlsfield changed.MacOSWiredNetworkConfigurationwithTrustedServerCertificateNames(List<String> trustedServerCertificateNames)Returns an immutable copy ofthiswith just thetrustedServerCertificateNamesfield changed.MacOSWiredNetworkConfigurationwithUnmappedField(String name, String value)-
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
-
eapFastConfiguration
protected EapFastConfiguration eapFastConfiguration
-
eapType
protected EapType eapType
-
enableOuterIdentityPrivacy
protected String enableOuterIdentityPrivacy
-
networkInterface
protected WiredNetworkInterface networkInterface
-
networkName
protected String networkName
-
nonEapAuthenticationMethodForEapTtls
protected NonEapAuthenticationMethodForEapTtlsType nonEapAuthenticationMethodForEapTtls
-
trustedServerCertificateNamesNextLink
protected String trustedServerCertificateNamesNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
builderMacOSWiredNetworkConfiguration
public static MacOSWiredNetworkConfiguration.Builder builderMacOSWiredNetworkConfiguration()
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
-
getAuthenticationMethod
public Optional<WiFiAuthenticationMethod> getAuthenticationMethod()
“Authentication Method when EAP Type is configured to PEAP or EAP-TTLS.”- Returns:
- property authenticationMethod
-
withAuthenticationMethod
public MacOSWiredNetworkConfiguration 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.“Authentication Method when 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
-
getEapFastConfiguration
public Optional<EapFastConfiguration> getEapFastConfiguration()
“EAP-FAST Configuration Option when EAP-FAST is the selected EAP Type.”- Returns:
- property eapFastConfiguration
-
withEapFastConfiguration
public MacOSWiredNetworkConfiguration withEapFastConfiguration(EapFastConfiguration eapFastConfiguration)
Returns an immutable copy ofthiswith just theeapFastConfigurationfield 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.“EAP-FAST Configuration Option when EAP-FAST is the selected EAP Type.”
- Parameters:
eapFastConfiguration- new value ofeapFastConfigurationfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theeapFastConfigurationfield changed
-
getEapType
public Optional<EapType> getEapType()
“Extensible Authentication Protocol (EAP). Indicates the type of EAP protocol set on the wired network.”- Returns:
- property eapType
-
withEapType
public MacOSWiredNetworkConfiguration withEapType(EapType 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.“Extensible Authentication Protocol (EAP). Indicates the type of EAP protocol set on the wired network.”
- Parameters:
eapType- new value ofeapTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theeapTypefield changed
-
getEnableOuterIdentityPrivacy
public Optional<String> getEnableOuterIdentityPrivacy()
“Enable identity privacy (Outer Identity) when EAP Type is configured to EAP-TTLS , EAP-FAST or PEAP. This property masks usernames with the text you enter. For example, if you use 'anonymous', each user that authenticates with this wired network using their real username is displayed as 'anonymous'.”- Returns:
- property enableOuterIdentityPrivacy
-
withEnableOuterIdentityPrivacy
public MacOSWiredNetworkConfiguration withEnableOuterIdentityPrivacy(String enableOuterIdentityPrivacy)
Returns an immutable copy ofthiswith just theenableOuterIdentityPrivacyfield 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 , EAP-FAST or PEAP. This property masks usernames with the text you enter. For example, if you use 'anonymous', each user that authenticates with this wired network using their real username is displayed as 'anonymous'.”
- Parameters:
enableOuterIdentityPrivacy- new value ofenableOuterIdentityPrivacyfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenableOuterIdentityPrivacyfield changed
-
getNetworkInterface
public Optional<WiredNetworkInterface> getNetworkInterface()
“Network interface.”- Returns:
- property networkInterface
-
withNetworkInterface
public MacOSWiredNetworkConfiguration withNetworkInterface(WiredNetworkInterface networkInterface)
Returns an immutable copy ofthiswith just thenetworkInterfacefield 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.“Network interface.”
- Parameters:
networkInterface- new value ofnetworkInterfacefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenetworkInterfacefield changed
-
getNetworkName
public Optional<String> getNetworkName()
“Network Name”- Returns:
- property networkName
-
withNetworkName
public MacOSWiredNetworkConfiguration 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.“Network Name”
- Parameters:
networkName- new value ofnetworkNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenetworkNamefield changed
-
getNonEapAuthenticationMethodForEapTtls
public Optional<NonEapAuthenticationMethodForEapTtlsType> getNonEapAuthenticationMethodForEapTtls()
“Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password.”- Returns:
- property nonEapAuthenticationMethodForEapTtls
-
withNonEapAuthenticationMethodForEapTtls
public MacOSWiredNetworkConfiguration withNonEapAuthenticationMethodForEapTtls(NonEapAuthenticationMethodForEapTtlsType nonEapAuthenticationMethodForEapTtls)
Returns an immutable copy ofthiswith just thenonEapAuthenticationMethodForEapTtlsfield 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:
nonEapAuthenticationMethodForEapTtls- new value ofnonEapAuthenticationMethodForEapTtlsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenonEapAuthenticationMethodForEapTtlsfield 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 wired network.”- Returns:
- property trustedServerCertificateNames
-
withTrustedServerCertificateNames
public MacOSWiredNetworkConfiguration 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 wired 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 wired network.”- Parameters:
options- specify connect and read timeouts- Returns:
- property trustedServerCertificateNames
-
withUnmappedField
public MacOSWiredNetworkConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceConfiguration
-
getIdentityCertificateForClientAuthentication
public MacOSCertificateProfileBaseRequest getIdentityCertificateForClientAuthentication()
“Identity Certificate for client authentication when EAP Type is configured to EAP-TLS, EAP-TTLS (with Certificate Authentication), or PEAP (with Certificate Authentication).”- Returns:
- navigational property identityCertificateForClientAuthentication
-
getRootCertificateForServerValidation
public MacOSTrustedRootCertificateRequest getRootCertificateForServerValidation()
“Trusted Root Certificate for Server Validation when EAP Type is configured to EAP-TLS/TTLS/FAST or PEAP.”- Returns:
- navigational property rootCertificateForServerValidation
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceConfiguration
-
patch
public MacOSWiredNetworkConfiguration 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 MacOSWiredNetworkConfiguration 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
-
-