Class WindowsDomainJoinConfiguration

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType

    public class WindowsDomainJoinConfiguration
    extends DeviceConfiguration
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Windows Domain Join device configuration.”
    • Field Detail

      • activeDirectoryDomainName

        protected String activeDirectoryDomainName
      • computerNameStaticPrefix

        protected String computerNameStaticPrefix
      • computerNameSuffixRandomCharCount

        protected Integer computerNameSuffixRandomCharCount
      • organizationalUnit

        protected String organizationalUnit
    • Constructor Detail

      • WindowsDomainJoinConfiguration

        protected WindowsDomainJoinConfiguration()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class DeviceConfiguration
      • builderWindowsDomainJoinConfiguration

        public static WindowsDomainJoinConfiguration.Builder builderWindowsDomainJoinConfiguration()
        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
      • getActiveDirectoryDomainName

        public Optional<String> getActiveDirectoryDomainName()
        “Active Directory domain name to join.”
        Returns:
        property activeDirectoryDomainName
      • withActiveDirectoryDomainName

        public WindowsDomainJoinConfiguration withActiveDirectoryDomainName​(String activeDirectoryDomainName)
        Returns an immutable copy of this with just the activeDirectoryDomainName 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.

        “Active Directory domain name to join.”

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

        public Optional<String> getComputerNameStaticPrefix()
        “Fixed prefix to be used for computer name.”
        Returns:
        property computerNameStaticPrefix
      • withComputerNameStaticPrefix

        public WindowsDomainJoinConfiguration withComputerNameStaticPrefix​(String computerNameStaticPrefix)
        Returns an immutable copy of this with just the computerNameStaticPrefix 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.

        “Fixed prefix to be used for computer name.”

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

        public Optional<Integer> getComputerNameSuffixRandomCharCount()
        “Dynamically generated characters used as suffix for computer name. Valid values 3 to 14”
        Returns:
        property computerNameSuffixRandomCharCount
      • withComputerNameSuffixRandomCharCount

        public WindowsDomainJoinConfiguration withComputerNameSuffixRandomCharCount​(Integer computerNameSuffixRandomCharCount)
        Returns an immutable copy of this with just the computerNameSuffixRandomCharCount 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.

        “Dynamically generated characters used as suffix for computer name. Valid values 3 to 14”

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

        public Optional<String> getOrganizationalUnit()
        “Organizational unit (OU) where the computer account will be created. If this parameter is NULL, the well known computer object container will be used as published in the domain.”
        Returns:
        property organizationalUnit
      • withOrganizationalUnit

        public WindowsDomainJoinConfiguration withOrganizationalUnit​(String organizationalUnit)
        Returns an immutable copy of this with just the organizationalUnit 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.

        “Organizational unit (OU) where the computer account will be created. If this parameter is NULL, the well known computer object container will be used as published in the domain.”

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

        public DeviceConfigurationCollectionRequest getNetworkAccessConfigurations()
        “Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements.”
        Returns:
        navigational property networkAccessConfigurations
      • 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 WindowsDomainJoinConfiguration 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 WindowsDomainJoinConfiguration 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