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:
  • Constructor Details

    • Counters

      public Counters()
  • Method Details

    • 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 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 Counters clone()
      Overrides:
      clone in class Object