to top
Datalogic APIs
public static class

EnterpriseBatterySaverProfiles.Builder

extends Object
java.lang.Object
   ↳ com.datalogic.device.configuration.EnterpriseBatterySaverProfiles.Builder

Class Overview

Builder for the EnterpriseBatterySaverProfiles.

Summary

Public Constructors
Builder()
Create a new Builder for the EnterpriseBatterySaverProfiles object with an initial empty list of profiles.
Public Methods
EnterpriseBatterySaverProfiles.Builder addProfile(EnterpriseBatterySaverProfiles.Profile profile)
Add a profile to the list.
EnterpriseBatterySaverProfiles build()
Build and return a newly created EnterpriseBatterySaverProfiles object.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Builder ()

Added in revision 44

Create a new Builder for the EnterpriseBatterySaverProfiles object with an initial empty list of profiles.

Public Methods

public EnterpriseBatterySaverProfiles.Builder addProfile (EnterpriseBatterySaverProfiles.Profile profile)

Added in revision 44

Add a profile to the list.

Parameters
profile The profile to add.
Throws
IllegalArgumentException if the profile is null.

public EnterpriseBatterySaverProfiles build ()

Added in revision 44

Build and return a newly created EnterpriseBatterySaverProfiles object. The created object is guaranteed to be valid and ready to use.

Returns
  • The EnterpriseBatterySaverProfiles object.