Package odata.msgraph.client.complex
Class IosNetworkUsageRule.Builder
- java.lang.Object
-
- odata.msgraph.client.complex.IosNetworkUsageRule.Builder
-
- Enclosing class:
- IosNetworkUsageRule
public static final class IosNetworkUsageRule.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IosNetworkUsageRulebuild()IosNetworkUsageRule.BuildercellularDataBlocked(Boolean cellularDataBlocked)“If set to true, corresponding managed apps will not be allowed to use cellular data at any time.”IosNetworkUsageRule.BuildercellularDataBlockWhenRoaming(Boolean cellularDataBlockWhenRoaming)“If set to true, corresponding managed apps will not be allowed to use cellular data when roaming.”IosNetworkUsageRule.BuildermanagedApps(List<AppListItem> managedApps)“Information about the managed apps that this rule is going to apply to.IosNetworkUsageRule.BuildermanagedApps(AppListItem... managedApps)“Information about the managed apps that this rule is going to apply to.IosNetworkUsageRule.BuildermanagedAppsNextLink(String managedAppsNextLink)“Information about the managed apps that this rule is going to apply to.
-
-
-
Method Detail
-
cellularDataBlocked
public IosNetworkUsageRule.Builder cellularDataBlocked(Boolean cellularDataBlocked)
“If set to true, corresponding managed apps will not be allowed to use cellular data at any time.”- Parameters:
cellularDataBlocked- value ofcellularDataBlockedproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
cellularDataBlockWhenRoaming
public IosNetworkUsageRule.Builder cellularDataBlockWhenRoaming(Boolean cellularDataBlockWhenRoaming)
“If set to true, corresponding managed apps will not be allowed to use cellular data when roaming.”- Parameters:
cellularDataBlockWhenRoaming- value ofcellularDataBlockWhenRoamingproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
managedApps
public IosNetworkUsageRule.Builder managedApps(List<AppListItem> managedApps)
“Information about the managed apps that this rule is going to apply to. This collection can contain a maximum of 500 elements.”- Parameters:
managedApps- value ofmanagedAppsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
managedApps
public IosNetworkUsageRule.Builder managedApps(AppListItem... managedApps)
“Information about the managed apps that this rule is going to apply to. This collection can contain a maximum of 500 elements.”- Parameters:
managedApps- value ofmanagedAppsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
managedAppsNextLink
public IosNetworkUsageRule.Builder managedAppsNextLink(String managedAppsNextLink)
“Information about the managed apps that this rule is going to apply to. This collection can contain a maximum of 500 elements.”- Parameters:
managedAppsNextLink- value ofmanagedApps@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public IosNetworkUsageRule build()
-
-