Package odata.msgraph.client.beta.entity
Class DeviceManagementExchangeOnPremisesPolicy.Builder
- java.lang.Object
-
- odata.msgraph.client.beta.entity.DeviceManagementExchangeOnPremisesPolicy.Builder
-
- Enclosing class:
- DeviceManagementExchangeOnPremisesPolicy
public static final class DeviceManagementExchangeOnPremisesPolicy.Builder extends Object
-
-
Method Summary
-
-
-
Method Detail
-
id
public DeviceManagementExchangeOnPremisesPolicy.Builder id(String id)
-
accessRules
public DeviceManagementExchangeOnPremisesPolicy.Builder accessRules(List<DeviceManagementExchangeAccessRule> accessRules)
“The list of device access rules in Exchange. The access rules apply globally to the entire Exchange organization”- Parameters:
accessRules- value ofaccessRulesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
accessRules
public DeviceManagementExchangeOnPremisesPolicy.Builder accessRules(DeviceManagementExchangeAccessRule... accessRules)
“The list of device access rules in Exchange. The access rules apply globally to the entire Exchange organization”- Parameters:
accessRules- value ofaccessRulesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
accessRulesNextLink
public DeviceManagementExchangeOnPremisesPolicy.Builder accessRulesNextLink(String accessRulesNextLink)
“The list of device access rules in Exchange. The access rules apply globally to the entire Exchange organization”- Parameters:
accessRulesNextLink- value ofaccessRules@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
defaultAccessLevel
public DeviceManagementExchangeOnPremisesPolicy.Builder defaultAccessLevel(DeviceManagementExchangeAccessLevel defaultAccessLevel)
“Default access state in Exchange. This rule applies globally to the entire Exchange organization”- Parameters:
defaultAccessLevel- value ofdefaultAccessLevelproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
knownDeviceClasses
public DeviceManagementExchangeOnPremisesPolicy.Builder knownDeviceClasses(List<DeviceManagementExchangeDeviceClass> knownDeviceClasses)
“The list of device classes known to Exchange”- Parameters:
knownDeviceClasses- value ofknownDeviceClassesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
knownDeviceClasses
public DeviceManagementExchangeOnPremisesPolicy.Builder knownDeviceClasses(DeviceManagementExchangeDeviceClass... knownDeviceClasses)
“The list of device classes known to Exchange”- Parameters:
knownDeviceClasses- value ofknownDeviceClassesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
knownDeviceClassesNextLink
public DeviceManagementExchangeOnPremisesPolicy.Builder knownDeviceClassesNextLink(String knownDeviceClassesNextLink)
“The list of device classes known to Exchange”- Parameters:
knownDeviceClassesNextLink- value ofknownDeviceClasses@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
notificationContent
public DeviceManagementExchangeOnPremisesPolicy.Builder notificationContent(byte[] notificationContent)
“Notification text that will be sent to users quarantined by this policy. This is UTF8 encoded byte array HTML.”- Parameters:
notificationContent- value ofnotificationContentproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public DeviceManagementExchangeOnPremisesPolicy build()
-
-