Class ManagedDevice.Builder
- java.lang.Object
-
- odata.msgraph.client.beta.entity.ManagedDevice.Builder
-
- Enclosing class:
- ManagedDevice
public static final class ManagedDevice.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedDevice.BuilderaadRegistered(Boolean aadRegistered)“Whether the device is Azure Active Directory registered.ManagedDevice.BuilderactivationLockBypassCode(String activationLockBypassCode)“Code that allows the Activation Lock on a device to be bypassed.ManagedDevice.BuilderandroidSecurityPatchLevel(String androidSecurityPatchLevel)“Android security patch level.ManagedDevice.BuilderautopilotEnrolled(Boolean autopilotEnrolled)“Reports if the managed device is enrolled via auto-pilot.ManagedDevice.BuilderazureActiveDirectoryDeviceId(String azureActiveDirectoryDeviceId)“The unique identifier for the Azure Active Directory device.ManagedDevice.BuilderazureADDeviceId(String azureADDeviceId)“The unique identifier for the Azure Active Directory device.ManagedDevice.BuilderazureADRegistered(Boolean azureADRegistered)“Whether the device is Azure Active Directory registered.ManagedDevicebuild()ManagedDevice.BuilderchassisType(ChassisType chassisType)“Chassis type of the device.ManagedDevice.BuilderchromeOSDeviceInfo(List<ChromeOSDeviceProperty> chromeOSDeviceInfo)“List of properties of the ChromeOS Device.”ManagedDevice.BuilderchromeOSDeviceInfo(ChromeOSDeviceProperty... chromeOSDeviceInfo)“List of properties of the ChromeOS Device.”ManagedDevice.BuilderchromeOSDeviceInfoNextLink(String chromeOSDeviceInfoNextLink)“List of properties of the ChromeOS Device.”ManagedDevice.BuildercloudPcRemoteActionResults(List<CloudPcRemoteActionResult> cloudPcRemoteActionResults)ManagedDevice.BuildercloudPcRemoteActionResults(CloudPcRemoteActionResult... cloudPcRemoteActionResults)ManagedDevice.BuildercloudPcRemoteActionResultsNextLink(String cloudPcRemoteActionResultsNextLink)ManagedDevice.BuildercomplianceGracePeriodExpirationDateTime(OffsetDateTime complianceGracePeriodExpirationDateTime)“The DateTime when device compliance grace period expires.ManagedDevice.BuildercomplianceState(ComplianceState complianceState)“Compliance state of the device.ManagedDevice.BuilderconfigurationManagerClientEnabledFeatures(ConfigurationManagerClientEnabledFeatures configurationManagerClientEnabledFeatures)“ConfigrMgr client enabled features.ManagedDevice.BuilderconfigurationManagerClientHealthState(ConfigurationManagerClientHealthState configurationManagerClientHealthState)“Configuration manager client health state, valid only for devices managed by MDM /ConfigMgr Agent”ManagedDevice.BuilderconfigurationManagerClientInformation(ConfigurationManagerClientInformation configurationManagerClientInformation)“Configuration manager client information, valid only for devices managed, duel- managed or tri-managed by ConfigMgr Agent”ManagedDevice.BuilderdeviceActionResults(List<DeviceActionResult> deviceActionResults)“List of ComplexType deviceActionResult objects.ManagedDevice.BuilderdeviceActionResults(DeviceActionResult... deviceActionResults)“List of ComplexType deviceActionResult objects.ManagedDevice.BuilderdeviceActionResultsNextLink(String deviceActionResultsNextLink)“List of ComplexType deviceActionResult objects.ManagedDevice.BuilderdeviceCategoryDisplayName(String deviceCategoryDisplayName)“Device category display name.ManagedDevice.BuilderdeviceEnrollmentType(DeviceEnrollmentType deviceEnrollmentType)“Enrollment type of the device.ManagedDevice.BuilderdeviceHealthAttestationState(DeviceHealthAttestationState deviceHealthAttestationState)“The device health attestation state.ManagedDevice.BuilderdeviceName(String deviceName)“Name of the device.ManagedDevice.BuilderdeviceRegistrationState(DeviceRegistrationState deviceRegistrationState)“Device registration state.ManagedDevice.BuilderdeviceType(DeviceType deviceType)“Platform of the device.ManagedDevice.BuildereasActivated(Boolean easActivated)“Whether the device is Exchange ActiveSync activated.ManagedDevice.BuildereasActivationDateTime(OffsetDateTime easActivationDateTime)“Exchange ActivationSync activation time of the device.ManagedDevice.BuildereasDeviceId(String easDeviceId)“Exchange ActiveSync Id of the device.ManagedDevice.BuilderemailAddress(String emailAddress)“Email(s) for the user associated with the device.ManagedDevice.BuilderenrolledDateTime(OffsetDateTime enrolledDateTime)“Enrollment time of the device.ManagedDevice.BuilderenrollmentProfileName(String enrollmentProfileName)“Name of the enrollment profile assigned to the device.ManagedDevice.BuilderethernetMacAddress(String ethernetMacAddress)“Ethernet MAC.ManagedDevice.BuilderexchangeAccessState(DeviceManagementExchangeAccessState exchangeAccessState)“The Access State of the device in Exchange.ManagedDevice.BuilderexchangeAccessStateReason(DeviceManagementExchangeAccessStateReason exchangeAccessStateReason)“The reason for the device's access state in Exchange.ManagedDevice.BuilderexchangeLastSuccessfulSyncDateTime(OffsetDateTime exchangeLastSuccessfulSyncDateTime)“Last time the device contacted Exchange.ManagedDevice.BuilderfreeStorageSpaceInBytes(Long freeStorageSpaceInBytes)“Free Storage in Bytes.ManagedDevice.BuilderhardwareInformation(HardwareInformation hardwareInformation)“The hardward details for the device.ManagedDevice.Buildericcid(String iccid)“Integrated Circuit Card Identifier, it is A SIM card's unique identification number.ManagedDevice.Builderid(String id)ManagedDevice.Builderimei(String imei)“IMEI.ManagedDevice.BuilderisEncrypted(Boolean isEncrypted)“Device encryption status.ManagedDevice.BuilderisSupervised(Boolean isSupervised)“Device supervised status.ManagedDevice.BuilderjailBroken(String jailBroken)“whether the device is jail broken or rooted.ManagedDevice.BuilderjoinType(JoinType joinType)“Device join type”ManagedDevice.BuilderlastSyncDateTime(OffsetDateTime lastSyncDateTime)“The date and time that the device last completed a successful sync with Intune.ManagedDevice.BuilderlostModeState(LostModeState lostModeState)“Indicates if Lost mode is enabled or disabled.ManagedDevice.BuildermanagedDeviceName(String managedDeviceName)“Automatically generated name to identify a device.ManagedDevice.BuildermanagedDeviceOwnerType(ManagedDeviceOwnerType managedDeviceOwnerType)“Ownership of the device.ManagedDevice.BuildermanagementAgent(ManagementAgentType managementAgent)“Management channel of the device.ManagedDevice.BuildermanagementCertificateExpirationDate(OffsetDateTime managementCertificateExpirationDate)“Reports device management certificate expiration date.ManagedDevice.BuildermanagementFeatures(ManagedDeviceManagementFeatures managementFeatures)“Device management features”ManagedDevice.BuildermanagementState(ManagementState managementState)“Management state of the device.ManagedDevice.Buildermanufacturer(String manufacturer)“Manufacturer of the device.ManagedDevice.Buildermeid(String meid)“MEID.ManagedDevice.Buildermodel(String model)“Model of the device.ManagedDevice.Buildernotes(String notes)“Notes on the device created by IT Admin”ManagedDevice.BuilderoperatingSystem(String operatingSystem)“Operating system of the device.ManagedDevice.BuilderosVersion(String osVersion)“Operating system version of the device.ManagedDevice.BuilderownerType(OwnerType ownerType)“Ownership of the device.ManagedDevice.BuilderpartnerReportedThreatState(ManagedDevicePartnerReportedHealthState partnerReportedThreatState)“Indicates the threat state of a device when a Mobile Threat Defense partner is in use by the account and device.ManagedDevice.BuilderphoneNumber(String phoneNumber)“Phone number of the device.ManagedDevice.BuilderphysicalMemoryInBytes(Long physicalMemoryInBytes)“Total Memory in Bytes.ManagedDevice.BuilderpreferMdmOverGroupPolicyAppliedDateTime(OffsetDateTime preferMdmOverGroupPolicyAppliedDateTime)“Reports the DateTime the preferMdmOverGroupPolicy setting was set.ManagedDevice.BuilderprocessorArchitecture(ManagedDeviceArchitecture processorArchitecture)“Processor architecture.ManagedDevice.BuilderremoteAssistanceSessionErrorDetails(String remoteAssistanceSessionErrorDetails)“An error string that identifies issues when creating Remote Assistance session objects.ManagedDevice.BuilderremoteAssistanceSessionUrl(String remoteAssistanceSessionUrl)“Url that allows a Remote Assistance session to be established with the device.ManagedDevice.BuilderrequireUserEnrollmentApproval(Boolean requireUserEnrollmentApproval)“Reports if the managed iOS device is user approval enrollment.ManagedDevice.BuilderretireAfterDateTime(OffsetDateTime retireAfterDateTime)“Indicates the time after when a device will be auto retired because of scheduled action.ManagedDevice.BuilderroleScopeTagIds(String... roleScopeTagIds)“List of Scope Tag IDs for this Device instance.”ManagedDevice.BuilderroleScopeTagIds(List<String> roleScopeTagIds)“List of Scope Tag IDs for this Device instance.”ManagedDevice.BuilderroleScopeTagIdsNextLink(String roleScopeTagIdsNextLink)“List of Scope Tag IDs for this Device instance.”ManagedDevice.BuilderserialNumber(String serialNumber)“SerialNumber.ManagedDevice.BuilderskuFamily(String skuFamily)“Device sku family”ManagedDevice.BuilderskuNumber(Integer skuNumber)“Device sku number, see also: https://docs.microsoft.com/en-us/windows/win32/api/ sysinfoapi/nf-sysinfoapi-getproductinfo.ManagedDevice.BuilderspecificationVersion(String specificationVersion)“Specification version.ManagedDevice.BuildersubscriberCarrier(String subscriberCarrier)“Subscriber Carrier.ManagedDevice.BuildertotalStorageSpaceInBytes(Long totalStorageSpaceInBytes)“Total Storage in Bytes.ManagedDevice.Builderudid(String udid)“Unique Device Identifier for iOS and macOS devices.ManagedDevice.BuilderuserDisplayName(String userDisplayName)“User display name.ManagedDevice.BuilderuserId(String userId)“Unique Identifier for the user associated with the device.ManagedDevice.BuilderuserPrincipalName(String userPrincipalName)“Device user principal name.ManagedDevice.BuilderusersLoggedOn(List<LoggedOnUser> usersLoggedOn)“Indicates the last logged on users of a device.ManagedDevice.BuilderusersLoggedOn(LoggedOnUser... usersLoggedOn)“Indicates the last logged on users of a device.ManagedDevice.BuilderusersLoggedOnNextLink(String usersLoggedOnNextLink)“Indicates the last logged on users of a device.ManagedDevice.BuilderwiFiMacAddress(String wiFiMacAddress)“Wi-Fi MAC.ManagedDevice.BuilderwindowsActiveMalwareCount(Integer windowsActiveMalwareCount)“Count of active malware for this windows device.ManagedDevice.BuilderwindowsRemediatedMalwareCount(Integer windowsRemediatedMalwareCount)“Count of remediated malware for this windows device.
-
-
-
Method Detail
-
id
public ManagedDevice.Builder id(String id)
-
cloudPcRemoteActionResults
public ManagedDevice.Builder cloudPcRemoteActionResults(List<CloudPcRemoteActionResult> cloudPcRemoteActionResults)
-
cloudPcRemoteActionResults
public ManagedDevice.Builder cloudPcRemoteActionResults(CloudPcRemoteActionResult... cloudPcRemoteActionResults)
-
cloudPcRemoteActionResultsNextLink
public ManagedDevice.Builder cloudPcRemoteActionResultsNextLink(String cloudPcRemoteActionResultsNextLink)
-
aadRegistered
public ManagedDevice.Builder aadRegistered(Boolean aadRegistered)
“Whether the device is Azure Active Directory registered. This property is read- only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
aadRegistered- value ofaadRegisteredproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
activationLockBypassCode
public ManagedDevice.Builder activationLockBypassCode(String activationLockBypassCode)
“Code that allows the Activation Lock on a device to be bypassed. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
activationLockBypassCode- value ofactivationLockBypassCodeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
androidSecurityPatchLevel
public ManagedDevice.Builder androidSecurityPatchLevel(String androidSecurityPatchLevel)
“Android security patch level. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
androidSecurityPatchLevel- value ofandroidSecurityPatchLevelproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
autopilotEnrolled
public ManagedDevice.Builder autopilotEnrolled(Boolean autopilotEnrolled)
“Reports if the managed device is enrolled via auto-pilot. This property is read- only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
autopilotEnrolled- value ofautopilotEnrolledproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
azureActiveDirectoryDeviceId
public ManagedDevice.Builder azureActiveDirectoryDeviceId(String azureActiveDirectoryDeviceId)
“The unique identifier for the Azure Active Directory device. Read only. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
azureActiveDirectoryDeviceId- value ofazureActiveDirectoryDeviceIdproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
azureADDeviceId
public ManagedDevice.Builder azureADDeviceId(String azureADDeviceId)
“The unique identifier for the Azure Active Directory device. Read only. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
azureADDeviceId- value ofazureADDeviceIdproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
azureADRegistered
public ManagedDevice.Builder azureADRegistered(Boolean azureADRegistered)
“Whether the device is Azure Active Directory registered. This property is read- only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
azureADRegistered- value ofazureADRegisteredproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
chassisType
public ManagedDevice.Builder chassisType(ChassisType chassisType)
“Chassis type of the device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
chassisType- value ofchassisTypeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
chromeOSDeviceInfo
public ManagedDevice.Builder chromeOSDeviceInfo(List<ChromeOSDeviceProperty> chromeOSDeviceInfo)
“List of properties of the ChromeOS Device.”- Parameters:
chromeOSDeviceInfo- value ofchromeOSDeviceInfoproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
chromeOSDeviceInfo
public ManagedDevice.Builder chromeOSDeviceInfo(ChromeOSDeviceProperty... chromeOSDeviceInfo)
“List of properties of the ChromeOS Device.”- Parameters:
chromeOSDeviceInfo- value ofchromeOSDeviceInfoproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
chromeOSDeviceInfoNextLink
public ManagedDevice.Builder chromeOSDeviceInfoNextLink(String chromeOSDeviceInfoNextLink)
“List of properties of the ChromeOS Device.”- Parameters:
chromeOSDeviceInfoNextLink- value ofchromeOSDeviceInfo@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
complianceGracePeriodExpirationDateTime
public ManagedDevice.Builder complianceGracePeriodExpirationDateTime(OffsetDateTime complianceGracePeriodExpirationDateTime)
“The DateTime when device compliance grace period expires. This property is read- only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
complianceGracePeriodExpirationDateTime- value ofcomplianceGracePeriodExpirationDateTimeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
complianceState
public ManagedDevice.Builder complianceState(ComplianceState complianceState)
“Compliance state of the device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
complianceState- value ofcomplianceStateproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
configurationManagerClientEnabledFeatures
public ManagedDevice.Builder configurationManagerClientEnabledFeatures(ConfigurationManagerClientEnabledFeatures configurationManagerClientEnabledFeatures)
“ConfigrMgr client enabled features. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
configurationManagerClientEnabledFeatures- value ofconfigurationManagerClientEnabledFeaturesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
configurationManagerClientHealthState
public ManagedDevice.Builder configurationManagerClientHealthState(ConfigurationManagerClientHealthState configurationManagerClientHealthState)
“Configuration manager client health state, valid only for devices managed by MDM /ConfigMgr Agent”- Parameters:
configurationManagerClientHealthState- value ofconfigurationManagerClientHealthStateproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
configurationManagerClientInformation
public ManagedDevice.Builder configurationManagerClientInformation(ConfigurationManagerClientInformation configurationManagerClientInformation)
“Configuration manager client information, valid only for devices managed, duel- managed or tri-managed by ConfigMgr Agent”- Parameters:
configurationManagerClientInformation- value ofconfigurationManagerClientInformationproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
deviceActionResults
public ManagedDevice.Builder deviceActionResults(List<DeviceActionResult> deviceActionResults)
“List of ComplexType deviceActionResult objects. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
deviceActionResults- value ofdeviceActionResultsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
deviceActionResults
public ManagedDevice.Builder deviceActionResults(DeviceActionResult... deviceActionResults)
“List of ComplexType deviceActionResult objects. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
deviceActionResults- value ofdeviceActionResultsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
deviceActionResultsNextLink
public ManagedDevice.Builder deviceActionResultsNextLink(String deviceActionResultsNextLink)
“List of ComplexType deviceActionResult objects. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
deviceActionResultsNextLink- value ofdeviceActionResults@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
deviceCategoryDisplayName
public ManagedDevice.Builder deviceCategoryDisplayName(String deviceCategoryDisplayName)
“Device category display name. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
deviceCategoryDisplayName- value ofdeviceCategoryDisplayNameproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
deviceEnrollmentType
public ManagedDevice.Builder deviceEnrollmentType(DeviceEnrollmentType deviceEnrollmentType)
“Enrollment type of the device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
deviceEnrollmentType- value ofdeviceEnrollmentTypeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
deviceHealthAttestationState
public ManagedDevice.Builder deviceHealthAttestationState(DeviceHealthAttestationState deviceHealthAttestationState)
“The device health attestation state. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
deviceHealthAttestationState- value ofdeviceHealthAttestationStateproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
deviceName
public ManagedDevice.Builder deviceName(String deviceName)
“Name of the device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
deviceName- value ofdeviceNameproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
deviceRegistrationState
public ManagedDevice.Builder deviceRegistrationState(DeviceRegistrationState deviceRegistrationState)
“Device registration state. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
deviceRegistrationState- value ofdeviceRegistrationStateproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
deviceType
public ManagedDevice.Builder deviceType(DeviceType deviceType)
“Platform of the device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
deviceType- value ofdeviceTypeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
easActivated
public ManagedDevice.Builder easActivated(Boolean easActivated)
“Whether the device is Exchange ActiveSync activated. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
easActivated- value ofeasActivatedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
easActivationDateTime
public ManagedDevice.Builder easActivationDateTime(OffsetDateTime easActivationDateTime)
“Exchange ActivationSync activation time of the device. This property is read- only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
easActivationDateTime- value ofeasActivationDateTimeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
easDeviceId
public ManagedDevice.Builder easDeviceId(String easDeviceId)
“Exchange ActiveSync Id of the device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
easDeviceId- value ofeasDeviceIdproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
emailAddress
public ManagedDevice.Builder emailAddress(String emailAddress)
“Email(s) for the user associated with the device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
emailAddress- value ofemailAddressproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
enrolledDateTime
public ManagedDevice.Builder enrolledDateTime(OffsetDateTime enrolledDateTime)
“Enrollment time of the device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
enrolledDateTime- value ofenrolledDateTimeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
enrollmentProfileName
public ManagedDevice.Builder enrollmentProfileName(String enrollmentProfileName)
“Name of the enrollment profile assigned to the device. Default value is empty string, indicating no enrollment profile was assgined. This property is read- only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
enrollmentProfileName- value ofenrollmentProfileNameproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
ethernetMacAddress
public ManagedDevice.Builder ethernetMacAddress(String ethernetMacAddress)
“Ethernet MAC. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
ethernetMacAddress- value ofethernetMacAddressproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
exchangeAccessState
public ManagedDevice.Builder exchangeAccessState(DeviceManagementExchangeAccessState exchangeAccessState)
“The Access State of the device in Exchange. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
exchangeAccessState- value ofexchangeAccessStateproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
exchangeAccessStateReason
public ManagedDevice.Builder exchangeAccessStateReason(DeviceManagementExchangeAccessStateReason exchangeAccessStateReason)
“The reason for the device's access state in Exchange. This property is read-only .”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
exchangeAccessStateReason- value ofexchangeAccessStateReasonproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
exchangeLastSuccessfulSyncDateTime
public ManagedDevice.Builder exchangeLastSuccessfulSyncDateTime(OffsetDateTime exchangeLastSuccessfulSyncDateTime)
“Last time the device contacted Exchange. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
exchangeLastSuccessfulSyncDateTime- value ofexchangeLastSuccessfulSyncDateTimeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
freeStorageSpaceInBytes
public ManagedDevice.Builder freeStorageSpaceInBytes(Long freeStorageSpaceInBytes)
“Free Storage in Bytes. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
freeStorageSpaceInBytes- value offreeStorageSpaceInBytesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
hardwareInformation
public ManagedDevice.Builder hardwareInformation(HardwareInformation hardwareInformation)
“The hardward details for the device. Includes information such as storage space , manufacturer, serial number, etc. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
hardwareInformation- value ofhardwareInformationproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
iccid
public ManagedDevice.Builder iccid(String iccid)
“Integrated Circuit Card Identifier, it is A SIM card's unique identification number. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
iccid- value oficcidproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
imei
public ManagedDevice.Builder imei(String imei)
“IMEI. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
imei- value ofimeiproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
isEncrypted
public ManagedDevice.Builder isEncrypted(Boolean isEncrypted)
“Device encryption status. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
isEncrypted- value ofisEncryptedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
isSupervised
public ManagedDevice.Builder isSupervised(Boolean isSupervised)
“Device supervised status. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
isSupervised- value ofisSupervisedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
jailBroken
public ManagedDevice.Builder jailBroken(String jailBroken)
“whether the device is jail broken or rooted. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
jailBroken- value ofjailBrokenproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
joinType
public ManagedDevice.Builder joinType(JoinType joinType)
“Device join type”- Parameters:
joinType- value ofjoinTypeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
lastSyncDateTime
public ManagedDevice.Builder lastSyncDateTime(OffsetDateTime lastSyncDateTime)
“The date and time that the device last completed a successful sync with Intune. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
lastSyncDateTime- value oflastSyncDateTimeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
lostModeState
public ManagedDevice.Builder lostModeState(LostModeState lostModeState)
“Indicates if Lost mode is enabled or disabled. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
lostModeState- value oflostModeStateproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
managedDeviceName
public ManagedDevice.Builder managedDeviceName(String managedDeviceName)
“Automatically generated name to identify a device. Can be overwritten to a user friendly name.”- Parameters:
managedDeviceName- value ofmanagedDeviceNameproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
managedDeviceOwnerType
public ManagedDevice.Builder managedDeviceOwnerType(ManagedDeviceOwnerType managedDeviceOwnerType)
“Ownership of the device. Can be 'company' or 'personal'”- Parameters:
managedDeviceOwnerType- value ofmanagedDeviceOwnerTypeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
managementAgent
public ManagedDevice.Builder managementAgent(ManagementAgentType managementAgent)
“Management channel of the device. Intune, EAS, etc. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
managementAgent- value ofmanagementAgentproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
managementCertificateExpirationDate
public ManagedDevice.Builder managementCertificateExpirationDate(OffsetDateTime managementCertificateExpirationDate)
“Reports device management certificate expiration date. This property is read- only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
managementCertificateExpirationDate- value ofmanagementCertificateExpirationDateproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
managementFeatures
public ManagedDevice.Builder managementFeatures(ManagedDeviceManagementFeatures managementFeatures)
“Device management features”- Parameters:
managementFeatures- value ofmanagementFeaturesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
managementState
public ManagedDevice.Builder managementState(ManagementState managementState)
“Management state of the device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
managementState- value ofmanagementStateproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
manufacturer
public ManagedDevice.Builder manufacturer(String manufacturer)
“Manufacturer of the device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
manufacturer- value ofmanufacturerproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
meid
public ManagedDevice.Builder meid(String meid)
“MEID. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
meid- value ofmeidproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
model
public ManagedDevice.Builder model(String model)
“Model of the device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
model- value ofmodelproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
notes
public ManagedDevice.Builder notes(String notes)
“Notes on the device created by IT Admin”- Parameters:
notes- value ofnotesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
operatingSystem
public ManagedDevice.Builder operatingSystem(String operatingSystem)
“Operating system of the device. Windows, iOS, etc. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
operatingSystem- value ofoperatingSystemproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
osVersion
public ManagedDevice.Builder osVersion(String osVersion)
“Operating system version of the device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
osVersion- value ofosVersionproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
ownerType
public ManagedDevice.Builder ownerType(OwnerType ownerType)
“Ownership of the device. Can be 'company' or 'personal'”- Parameters:
ownerType- value ofownerTypeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
partnerReportedThreatState
public ManagedDevice.Builder partnerReportedThreatState(ManagedDevicePartnerReportedHealthState partnerReportedThreatState)
“Indicates the threat state of a device when a Mobile Threat Defense partner is in use by the account and device. Read Only. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
partnerReportedThreatState- value ofpartnerReportedThreatStateproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
phoneNumber
public ManagedDevice.Builder phoneNumber(String phoneNumber)
“Phone number of the device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
phoneNumber- value ofphoneNumberproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
physicalMemoryInBytes
public ManagedDevice.Builder physicalMemoryInBytes(Long physicalMemoryInBytes)
“Total Memory in Bytes. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
physicalMemoryInBytes- value ofphysicalMemoryInBytesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
preferMdmOverGroupPolicyAppliedDateTime
public ManagedDevice.Builder preferMdmOverGroupPolicyAppliedDateTime(OffsetDateTime preferMdmOverGroupPolicyAppliedDateTime)
“Reports the DateTime the preferMdmOverGroupPolicy setting was set. When set, the Intune MDM settings will override Group Policy settings if there is a conflict. Read Only. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
preferMdmOverGroupPolicyAppliedDateTime- value ofpreferMdmOverGroupPolicyAppliedDateTimeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
processorArchitecture
public ManagedDevice.Builder processorArchitecture(ManagedDeviceArchitecture processorArchitecture)
“Processor architecture. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
processorArchitecture- value ofprocessorArchitectureproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
remoteAssistanceSessionErrorDetails
public ManagedDevice.Builder remoteAssistanceSessionErrorDetails(String remoteAssistanceSessionErrorDetails)
“An error string that identifies issues when creating Remote Assistance session objects. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
remoteAssistanceSessionErrorDetails- value ofremoteAssistanceSessionErrorDetailsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
remoteAssistanceSessionUrl
public ManagedDevice.Builder remoteAssistanceSessionUrl(String remoteAssistanceSessionUrl)
“Url that allows a Remote Assistance session to be established with the device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
remoteAssistanceSessionUrl- value ofremoteAssistanceSessionUrlproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
requireUserEnrollmentApproval
public ManagedDevice.Builder requireUserEnrollmentApproval(Boolean requireUserEnrollmentApproval)
“Reports if the managed iOS device is user approval enrollment. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
requireUserEnrollmentApproval- value ofrequireUserEnrollmentApprovalproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
retireAfterDateTime
public ManagedDevice.Builder retireAfterDateTime(OffsetDateTime retireAfterDateTime)
“Indicates the time after when a device will be auto retired because of scheduled action. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
retireAfterDateTime- value ofretireAfterDateTimeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
roleScopeTagIds
public ManagedDevice.Builder roleScopeTagIds(List<String> roleScopeTagIds)
“List of Scope Tag IDs for this Device instance.”- Parameters:
roleScopeTagIds- value ofroleScopeTagIdsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
roleScopeTagIds
public ManagedDevice.Builder roleScopeTagIds(String... roleScopeTagIds)
“List of Scope Tag IDs for this Device instance.”- Parameters:
roleScopeTagIds- value ofroleScopeTagIdsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
roleScopeTagIdsNextLink
public ManagedDevice.Builder roleScopeTagIdsNextLink(String roleScopeTagIdsNextLink)
“List of Scope Tag IDs for this Device instance.”- Parameters:
roleScopeTagIdsNextLink- value ofroleScopeTagIds@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
serialNumber
public ManagedDevice.Builder serialNumber(String serialNumber)
“SerialNumber. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
serialNumber- value ofserialNumberproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
skuFamily
public ManagedDevice.Builder skuFamily(String skuFamily)
“Device sku family”- Parameters:
skuFamily- value ofskuFamilyproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
skuNumber
public ManagedDevice.Builder skuNumber(Integer skuNumber)
“Device sku number, see also: https://docs.microsoft.com/en-us/windows/win32/api/ sysinfoapi/nf-sysinfoapi-getproductinfo. Valid values 0 to 2147483647. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
skuNumber- value ofskuNumberproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
specificationVersion
public ManagedDevice.Builder specificationVersion(String specificationVersion)
“Specification version. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
specificationVersion- value ofspecificationVersionproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
subscriberCarrier
public ManagedDevice.Builder subscriberCarrier(String subscriberCarrier)
“Subscriber Carrier. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
subscriberCarrier- value ofsubscriberCarrierproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
totalStorageSpaceInBytes
public ManagedDevice.Builder totalStorageSpaceInBytes(Long totalStorageSpaceInBytes)
“Total Storage in Bytes. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
totalStorageSpaceInBytes- value oftotalStorageSpaceInBytesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
udid
public ManagedDevice.Builder udid(String udid)
“Unique Device Identifier for iOS and macOS devices. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
udid- value ofudidproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
userDisplayName
public ManagedDevice.Builder userDisplayName(String userDisplayName)
“User display name. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
userDisplayName- value ofuserDisplayNameproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
userId
public ManagedDevice.Builder userId(String userId)
“Unique Identifier for the user associated with the device. This property is read -only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
userId- value ofuserIdproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
userPrincipalName
public ManagedDevice.Builder userPrincipalName(String userPrincipalName)
“Device user principal name. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
userPrincipalName- value ofuserPrincipalNameproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
usersLoggedOn
public ManagedDevice.Builder usersLoggedOn(List<LoggedOnUser> usersLoggedOn)
“Indicates the last logged on users of a device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
usersLoggedOn- value ofusersLoggedOnproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
usersLoggedOn
public ManagedDevice.Builder usersLoggedOn(LoggedOnUser... usersLoggedOn)
“Indicates the last logged on users of a device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
usersLoggedOn- value ofusersLoggedOnproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
usersLoggedOnNextLink
public ManagedDevice.Builder usersLoggedOnNextLink(String usersLoggedOnNextLink)
“Indicates the last logged on users of a device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
usersLoggedOnNextLink- value ofusersLoggedOn@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
wiFiMacAddress
public ManagedDevice.Builder wiFiMacAddress(String wiFiMacAddress)
“Wi-Fi MAC. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
wiFiMacAddress- value ofwiFiMacAddressproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
windowsActiveMalwareCount
public ManagedDevice.Builder windowsActiveMalwareCount(Integer windowsActiveMalwareCount)
“Count of active malware for this windows device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
windowsActiveMalwareCount- value ofwindowsActiveMalwareCountproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
windowsRemediatedMalwareCount
public ManagedDevice.Builder windowsRemediatedMalwareCount(Integer windowsRemediatedMalwareCount)
“Count of remediated malware for this windows device. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
windowsRemediatedMalwareCount- value ofwindowsRemediatedMalwareCountproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public ManagedDevice build()
-
-