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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeviceMinutes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceMinutes
clone()
boolean
equals(Object obj)
Double
getMetered()
When specified, represents only the sum of metered minutes used by the resource to run tests.Double
getTotal()
When specified, represents the total minutes used by the resource to run tests.Double
getUnmetered()
When specified, represents only the sum of unmetered minutes used by the resource to run tests.int
hashCode()
void
setMetered(Double metered)
When specified, represents only the sum of metered minutes used by the resource to run tests.void
setTotal(Double total)
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.DeviceMinutes
withMetered(Double metered)
When specified, represents only the sum of metered minutes used by the resource to run tests.DeviceMinutes
withTotal(Double total)
When specified, represents the total minutes used by the resource to run tests.DeviceMinutes
withUnmetered(Double unmetered)
When specified, represents only the sum of unmetered minutes used by the resource to run tests.
-
-
-
Method Detail
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DeviceMinutes clone()
-
-