Class CloseStatusFilter

java.lang.Object
com.amazonaws.services.simpleworkflow.model.CloseStatusFilter
All Implemented Interfaces:
Serializable, Cloneable

public class CloseStatusFilter extends Object implements Serializable, Cloneable

Used to filter the closed workflow executions in visibility APIs by their close status.

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
    Required. The close status that must match the close status of an execution for it to meet the criteria of this filter.
    int
     
    void
    Required. The close status that must match the close status of an execution for it to meet the criteria of this filter.
    void
    setStatus(String status)
    Required. The close status that must match the close status of an execution for it to meet the criteria of this filter.
    Returns a string representation of this object; useful for testing and debugging.
    Required. The close status that must match the close status of an execution for it to meet the criteria of this filter.
    Required. The close status that must match the close status of an execution for it to meet the criteria of this filter.

    Methods inherited from class java.lang.Object

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

    • CloseStatusFilter

      public CloseStatusFilter()
  • Method Details

    • setStatus

      public void setStatus(String status)

      Required. The close status that must match the close status of an execution for it to meet the criteria of this filter.

      Parameters:
      status - Required.
      See Also:
    • getStatus

      public String getStatus()

      Required. The close status that must match the close status of an execution for it to meet the criteria of this filter.

      Returns:
      Required.
      See Also:
    • withStatus

      public CloseStatusFilter withStatus(String status)

      Required. The close status that must match the close status of an execution for it to meet the criteria of this filter.

      Parameters:
      status - Required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setStatus

      public void setStatus(CloseStatus status)

      Required. The close status that must match the close status of an execution for it to meet the criteria of this filter.

      Parameters:
      status - Required.
      See Also:
    • withStatus

      public CloseStatusFilter withStatus(CloseStatus status)

      Required. The close status that must match the close status of an execution for it to meet the criteria of this filter.

      Parameters:
      status - Required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 CloseStatusFilter clone()
      Overrides:
      clone in class Object