Class ListActivityTypesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.simpleworkflow.model.ListActivityTypesRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ListActivityTypesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListActivityTypesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListActivityTypesRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getDomain()
The name of the domain in which the activity types have been registered.Integer
getMaximumPageSize()
The maximum number of results that will be returned per call.String
getName()
If specified, only lists the activity types that have this name.String
getNextPageToken()
If aNextPageToken
was returned by a previous call, there are more results available.String
getRegistrationStatus()
Specifies the registration status of the activity types to list.Boolean
getReverseOrder()
When set totrue
, returns the results in reverse order.int
hashCode()
Boolean
isReverseOrder()
When set totrue
, returns the results in reverse order.void
setDomain(String domain)
The name of the domain in which the activity types have been registered.void
setMaximumPageSize(Integer maximumPageSize)
The maximum number of results that will be returned per call.void
setName(String name)
If specified, only lists the activity types that have this name.void
setNextPageToken(String nextPageToken)
If aNextPageToken
was returned by a previous call, there are more results available.void
setRegistrationStatus(RegistrationStatus registrationStatus)
Specifies the registration status of the activity types to list.void
setRegistrationStatus(String registrationStatus)
Specifies the registration status of the activity types to list.void
setReverseOrder(Boolean reverseOrder)
When set totrue
, returns the results in reverse order.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListActivityTypesRequest
withDomain(String domain)
The name of the domain in which the activity types have been registered.ListActivityTypesRequest
withMaximumPageSize(Integer maximumPageSize)
The maximum number of results that will be returned per call.ListActivityTypesRequest
withName(String name)
If specified, only lists the activity types that have this name.ListActivityTypesRequest
withNextPageToken(String nextPageToken)
If aNextPageToken
was returned by a previous call, there are more results available.ListActivityTypesRequest
withRegistrationStatus(RegistrationStatus registrationStatus)
Specifies the registration status of the activity types to list.ListActivityTypesRequest
withRegistrationStatus(String registrationStatus)
Specifies the registration status of the activity types to list.ListActivityTypesRequest
withReverseOrder(Boolean reverseOrder)
When set totrue
, returns the results in reverse order.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setDomain
public void setDomain(String domain)
The name of the domain in which the activity types have been registered.
- Parameters:
domain
- The name of the domain in which the activity types have been registered.
-
getDomain
public String getDomain()
The name of the domain in which the activity types have been registered.
- Returns:
- The name of the domain in which the activity types have been registered.
-
withDomain
public ListActivityTypesRequest withDomain(String domain)
The name of the domain in which the activity types have been registered.
- Parameters:
domain
- The name of the domain in which the activity types have been registered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
If specified, only lists the activity types that have this name.
- Parameters:
name
- If specified, only lists the activity types that have this name.
-
getName
public String getName()
If specified, only lists the activity types that have this name.
- Returns:
- If specified, only lists the activity types that have this name.
-
withName
public ListActivityTypesRequest withName(String name)
If specified, only lists the activity types that have this name.
- Parameters:
name
- If specified, only lists the activity types that have this name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRegistrationStatus
public void setRegistrationStatus(String registrationStatus)
Specifies the registration status of the activity types to list.
- Parameters:
registrationStatus
- Specifies the registration status of the activity types to list.- See Also:
RegistrationStatus
-
getRegistrationStatus
public String getRegistrationStatus()
Specifies the registration status of the activity types to list.
- Returns:
- Specifies the registration status of the activity types to list.
- See Also:
RegistrationStatus
-
withRegistrationStatus
public ListActivityTypesRequest withRegistrationStatus(String registrationStatus)
Specifies the registration status of the activity types to list.
- Parameters:
registrationStatus
- Specifies the registration status of the activity types to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RegistrationStatus
-
setRegistrationStatus
public void setRegistrationStatus(RegistrationStatus registrationStatus)
Specifies the registration status of the activity types to list.
- Parameters:
registrationStatus
- Specifies the registration status of the activity types to list.- See Also:
RegistrationStatus
-
withRegistrationStatus
public ListActivityTypesRequest withRegistrationStatus(RegistrationStatus registrationStatus)
Specifies the registration status of the activity types to list.
- Parameters:
registrationStatus
- Specifies the registration status of the activity types to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RegistrationStatus
-
setNextPageToken
public void setNextPageToken(String nextPageToken)
If a
NextPageToken
was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token innextPageToken
. Keep all other arguments unchanged.The configured
maximumPageSize
determines how many results can be returned in a single call.- Parameters:
nextPageToken
- If aNextPageToken
was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token innextPageToken
. Keep all other arguments unchanged.The configured
maximumPageSize
determines how many results can be returned in a single call.
-
getNextPageToken
public String getNextPageToken()
If a
NextPageToken
was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token innextPageToken
. Keep all other arguments unchanged.The configured
maximumPageSize
determines how many results can be returned in a single call.- Returns:
- If a
NextPageToken
was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token innextPageToken
. Keep all other arguments unchanged.The configured
maximumPageSize
determines how many results can be returned in a single call.
-
withNextPageToken
public ListActivityTypesRequest withNextPageToken(String nextPageToken)
If a
NextPageToken
was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token innextPageToken
. Keep all other arguments unchanged.The configured
maximumPageSize
determines how many results can be returned in a single call.- Parameters:
nextPageToken
- If aNextPageToken
was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token innextPageToken
. Keep all other arguments unchanged.The configured
maximumPageSize
determines how many results can be returned in a single call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaximumPageSize
public void setMaximumPageSize(Integer maximumPageSize)
The maximum number of results that will be returned per call.
nextPageToken
can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.
- Parameters:
maximumPageSize
- The maximum number of results that will be returned per call.nextPageToken
can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.
-
getMaximumPageSize
public Integer getMaximumPageSize()
The maximum number of results that will be returned per call.
nextPageToken
can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.
- Returns:
- The maximum number of results that will be returned per call.
nextPageToken
can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.
-
withMaximumPageSize
public ListActivityTypesRequest withMaximumPageSize(Integer maximumPageSize)
The maximum number of results that will be returned per call.
nextPageToken
can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.
- Parameters:
maximumPageSize
- The maximum number of results that will be returned per call.nextPageToken
can be used to obtain futher pages of results. The default is 1000, which is the maximum allowed page size. You can, however, specify a page size smaller than the maximum.This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 byname
of the activity types.- Parameters:
reverseOrder
- When set totrue
, returns the results in reverse order. By default, the results are returned in ascending alphabetical order byname
of the activity types.
-
getReverseOrder
public Boolean getReverseOrder()
When set to
true
, returns the results in reverse order. By default, the results are returned in ascending alphabetical order byname
of the activity types.- Returns:
- When set to
true
, returns the results in reverse order. By default, the results are returned in ascending alphabetical order byname
of the activity types.
-
withReverseOrder
public ListActivityTypesRequest withReverseOrder(Boolean reverseOrder)
When set to
true
, returns the results in reverse order. By default, the results are returned in ascending alphabetical order byname
of the activity types.- Parameters:
reverseOrder
- When set totrue
, returns the results in reverse order. By default, the results are returned in ascending alphabetical order byname
of the activity types.- Returns:
- Returns a reference to this 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 byname
of the activity types.- Returns:
- When set to
true
, returns the results in reverse order. By default, the results are returned in ascending alphabetical order byname
of the activity types.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListActivityTypesRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-