Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class ListDomainsRequest

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

public class ListDomainsRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the ListDomains operation.

Returns the list of domains registered in the account. 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.

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.listDomains(ListDomainsRequest), Serialized Form

Constructor Summary
ListDomainsRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 Integer getMaximumPageSize()
          The maximum number of results returned in each page.
 String getNextPageToken()
          If on a previous call to this method a NextPageToken was returned, the result has more than one page.
 String getRegistrationStatus()
          Specifies the registration status of the domains to list.
 Boolean getReverseOrder()
          When set to true, returns the results in reverse order.
 int hashCode()
           
 Boolean isReverseOrder()
          When set to true, returns the results in reverse order.
 void setMaximumPageSize(Integer maximumPageSize)
          The maximum number of results returned in each page.
 void setNextPageToken(String nextPageToken)
          If on a previous call to this method a NextPageToken was returned, the result has more than one page.
 void setRegistrationStatus(RegistrationStatus registrationStatus)
          Specifies the registration status of the domains to list.
 void setRegistrationStatus(String registrationStatus)
          Specifies the registration status of the domains to list.
 void setReverseOrder(Boolean reverseOrder)
          When set to true, returns the results in reverse order.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ListDomainsRequest withMaximumPageSize(Integer maximumPageSize)
          The maximum number of results returned in each page.
 ListDomainsRequest withNextPageToken(String nextPageToken)
          If on a previous call to this method a NextPageToken was returned, the result has more than one page.
 ListDomainsRequest withRegistrationStatus(RegistrationStatus registrationStatus)
          Specifies the registration status of the domains to list.
 ListDomainsRequest withRegistrationStatus(String registrationStatus)
          Specifies the registration status of the domains to list.
 ListDomainsRequest withReverseOrder(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

ListDomainsRequest

public ListDomainsRequest()
Method Detail

getNextPageToken

public String getNextPageToken()
If on a previous call to this method a NextPageToken was returned, the result has more than one page. 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 result has more than one page. To get the next page of results, repeat the call with the returned token and all other arguments unchanged.

setNextPageToken

public void setNextPageToken(String nextPageToken)
If on a previous call to this method a NextPageToken was returned, the result has more than one page. 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 result has more than one page. To get the next page of results, repeat the call with the returned token and all other arguments unchanged.

withNextPageToken

public ListDomainsRequest withNextPageToken(String nextPageToken)
If on a previous call to this method a NextPageToken was returned, the result has more than one page. 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 result has more than one page. 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.

getRegistrationStatus

public String getRegistrationStatus()
Specifies the registration status of the domains to list.

Constraints:
Allowed Values: REGISTERED, DEPRECATED

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

setRegistrationStatus

public void setRegistrationStatus(String registrationStatus)
Specifies the registration status of the domains to list.

Constraints:
Allowed Values: REGISTERED, DEPRECATED

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

withRegistrationStatus

public ListDomainsRequest withRegistrationStatus(String registrationStatus)
Specifies the registration status of the domains 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 domains 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 domains to list.

Constraints:
Allowed Values: REGISTERED, DEPRECATED

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

withRegistrationStatus

public ListDomainsRequest withRegistrationStatus(RegistrationStatus registrationStatus)
Specifies the registration status of the domains 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 domains to list.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
RegistrationStatus

getMaximumPageSize

public 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 domains 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 domains 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(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 domains 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 domains may be less than the maxiumum page size, in which case, the returned page will have fewer results than the maximumPageSize specified.

withMaximumPageSize

public ListDomainsRequest withMaximumPageSize(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 domains 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 domains 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 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 domains.

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 domains.

setReverseOrder

public void setReverseOrder(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 domains.

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 domains.

withReverseOrder

public ListDomainsRequest withReverseOrder(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 domains.

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 domains.
Returns:
A reference to this updated object so that method calls can be chained together.

getReverseOrder

public 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 domains.

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 domains.

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.