Class 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.”
    • Constructor Detail

      • MacOSWiredNetworkConfiguration

        protected MacOSWiredNetworkConfiguration()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class DeviceConfiguration
      • 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:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class DeviceConfiguration
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class DeviceConfiguration
      • 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 of 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 when EAP Type is configured to PEAP or EAP-TTLS.”

        Parameters:
        authenticationMethod - new value of authenticationMethod field (as defined in service metadata)
        Returns:
        immutable copy of this with just the authenticationMethod field 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 of this with just the eapFastConfiguration 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.

        “EAP-FAST Configuration Option when EAP-FAST is the selected EAP Type.”

        Parameters:
        eapFastConfiguration - new value of eapFastConfiguration field (as defined in service metadata)
        Returns:
        immutable copy of this with just the eapFastConfiguration field 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 of this with just the eapType 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.

        “Extensible Authentication Protocol (EAP). Indicates the type of EAP protocol set on the wired network.”

        Parameters:
        eapType - new value of eapType field (as defined in service metadata)
        Returns:
        immutable copy of this with just the eapType field 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 of this with just the enableOuterIdentityPrivacy 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.

        “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 of enableOuterIdentityPrivacy field (as defined in service metadata)
        Returns:
        immutable copy of this with just the enableOuterIdentityPrivacy field changed
      • withNetworkInterface

        public MacOSWiredNetworkConfiguration withNetworkInterface​(WiredNetworkInterface networkInterface)
        Returns an immutable copy of this with just the networkInterface 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.

        “Network interface.”

        Parameters:
        networkInterface - new value of networkInterface field (as defined in service metadata)
        Returns:
        immutable copy of this with just the networkInterface field changed
      • getNetworkName

        public Optional<String> getNetworkName()
        “Network Name”
        Returns:
        property networkName
      • withNetworkName

        public MacOSWiredNetworkConfiguration withNetworkName​(String networkName)
        Returns an immutable copy of this with just the networkName 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.

        “Network Name”

        Parameters:
        networkName - new value of networkName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the networkName field 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 of this with just the nonEapAuthenticationMethodForEapTtls 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.

        “Non-EAP Method for Authentication (Inner Identity) when EAP Type is EAP-TTLS and Authenticationmethod is Username and Password.”

        Parameters:
        nonEapAuthenticationMethodForEapTtls - new value of nonEapAuthenticationMethodForEapTtls field (as defined in service metadata)
        Returns:
        immutable copy of this with just the nonEapAuthenticationMethodForEapTtls field 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 of this with just the trustedServerCertificateNames 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.

        “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 of trustedServerCertificateNames field (as defined in service metadata)
        Returns:
        immutable copy of this with just the trustedServerCertificateNames field 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
      • 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:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class DeviceConfiguration
      • patch

        public MacOSWiredNetworkConfiguration patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class DeviceConfiguration
        Returns:
        a copy of this with 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 of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class DeviceConfiguration
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected