Class ListDevicePoolsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.devicefarm.model.ListDevicePoolsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ListDevicePoolsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the result of a list device pools request.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListDevicePoolsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDevicePoolsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetArn()The project ARN.StringgetNextToken()An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.StringgetType()The device pools' type.inthashCode()voidsetArn(String arn)The project ARN.voidsetNextToken(String nextToken)An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.voidsetType(DevicePoolType type)The device pools' type.voidsetType(String type)The device pools' type.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListDevicePoolsRequestwithArn(String arn)The project ARN.ListDevicePoolsRequestwithNextToken(String nextToken)An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.ListDevicePoolsRequestwithType(DevicePoolType type)The device pools' type.ListDevicePoolsRequestwithType(String type)The device pools' type.-
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
-
setArn
public void setArn(String arn)
The project ARN.
- Parameters:
arn- The project ARN.
-
getArn
public String getArn()
The project ARN.
- Returns:
- The project ARN.
-
withArn
public ListDevicePoolsRequest withArn(String arn)
The project ARN.
- Parameters:
arn- The project ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setType
public void setType(String type)
The device pools' type.
Allowed values include:
-
CURATED: A device pool that is created and managed by AWS Device Farm.
-
PRIVATE: A device pool that is created and managed by the device pool developer.
- Parameters:
type- The device pools' type.Allowed values include:
-
CURATED: A device pool that is created and managed by AWS Device Farm.
-
PRIVATE: A device pool that is created and managed by the device pool developer.
-
- See Also:
DevicePoolType
-
-
getType
public String getType()
The device pools' type.
Allowed values include:
-
CURATED: A device pool that is created and managed by AWS Device Farm.
-
PRIVATE: A device pool that is created and managed by the device pool developer.
- Returns:
- The device pools' type.
Allowed values include:
-
CURATED: A device pool that is created and managed by AWS Device Farm.
-
PRIVATE: A device pool that is created and managed by the device pool developer.
-
- See Also:
DevicePoolType
-
-
withType
public ListDevicePoolsRequest withType(String type)
The device pools' type.
Allowed values include:
-
CURATED: A device pool that is created and managed by AWS Device Farm.
-
PRIVATE: A device pool that is created and managed by the device pool developer.
- Parameters:
type- The device pools' type.Allowed values include:
-
CURATED: A device pool that is created and managed by AWS Device Farm.
-
PRIVATE: A device pool that is created and managed by the device pool developer.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DevicePoolType
-
-
setType
public void setType(DevicePoolType type)
The device pools' type.
Allowed values include:
-
CURATED: A device pool that is created and managed by AWS Device Farm.
-
PRIVATE: A device pool that is created and managed by the device pool developer.
- Parameters:
type- The device pools' type.Allowed values include:
-
CURATED: A device pool that is created and managed by AWS Device Farm.
-
PRIVATE: A device pool that is created and managed by the device pool developer.
-
- See Also:
DevicePoolType
-
-
withType
public ListDevicePoolsRequest withType(DevicePoolType type)
The device pools' type.
Allowed values include:
-
CURATED: A device pool that is created and managed by AWS Device Farm.
-
PRIVATE: A device pool that is created and managed by the device pool developer.
- Parameters:
type- The device pools' type.Allowed values include:
-
CURATED: A device pool that is created and managed by AWS Device Farm.
-
PRIVATE: A device pool that is created and managed by the device pool developer.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DevicePoolType
-
-
setNextToken
public void setNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
- Parameters:
nextToken- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
-
getNextToken
public String getNextToken()
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
- Returns:
- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
-
withNextToken
public ListDevicePoolsRequest withNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
- Parameters:
nextToken- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListDevicePoolsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-