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:
java.io.Serializable

public class CloseStatusFilter
extends java.lang.Object
implements java.io.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(java.lang.Object obj)
           
 java.lang.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(java.lang.String status)
          The close status that must match the close status of an execution for it to meet the criteria of this filter.
 java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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