Class CreateDevicePoolRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.devicefarm.model.CreateDevicePoolRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CreateDevicePoolRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable
Represents a request to the create device pool operation.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The device pool's description.getName()
The device pool's name.The ARN of the project for the device pool.getRules()
The device pool's rules.int
hashCode()
void
setDescription
(String description) The device pool's description.void
The device pool's name.void
setProjectArn
(String projectArn) The ARN of the project for the device pool.void
setRules
(Collection<Rule> rules) The device pool's rules.toString()
Returns a string representation of this object; useful for testing and debugging.withDescription
(String description) The device pool's description.The device pool's name.withProjectArn
(String projectArn) The ARN of the project for the device pool.The device pool's rules.withRules
(Collection<Rule> rules) The device pool's rules.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
-
Constructor Details
-
CreateDevicePoolRequest
public CreateDevicePoolRequest()
-
-
Method Details
-
setProjectArn
The ARN of the project for the device pool.
- Parameters:
projectArn
- The ARN of the project for the device pool.
-
getProjectArn
The ARN of the project for the device pool.
- Returns:
- The ARN of the project for the device pool.
-
withProjectArn
The ARN of the project for the device pool.
- Parameters:
projectArn
- The ARN of the project for the device pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
The device pool's name.
- Parameters:
name
- The device pool's name.
-
getName
The device pool's name.
- Returns:
- The device pool's name.
-
withName
The device pool's name.
- Parameters:
name
- The device pool's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
The device pool's description.
- Parameters:
description
- The device pool's description.
-
getDescription
The device pool's description.
- Returns:
- The device pool's description.
-
withDescription
The device pool's description.
- Parameters:
description
- The device pool's description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getRules
The device pool's rules.
- Returns:
- The device pool's rules.
-
setRules
The device pool's rules.
- Parameters:
rules
- The device pool's rules.
-
withRules
The device pool's rules.
NOTE: This method appends the values to the existing list (if any). Use
setRules(java.util.Collection)
orwithRules(java.util.Collection)
if you want to override the existing values.- Parameters:
rules
- The device pool's rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRules
The device pool's rules.
- Parameters:
rules
- The device pool's rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-