Class Counters
- java.lang.Object
-
- com.amazonaws.services.devicefarm.model.Counters
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Counters extends Object implements Serializable, Cloneable
Represents entity counters.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Counters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Countersclone()booleanequals(Object obj)IntegergetErrored()The number of errored entities.IntegergetFailed()The number of failed entities.IntegergetPassed()The number of passed entities.IntegergetSkipped()The number of skipped entities.IntegergetStopped()The number of stopped entities.IntegergetTotal()The total number of entities.IntegergetWarned()The number of warned entities.inthashCode()voidsetErrored(Integer errored)The number of errored entities.voidsetFailed(Integer failed)The number of failed entities.voidsetPassed(Integer passed)The number of passed entities.voidsetSkipped(Integer skipped)The number of skipped entities.voidsetStopped(Integer stopped)The number of stopped entities.voidsetTotal(Integer total)The total number of entities.voidsetWarned(Integer warned)The number of warned entities.StringtoString()Returns a string representation of this object; useful for testing and debugging.CounterswithErrored(Integer errored)The number of errored entities.CounterswithFailed(Integer failed)The number of failed entities.CounterswithPassed(Integer passed)The number of passed entities.CounterswithSkipped(Integer skipped)The number of skipped entities.CounterswithStopped(Integer stopped)The number of stopped entities.CounterswithTotal(Integer total)The total number of entities.CounterswithWarned(Integer warned)The number of warned entities.
-
-
-
Method Detail
-
setTotal
public void setTotal(Integer total)
The total number of entities.
- Parameters:
total- The total number of entities.
-
getTotal
public Integer getTotal()
The total number of entities.
- Returns:
- The total number of entities.
-
withTotal
public Counters withTotal(Integer total)
The total number of entities.
- Parameters:
total- The total number of entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPassed
public void setPassed(Integer passed)
The number of passed entities.
- Parameters:
passed- The number of passed entities.
-
getPassed
public Integer getPassed()
The number of passed entities.
- Returns:
- The number of passed entities.
-
withPassed
public Counters withPassed(Integer passed)
The number of passed entities.
- Parameters:
passed- The number of passed entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFailed
public void setFailed(Integer failed)
The number of failed entities.
- Parameters:
failed- The number of failed entities.
-
getFailed
public Integer getFailed()
The number of failed entities.
- Returns:
- The number of failed entities.
-
withFailed
public Counters withFailed(Integer failed)
The number of failed entities.
- Parameters:
failed- The number of failed entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setWarned
public void setWarned(Integer warned)
The number of warned entities.
- Parameters:
warned- The number of warned entities.
-
getWarned
public Integer getWarned()
The number of warned entities.
- Returns:
- The number of warned entities.
-
withWarned
public Counters withWarned(Integer warned)
The number of warned entities.
- Parameters:
warned- The number of warned entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setErrored
public void setErrored(Integer errored)
The number of errored entities.
- Parameters:
errored- The number of errored entities.
-
getErrored
public Integer getErrored()
The number of errored entities.
- Returns:
- The number of errored entities.
-
withErrored
public Counters withErrored(Integer errored)
The number of errored entities.
- Parameters:
errored- The number of errored entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStopped
public void setStopped(Integer stopped)
The number of stopped entities.
- Parameters:
stopped- The number of stopped entities.
-
getStopped
public Integer getStopped()
The number of stopped entities.
- Returns:
- The number of stopped entities.
-
withStopped
public Counters withStopped(Integer stopped)
The number of stopped entities.
- Parameters:
stopped- The number of stopped entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSkipped
public void setSkipped(Integer skipped)
The number of skipped entities.
- Parameters:
skipped- The number of skipped entities.
-
getSkipped
public Integer getSkipped()
The number of skipped entities.
- Returns:
- The number of skipped entities.
-
withSkipped
public Counters withSkipped(Integer skipped)
The number of skipped entities.
- Parameters:
skipped- The number of skipped entities.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-