public class CloseStatusFilter extends Object implements Serializable
Used to filter the closed workflow executions in visibility APIs by their close status.
| Constructor and Description |
|---|
CloseStatusFilter() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public String getStatus()
Constraints:
Allowed Values: COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT
CloseStatuspublic void setStatus(String status)
Constraints:
Allowed Values: COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT
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.CloseStatuspublic CloseStatusFilter withStatus(String status)
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
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.CloseStatuspublic void setStatus(CloseStatus status)
Constraints:
Allowed Values: COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT
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.CloseStatuspublic CloseStatusFilter withStatus(CloseStatus status)
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
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.CloseStatuspublic String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.