Package odata.msgraph.client.beta.entity
Class WindowsDomainJoinConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.entity.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.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsDomainJoinConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringactiveDirectoryDomainNameprotected StringcomputerNameStaticPrefixprotected IntegercomputerNameSuffixRandomCharCountprotected StringorganizationalUnit-
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 protectedWindowsDomainJoinConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsDomainJoinConfiguration.BuilderbuilderWindowsDomainJoinConfiguration()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getActiveDirectoryDomainName()“Active Directory domain name to join.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getComputerNameStaticPrefix()“Fixed prefix to be used for computer name.”Optional<Integer>getComputerNameSuffixRandomCharCount()“Dynamically generated characters used as suffix for computer name.DeviceConfigurationCollectionRequestgetNetworkAccessConfigurations()“Reference to device configurations required for network connectivity.Optional<String>getOrganizationalUnit()“Organizational unit (OU) where the computer account will be created.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()WindowsDomainJoinConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsDomainJoinConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsDomainJoinConfigurationwithActiveDirectoryDomainName(String activeDirectoryDomainName)Returns an immutable copy ofthiswith just theactiveDirectoryDomainNamefield changed.WindowsDomainJoinConfigurationwithComputerNameStaticPrefix(String computerNameStaticPrefix)Returns an immutable copy ofthiswith just thecomputerNameStaticPrefixfield changed.WindowsDomainJoinConfigurationwithComputerNameSuffixRandomCharCount(Integer computerNameSuffixRandomCharCount)Returns an immutable copy ofthiswith just thecomputerNameSuffixRandomCharCountfield changed.WindowsDomainJoinConfigurationwithOrganizationalUnit(String organizationalUnit)Returns an immutable copy ofthiswith just theorganizationalUnitfield changed.WindowsDomainJoinConfigurationwithUnmappedField(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
-
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
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:
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
-
getActiveDirectoryDomainName
public Optional<String> getActiveDirectoryDomainName()
“Active Directory domain name to join.”- Returns:
- property activeDirectoryDomainName
-
withActiveDirectoryDomainName
public WindowsDomainJoinConfiguration withActiveDirectoryDomainName(String activeDirectoryDomainName)
Returns an immutable copy ofthiswith just theactiveDirectoryDomainNamefield 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.“Active Directory domain name to join.”
- Parameters:
activeDirectoryDomainName- new value ofactiveDirectoryDomainNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theactiveDirectoryDomainNamefield 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 ofthiswith just thecomputerNameStaticPrefixfield 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.“Fixed prefix to be used for computer name.”
- Parameters:
computerNameStaticPrefix- new value ofcomputerNameStaticPrefixfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecomputerNameStaticPrefixfield 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 ofthiswith just thecomputerNameSuffixRandomCharCountfield 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.“Dynamically generated characters used as suffix for computer name. Valid values 3 to 14”
- Parameters:
computerNameSuffixRandomCharCount- new value ofcomputerNameSuffixRandomCharCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecomputerNameSuffixRandomCharCountfield 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 ofthiswith just theorganizationalUnitfield 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.“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 oforganizationalUnitfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theorganizationalUnitfield changed
-
withUnmappedField
public WindowsDomainJoinConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceConfiguration
-
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:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceConfiguration
-
patch
public WindowsDomainJoinConfiguration 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 WindowsDomainJoinConfiguration 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
-
-