java.lang.Object
com.amazonaws.services.elasticbeanstalk.model.StatusCodes
All Implemented Interfaces:
Serializable, Cloneable

public class StatusCodes extends Object implements Serializable, Cloneable

Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response. For more information, see Status Code Definitions.

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
    The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.
    The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.
    The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.
    The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.
    int
     
    void
    setStatus2xx(Integer status2xx)
    The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.
    void
    setStatus3xx(Integer status3xx)
    The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.
    void
    setStatus4xx(Integer status4xx)
    The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.
    void
    setStatus5xx(Integer status5xx)
    The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.
    Returns a string representation of this object; useful for testing and debugging.
    The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.
    The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.
    The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.
    The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.

    Methods inherited from class java.lang.Object

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

    • StatusCodes

      public StatusCodes()
  • Method Details

    • setStatus2xx

      public void setStatus2xx(Integer status2xx)

      The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.

      Parameters:
      status2xx - The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.
    • getStatus2xx

      public Integer getStatus2xx()

      The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.

      Returns:
      The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.
    • withStatus2xx

      public StatusCodes withStatus2xx(Integer status2xx)

      The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.

      Parameters:
      status2xx - The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setStatus3xx

      public void setStatus3xx(Integer status3xx)

      The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.

      Parameters:
      status3xx - The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.
    • getStatus3xx

      public Integer getStatus3xx()

      The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.

      Returns:
      The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.
    • withStatus3xx

      public StatusCodes withStatus3xx(Integer status3xx)

      The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.

      Parameters:
      status3xx - The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setStatus4xx

      public void setStatus4xx(Integer status4xx)

      The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.

      Parameters:
      status4xx - The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.
    • getStatus4xx

      public Integer getStatus4xx()

      The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.

      Returns:
      The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.
    • withStatus4xx

      public StatusCodes withStatus4xx(Integer status4xx)

      The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.

      Parameters:
      status4xx - The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setStatus5xx

      public void setStatus5xx(Integer status5xx)

      The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.

      Parameters:
      status5xx - The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.
    • getStatus5xx

      public Integer getStatus5xx()

      The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.

      Returns:
      The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.
    • withStatus5xx

      public StatusCodes withStatus5xx(Integer status5xx)

      The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.

      Parameters:
      status5xx - The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.
      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 StatusCodes clone()
      Overrides:
      clone in class Object