Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class ListWorkflowTypesRequest

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

public class ListWorkflowTypesRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the ListWorkflowTypes operation.

Returns information about workflow types in the specified domain. The results may be split into multiple pages that can be retrieved by making the call repeatedly.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails by throwing OperationNotPermitted . For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows .

See Also:
AmazonSimpleWorkflow.listWorkflowTypes(ListWorkflowTypesRequest), Serialized Form

Constructor Summary
ListWorkflowTypesRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDomain()
          The name of the domain in which the workflow types have been registered.
 java.lang.Integer getMaximumPageSize()
          The maximum number of results returned in each page.
 java.lang.String getName()
          If specified, lists the workflow type with this name.
 java.lang.String getNextPageToken()
          If on a previous call to this method a NextPageToken was returned, the results are being paginated.
 java.lang.String getRegistrationStatus()
          Specifies the registration status of the workflow types to list.
 java.lang.Boolean getReverseOrder()
          When set to true, returns the results in reverse order.
 int hashCode()
           
 java.lang.Boolean isReverseOrder()
          When set to true, returns the results in reverse order.
 void setDomain(java.lang.String domain)
          The name of the domain in which the workflow types have been registered.
 void setMaximumPageSize(java.lang.Integer maximumPageSize)
          The maximum number of results returned in each page.
 void setName(java.lang.String name)
          If specified, lists the workflow type with this name.
 void setNextPageToken(java.lang.String nextPageToken)
          If on a previous call to this method a NextPageToken was returned, the results are being paginated.
 void setRegistrationStatus(RegistrationStatus registrationStatus)
          Specifies the registration status of the workflow types to list.
 void setRegistrationStatus(java.lang.String registrationStatus)
          Specifies the registration status of the workflow types to list.
 void setReverseOrder(java.lang.Boolean reverseOrder)
          When set to true, returns the results in reverse order.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ListWorkflowTypesRequest withDomain(java.lang.String domain)
          The name of the domain in which the workflow types have been registered.
 ListWorkflowTypesRequest withMaximumPageSize(java.lang.Integer maximumPageSize)
          The maximum number of results returned in each page.
 ListWorkflowTypesRequest withName(java.lang.String name)
          If specified, lists the workflow type with this name.
 ListWorkflowTypesRequest withNextPageToken(java.lang.String nextPageToken)
          If on a previous call to this method a NextPageToken was returned, the results are being paginated.
 ListWorkflowTypesRequest withRegistrationStatus(RegistrationStatus registrationStatus)
          Specifies the registration status of the workflow types to list.
 ListWorkflowTypesRequest withRegistrationStatus(java.lang.String registrationStatus)
          Specifies the registration status of the workflow types to list.
 ListWorkflowTypesRequest withReverseOrder(java.lang.Boolean reverseOrder)
          When set to true, returns the results in reverse order.
 
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

ListWorkflowTypesRequest

public ListWorkflowTypesRequest()
Method Detail

getDomain

public java.lang.String getDomain()
The name of the domain in which the workflow types have been registered.

Constraints:
Length: 1 - 256

Returns:
The name of the domain in which the workflow types have been registered.

setDomain

public void setDomain(java.lang.String domain)
The name of the domain in which the workflow types have been registered.

Constraints:
Length: 1 - 256

Parameters:
domain - The name of the domain in which the workflow types have been registered.

withDomain

public ListWorkflowTypesRequest withDomain(java.lang.String domain)
The name of the domain in which the workflow types have been registered.

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 in which the workflow types have been registered.
Returns:
A reference to this updated object so that method calls can be chained together.

getName

public java.lang.String getName()
If specified, lists the workflow type with this name.

Constraints:
Length: 1 - 256

Returns:
If specified, lists the workflow type with this name.

setName

public void setName(java.lang.String name)
If specified, lists the workflow type with this name.

Constraints:
Length: 1 - 256

Parameters:
name - If specified, lists the workflow type with this name.

withName

public ListWorkflowTypesRequest withName(java.lang.String name)
If specified, lists the workflow type with this name.

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

Constraints:
Length: 1 - 256

Parameters:
name - If specified, lists the workflow type with this name.
Returns:
A reference to this updated object so that method calls can be chained together.

getRegistrationStatus

public java.lang.String getRegistrationStatus()
Specifies the registration status of the workflow types to list.

Constraints:
Allowed Values: REGISTERED, DEPRECATED

Returns:
Specifies the registration status of the workflow types to list.
See Also:
RegistrationStatus

setRegistrationStatus

public void setRegistrationStatus(java.lang.String registrationStatus)
Specifies the registration status of the workflow types to list.

Constraints:
Allowed Values: REGISTERED, DEPRECATED

Parameters:
registrationStatus - Specifies the registration status of the workflow types to list.
See Also:
RegistrationStatus

withRegistrationStatus

public ListWorkflowTypesRequest withRegistrationStatus(java.lang.String registrationStatus)
Specifies the registration status of the workflow types to list.

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

Constraints:
Allowed Values: REGISTERED, DEPRECATED

Parameters:
registrationStatus - Specifies the registration status of the workflow types to list.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
RegistrationStatus

setRegistrationStatus

public void setRegistrationStatus(RegistrationStatus registrationStatus)
Specifies the registration status of the workflow types to list.

Constraints:
Allowed Values: REGISTERED, DEPRECATED

Parameters:
registrationStatus - Specifies the registration status of the workflow types to list.
See Also:
RegistrationStatus

withRegistrationStatus

public ListWorkflowTypesRequest withRegistrationStatus(RegistrationStatus registrationStatus)
Specifies the registration status of the workflow types to list.

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

Constraints:
Allowed Values: REGISTERED, DEPRECATED

Parameters:
registrationStatus - Specifies the registration status of the workflow types to list.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
RegistrationStatus

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 ListWorkflowTypesRequest 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. Note that the number of types may be less than the maxiumum page size, in which case, the returned page will have fewer results than the maximumPageSize specified.

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. Note that the number of types may be less than the maxiumum page size, in which case, the returned page will have fewer results than the maximumPageSize specified.

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. Note that the number of types may be less than the maxiumum page size, in which case, the returned page will have fewer results than the maximumPageSize specified.

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. Note that the number of types may be less than the maxiumum page size, in which case, the returned page will have fewer results than the maximumPageSize specified.

withMaximumPageSize

public ListWorkflowTypesRequest 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. Note that the number of types may be less than the maxiumum page size, in which case, the returned page will have fewer results than the maximumPageSize specified.

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. Note that the number of types may be less than the maxiumum page size, in which case, the returned page will have fewer results than the maximumPageSize specified.
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 ascending alphabetical order of the name of the workflow types.

Returns:
When set to true, returns the results in reverse order. By default the results are returned in ascending alphabetical order of the name of the workflow types.

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 ascending alphabetical order of the name of the workflow types.

Parameters:
reverseOrder - When set to true, returns the results in reverse order. By default the results are returned in ascending alphabetical order of the name of the workflow types.

withReverseOrder

public ListWorkflowTypesRequest withReverseOrder(java.lang.Boolean reverseOrder)
When set to true, returns the results in reverse order. By default the results are returned in ascending alphabetical order of the name of the workflow types.

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 ascending alphabetical order of the name of the workflow types.
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 ascending alphabetical order of the name of the workflow types.

Returns:
When set to true, returns the results in reverse order. By default the results are returned in ascending alphabetical order of the name of the workflow types.

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.