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 AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe 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.inthashCode()voidsetDescription(String description) The device pool's description.voidThe device pool's name.voidsetProjectArn(String projectArn) The ARN of the project for the device pool.voidsetRules(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 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
-
getName
-
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
-
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
-
equals
-
hashCode
-
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:
-