Class DeviceMinutes

java.lang.Object
com.amazonaws.services.devicefarm.model.DeviceMinutes
All Implemented Interfaces:
Serializable, Cloneable

public class DeviceMinutes extends Object implements Serializable, Cloneable

Represents the total (metered or unmetered) minutes used by the resource to run tests. Contains the sum of minutes consumed by all children.

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
    When specified, represents only the sum of metered minutes used by the resource to run tests.
    When specified, represents the total minutes used by the resource to run tests.
    When specified, represents only the sum of unmetered minutes used by the resource to run tests.
    int
     
    void
    setMetered(Double metered)
    When specified, represents only the sum of metered minutes used by the resource to run tests.
    void
    When specified, represents the total minutes used by the resource to run tests.
    void
    setUnmetered(Double unmetered)
    When specified, represents only the sum of unmetered minutes used by the resource to run tests.
    Returns a string representation of this object; useful for testing and debugging.
    When specified, represents only the sum of metered minutes used by the resource to run tests.
    When specified, represents the total minutes used by the resource to run tests.
    withUnmetered(Double unmetered)
    When specified, represents only the sum of unmetered minutes used by the resource to run tests.

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DeviceMinutes

      public DeviceMinutes()
  • Method Details

    • setTotal

      public void setTotal(Double total)

      When specified, represents the total minutes used by the resource to run tests.

      Parameters:
      total - When specified, represents the total minutes used by the resource to run tests.
    • getTotal

      public Double getTotal()

      When specified, represents the total minutes used by the resource to run tests.

      Returns:
      When specified, represents the total minutes used by the resource to run tests.
    • withTotal

      public DeviceMinutes withTotal(Double total)

      When specified, represents the total minutes used by the resource to run tests.

      Parameters:
      total - When specified, represents the total minutes used by the resource to run tests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMetered

      public void setMetered(Double metered)

      When specified, represents only the sum of metered minutes used by the resource to run tests.

      Parameters:
      metered - When specified, represents only the sum of metered minutes used by the resource to run tests.
    • getMetered

      public Double getMetered()

      When specified, represents only the sum of metered minutes used by the resource to run tests.

      Returns:
      When specified, represents only the sum of metered minutes used by the resource to run tests.
    • withMetered

      public DeviceMinutes withMetered(Double metered)

      When specified, represents only the sum of metered minutes used by the resource to run tests.

      Parameters:
      metered - When specified, represents only the sum of metered minutes used by the resource to run tests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setUnmetered

      public void setUnmetered(Double unmetered)

      When specified, represents only the sum of unmetered minutes used by the resource to run tests.

      Parameters:
      unmetered - When specified, represents only the sum of unmetered minutes used by the resource to run tests.
    • getUnmetered

      public Double getUnmetered()

      When specified, represents only the sum of unmetered minutes used by the resource to run tests.

      Returns:
      When specified, represents only the sum of unmetered minutes used by the resource to run tests.
    • withUnmetered

      public DeviceMinutes withUnmetered(Double unmetered)

      When specified, represents only the sum of unmetered minutes used by the resource to run tests.

      Parameters:
      unmetered - When specified, represents only the sum of unmetered minutes used by the resource to run tests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public DeviceMinutes clone()
      Overrides:
      clone in class Object