Class IosNetworkUsageRule.Builder

    • 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 of cellularDataBlocked property (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 of cellularDataBlockWhenRoaming property (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 of managedApps property (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 of managedApps property (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 of managedApps@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)