Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class ListClosedWorkflowExecutionsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.simpleworkflow.model.ListClosedWorkflowExecutionsRequest

public class ListClosedWorkflowExecutionsRequest
extends AmazonWebServiceRequest

Container for the parameters to the ListClosedWorkflowExecutions operation.

Returns a list of closed workflow executions in the specified domain that meet the filtering criteria. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call.

NOTE: This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

See Also:
AmazonSimpleWorkflow.listClosedWorkflowExecutions(ListClosedWorkflowExecutionsRequest)

Constructor Summary
ListClosedWorkflowExecutionsRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 CloseStatusFilter getCloseStatusFilter()
          If specified, only workflow executions that match this close status are listed.
 ExecutionTimeFilter getCloseTimeFilter()
          If specified, the workflow executions are included in the returned results based on whether their close times are within the range specified by this filter.
 java.lang.String getDomain()
          The name of the domain that contains the workflow executions to list.
 WorkflowExecutionFilter getExecutionFilter()
          If specified, only workflow executions matching the workflow id specified in the filter are returned.
 java.lang.Integer getMaximumPageSize()
          The maximum number of results returned in each page.
 java.lang.String getNextPageToken()
          If on a previous call to this method a NextPageToken was returned, the results are being paginated.
 java.lang.Boolean getReverseOrder()
          When set to true, returns the results in reverse order.
 ExecutionTimeFilter getStartTimeFilter()
          If specified, the workflow executions are included in the returned results based on whether their start times are within the range specified by this filter.
 TagFilter getTagFilter()
          If specified, only executions that have the matching tag are listed.
 WorkflowTypeFilter getTypeFilter()
          If specified, only executions of the type specified in the filter are returned.
 int hashCode()
           
 java.lang.Boolean isReverseOrder()
          When set to true, returns the results in reverse order.
 void setCloseStatusFilter(CloseStatusFilter closeStatusFilter)
          If specified, only workflow executions that match this close status are listed.
 void setCloseTimeFilter(ExecutionTimeFilter closeTimeFilter)
          If specified, the workflow executions are included in the returned results based on whether their close times are within the range specified by this filter.
 void setDomain(java.lang.String domain)
          The name of the domain that contains the workflow executions to list.
 void setExecutionFilter(WorkflowExecutionFilter executionFilter)
          If specified, only workflow executions matching the workflow id specified in the filter are returned.
 void setMaximumPageSize(java.lang.Integer maximumPageSize)
          The maximum number of results returned in each page.
 void setNextPageToken(java.lang.String nextPageToken)
          If on a previous call to this method a NextPageToken was returned, the results are being paginated.
 void setReverseOrder(java.lang.Boolean reverseOrder)
          When set to true, returns the results in reverse order.
 void setStartTimeFilter(ExecutionTimeFilter startTimeFilter)
          If specified, the workflow executions are included in the returned results based on whether their start times are within the range specified by this filter.
 void setTagFilter(TagFilter tagFilter)
          If specified, only executions that have the matching tag are listed.
 void setTypeFilter(WorkflowTypeFilter typeFilter)
          If specified, only executions of the type specified in the filter are returned.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ListClosedWorkflowExecutionsRequest withCloseStatusFilter(CloseStatusFilter closeStatusFilter)
          If specified, only workflow executions that match this close status are listed.
 ListClosedWorkflowExecutionsRequest withCloseTimeFilter(ExecutionTimeFilter closeTimeFilter)
          If specified, the workflow executions are included in the returned results based on whether their close times are within the range specified by this filter.
 ListClosedWorkflowExecutionsRequest withDomain(java.lang.String domain)
          The name of the domain that contains the workflow executions to list.
 ListClosedWorkflowExecutionsRequest withExecutionFilter(WorkflowExecutionFilter executionFilter)
          If specified, only workflow executions matching the workflow id specified in the filter are returned.
 ListClosedWorkflowExecutionsRequest withMaximumPageSize(java.lang.Integer maximumPageSize)
          The maximum number of results returned in each page.
 ListClosedWorkflowExecutionsRequest withNextPageToken(java.lang.String nextPageToken)
          If on a previous call to this method a NextPageToken was returned, the results are being paginated.
 ListClosedWorkflowExecutionsRequest withReverseOrder(java.lang.Boolean reverseOrder)
          When set to true, returns the results in reverse order.
 ListClosedWorkflowExecutionsRequest withStartTimeFilter(ExecutionTimeFilter startTimeFilter)
          If specified, the workflow executions are included in the returned results based on whether their start times are within the range specified by this filter.
 ListClosedWorkflowExecutionsRequest withTagFilter(TagFilter tagFilter)
          If specified, only executions that have the matching tag are listed.
 ListClosedWorkflowExecutionsRequest withTypeFilter(WorkflowTypeFilter typeFilter)
          If specified, only executions of the type specified in the filter are returned.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListClosedWorkflowExecutionsRequest

public ListClosedWorkflowExecutionsRequest()
Method Detail

getDomain

public java.lang.String getDomain()
The name of the domain that contains the workflow executions to list.

Constraints:
Length: 1 - 256

Returns:
The name of the domain that contains the workflow executions to list.

setDomain

public void setDomain(java.lang.String domain)
The name of the domain that contains the workflow executions to list.

Constraints:
Length: 1 - 256

Parameters:
domain - The name of the domain that contains the workflow executions to list.

withDomain

public ListClosedWorkflowExecutionsRequest withDomain(java.lang.String domain)
The name of the domain that contains the workflow executions to list.

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

Constraints:
Length: 1 - 256

Parameters:
domain - The name of the domain that contains the workflow executions to list.
Returns:
A reference to this updated object so that method calls can be chained together.

getStartTimeFilter

public ExecutionTimeFilter getStartTimeFilter()
If specified, the workflow executions are included in the returned results based on whether their start times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their start times. startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both.

Returns:
If specified, the workflow executions are included in the returned results based on whether their start times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their start times. startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both.

setStartTimeFilter

public void setStartTimeFilter(ExecutionTimeFilter startTimeFilter)
If specified, the workflow executions are included in the returned results based on whether their start times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their start times. startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both.

Parameters:
startTimeFilter - If specified, the workflow executions are included in the returned results based on whether their start times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their start times. startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both.

withStartTimeFilter

public ListClosedWorkflowExecutionsRequest withStartTimeFilter(ExecutionTimeFilter startTimeFilter)
If specified, the workflow executions are included in the returned results based on whether their start times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their start times. startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both.

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

Parameters:
startTimeFilter - If specified, the workflow executions are included in the returned results based on whether their start times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their start times. startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both.
Returns:
A reference to this updated object so that method calls can be chained together.

getCloseTimeFilter

public ExecutionTimeFilter getCloseTimeFilter()
If specified, the workflow executions are included in the returned results based on whether their close times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their close times. startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both.

Returns:
If specified, the workflow executions are included in the returned results based on whether their close times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their close times. startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both.

setCloseTimeFilter

public void setCloseTimeFilter(ExecutionTimeFilter closeTimeFilter)
If specified, the workflow executions are included in the returned results based on whether their close times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their close times. startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both.

Parameters:
closeTimeFilter - If specified, the workflow executions are included in the returned results based on whether their close times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their close times. startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both.

withCloseTimeFilter

public ListClosedWorkflowExecutionsRequest withCloseTimeFilter(ExecutionTimeFilter closeTimeFilter)
If specified, the workflow executions are included in the returned results based on whether their close times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their close times. startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both.

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

Parameters:
closeTimeFilter - If specified, the workflow executions are included in the returned results based on whether their close times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their close times. startTimeFilter and closeTimeFilter are mutually exclusive. You must specify one of these in a request but not both.
Returns:
A reference to this updated object so that method calls can be chained together.

getExecutionFilter

public WorkflowExecutionFilter getExecutionFilter()
If specified, only workflow executions matching the workflow id specified in the filter are returned. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

Returns:
If specified, only workflow executions matching the workflow id specified in the filter are returned. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

setExecutionFilter

public void setExecutionFilter(WorkflowExecutionFilter executionFilter)
If specified, only workflow executions matching the workflow id specified in the filter are returned. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

Parameters:
executionFilter - If specified, only workflow executions matching the workflow id specified in the filter are returned. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

withExecutionFilter

public ListClosedWorkflowExecutionsRequest withExecutionFilter(WorkflowExecutionFilter executionFilter)
If specified, only workflow executions matching the workflow id specified in the filter are returned. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

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

Parameters:
executionFilter - If specified, only workflow executions matching the workflow id specified in the filter are returned. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.
Returns:
A reference to this updated object so that method calls can be chained together.

getCloseStatusFilter

public CloseStatusFilter getCloseStatusFilter()
If specified, only workflow executions that match this close status are listed. For example, if TERMINATED is specified, then only TERMINATED workflow executions are listed. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

Returns:
If specified, only workflow executions that match this close status are listed. For example, if TERMINATED is specified, then only TERMINATED workflow executions are listed. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

setCloseStatusFilter

public void setCloseStatusFilter(CloseStatusFilter closeStatusFilter)
If specified, only workflow executions that match this close status are listed. For example, if TERMINATED is specified, then only TERMINATED workflow executions are listed. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

Parameters:
closeStatusFilter - If specified, only workflow executions that match this close status are listed. For example, if TERMINATED is specified, then only TERMINATED workflow executions are listed. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

withCloseStatusFilter

public ListClosedWorkflowExecutionsRequest withCloseStatusFilter(CloseStatusFilter closeStatusFilter)
If specified, only workflow executions that match this close status are listed. For example, if TERMINATED is specified, then only TERMINATED workflow executions are listed. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

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

Parameters:
closeStatusFilter - If specified, only workflow executions that match this close status are listed. For example, if TERMINATED is specified, then only TERMINATED workflow executions are listed. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.
Returns:
A reference to this updated object so that method calls can be chained together.

getTypeFilter

public WorkflowTypeFilter getTypeFilter()
If specified, only executions of the type specified in the filter are returned. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

Returns:
If specified, only executions of the type specified in the filter are returned. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

setTypeFilter

public void setTypeFilter(WorkflowTypeFilter typeFilter)
If specified, only executions of the type specified in the filter are returned. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

Parameters:
typeFilter - If specified, only executions of the type specified in the filter are returned. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

withTypeFilter

public ListClosedWorkflowExecutionsRequest withTypeFilter(WorkflowTypeFilter typeFilter)
If specified, only executions of the type specified in the filter are returned. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

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

Parameters:
typeFilter - If specified, only executions of the type specified in the filter are returned. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.
Returns:
A reference to this updated object so that method calls can be chained together.

getTagFilter

public TagFilter getTagFilter()
If specified, only executions that have the matching tag are listed. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

Returns:
If specified, only executions that have the matching tag are listed. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

setTagFilter

public void setTagFilter(TagFilter tagFilter)
If specified, only executions that have the matching tag are listed. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

Parameters:
tagFilter - If specified, only executions that have the matching tag are listed. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

withTagFilter

public ListClosedWorkflowExecutionsRequest withTagFilter(TagFilter tagFilter)
If specified, only executions that have the matching tag are listed. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.

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

Parameters:
tagFilter - If specified, only executions that have the matching tag are listed. closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.
Returns:
A reference to this updated object so that method calls can be chained together.

getNextPageToken

public java.lang.String getNextPageToken()
If on a previous call to this method a NextPageToken was returned, the results are being paginated. To get the next page of results, repeat the call with the returned token and all other arguments unchanged.

Constraints:
Length: 0 - 2048

Returns:
If on a previous call to this method a NextPageToken was returned, the results are being paginated. To get the next page of results, repeat the call with the returned token and all other arguments unchanged.

setNextPageToken

public void setNextPageToken(java.lang.String nextPageToken)
If on a previous call to this method a NextPageToken was returned, the results are being paginated. To get the next page of results, repeat the call with the returned token and all other arguments unchanged.

Constraints:
Length: 0 - 2048

Parameters:
nextPageToken - If on a previous call to this method a NextPageToken was returned, the results are being paginated. To get the next page of results, repeat the call with the returned token and all other arguments unchanged.

withNextPageToken

public ListClosedWorkflowExecutionsRequest withNextPageToken(java.lang.String nextPageToken)
If on a previous call to this method a NextPageToken was returned, the results are being paginated. To get the next page of results, repeat the call with the returned token and all other arguments unchanged.

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

Constraints:
Length: 0 - 2048

Parameters:
nextPageToken - If on a previous call to this method a NextPageToken was returned, the results are being paginated. To get the next page of results, repeat the call with the returned token and all other arguments unchanged.
Returns:
A reference to this updated object so that method calls can be chained together.

getMaximumPageSize

public java.lang.Integer getMaximumPageSize()
The maximum number of results returned in each page. The default is 100, but the caller can override this value to a page size smaller than the default. You cannot specify a page size greater than 100.

Constraints:
Range: 0 - 1000

Returns:
The maximum number of results returned in each page. The default is 100, but the caller can override this value to a page size smaller than the default. You cannot specify a page size greater than 100.

setMaximumPageSize

public void setMaximumPageSize(java.lang.Integer maximumPageSize)
The maximum number of results returned in each page. The default is 100, but the caller can override this value to a page size smaller than the default. You cannot specify a page size greater than 100.

Constraints:
Range: 0 - 1000

Parameters:
maximumPageSize - The maximum number of results returned in each page. The default is 100, but the caller can override this value to a page size smaller than the default. You cannot specify a page size greater than 100.

withMaximumPageSize

public ListClosedWorkflowExecutionsRequest withMaximumPageSize(java.lang.Integer maximumPageSize)
The maximum number of results returned in each page. The default is 100, but the caller can override this value to a page size smaller than the default. You cannot specify a page size greater than 100.

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

Constraints:
Range: 0 - 1000

Parameters:
maximumPageSize - The maximum number of results returned in each page. The default is 100, but the caller can override this value to a page size smaller than the default. You cannot specify a page size greater than 100.
Returns:
A reference to this updated object so that method calls can be chained together.

isReverseOrder

public java.lang.Boolean isReverseOrder()
When set to true, returns the results in reverse order. By default the results are returned in descending order of the start or the close time of the executions.

Returns:
When set to true, returns the results in reverse order. By default the results are returned in descending order of the start or the close time of the executions.

setReverseOrder

public void setReverseOrder(java.lang.Boolean reverseOrder)
When set to true, returns the results in reverse order. By default the results are returned in descending order of the start or the close time of the executions.

Parameters:
reverseOrder - When set to true, returns the results in reverse order. By default the results are returned in descending order of the start or the close time of the executions.

withReverseOrder

public ListClosedWorkflowExecutionsRequest withReverseOrder(java.lang.Boolean reverseOrder)
When set to true, returns the results in reverse order. By default the results are returned in descending order of the start or the close time of the executions.

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

Parameters:
reverseOrder - When set to true, returns the results in reverse order. By default the results are returned in descending order of the start or the close time of the executions.
Returns:
A reference to this updated object so that method calls can be chained together.

getReverseOrder

public java.lang.Boolean getReverseOrder()
When set to true, returns the results in reverse order. By default the results are returned in descending order of the start or the close time of the executions.

Returns:
When set to true, returns the results in reverse order. By default the results are returned in descending order of the start or the close time of the executions.

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.