Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class CloseStatusFilter

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.model.CloseStatusFilter
All Implemented Interfaces:
Serializable

public class CloseStatusFilter
extends Object
implements Serializable

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

See Also:
Serialized Form

Constructor Summary
CloseStatusFilter()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getStatus()
          The close status that must match the close status of an execution for it to meet the criteria of this filter.
 int hashCode()
           
 void setStatus(CloseStatus status)
          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)
          The close status that must match the close status of an execution for it to meet the criteria of this filter.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CloseStatusFilter withStatus(CloseStatus status)
          The close status that must match the close status of an execution for it to meet the criteria of this filter.
 CloseStatusFilter withStatus(String status)
          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
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CloseStatusFilter

public CloseStatusFilter()
Method Detail

getStatus

public String getStatus()
The close status that must match the close status of an execution for it to meet the criteria of this filter. This field is required.

Constraints:
Allowed Values: COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT

Returns:
The close status that must match the close status of an execution for it to meet the criteria of this filter. This field is required.
See Also:
CloseStatus

setStatus

public void setStatus(String status)
The close status that must match the close status of an execution for it to meet the criteria of this filter. This field is required.

Constraints:
Allowed Values: COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT

Parameters:
status - The close status that must match the close status of an execution for it to meet the criteria of this filter. This field is required.
See Also:
CloseStatus

withStatus

public CloseStatusFilter withStatus(String status)
The close status that must match the close status of an execution for it to meet the criteria of this filter. This field is required.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT

Parameters:
status - The close status that must match the close status of an execution for it to meet the criteria of this filter. This field is required.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
CloseStatus

setStatus

public void setStatus(CloseStatus status)
The close status that must match the close status of an execution for it to meet the criteria of this filter. This field is required.

Constraints:
Allowed Values: COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT

Parameters:
status - The close status that must match the close status of an execution for it to meet the criteria of this filter. This field is required.
See Also:
CloseStatus

withStatus

public CloseStatusFilter withStatus(CloseStatus status)
The close status that must match the close status of an execution for it to meet the criteria of this filter. This field is required.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT

Parameters:
status - The close status that must match the close status of an execution for it to meet the criteria of this filter. This field is required.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
CloseStatus

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:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.