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 Counters
clone()
boolean
equals(Object obj)
Integer
getErrored()
The number of errored entities.Integer
getFailed()
The number of failed entities.Integer
getPassed()
The number of passed entities.Integer
getSkipped()
The number of skipped entities.Integer
getStopped()
The number of stopped entities.Integer
getTotal()
The total number of entities.Integer
getWarned()
The number of warned entities.int
hashCode()
void
setErrored(Integer errored)
The number of errored entities.void
setFailed(Integer failed)
The number of failed entities.void
setPassed(Integer passed)
The number of passed entities.void
setSkipped(Integer skipped)
The number of skipped entities.void
setStopped(Integer stopped)
The number of stopped entities.void
setTotal(Integer total)
The total number of entities.void
setWarned(Integer warned)
The number of warned entities.String
toString()
Returns a string representation of this object; useful for testing and debugging.Counters
withErrored(Integer errored)
The number of errored entities.Counters
withFailed(Integer failed)
The number of failed entities.Counters
withPassed(Integer passed)
The number of passed entities.Counters
withSkipped(Integer skipped)
The number of skipped entities.Counters
withStopped(Integer stopped)
The number of stopped entities.Counters
withTotal(Integer total)
The total number of entities.Counters
withWarned(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-