Class UpdateDevicePoolRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Represents a request to the update 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
getArn()
The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.A description of the device pool you wish to update.getName()
A string representing the name of the device pool you wish to update.getRules()
Represents the rules you wish to modify for the device pool.int
hashCode()
void
The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.void
setDescription
(String description) A description of the device pool you wish to update.void
A string representing the name of the device pool you wish to update.void
setRules
(Collection<Rule> rules) Represents the rules you wish to modify for the device pool.toString()
Returns a string representation of this object; useful for testing and debugging.The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.withDescription
(String description) A description of the device pool you wish to update.A string representing the name of the device pool you wish to update.Represents the rules you wish to modify for the device pool.withRules
(Collection<Rule> rules) Represents the rules you wish to modify for the device pool.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
-
UpdateDevicePoolRequest
public UpdateDevicePoolRequest()
-
-
Method Details
-
setArn
The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.
- Parameters:
arn
- The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.
-
getArn
The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.
- Returns:
- The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.
-
withArn
The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.
- Parameters:
arn
- The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
A string representing the name of the device pool you wish to update.
- Parameters:
name
- A string representing the name of the device pool you wish to update.
-
getName
A string representing the name of the device pool you wish to update.
- Returns:
- A string representing the name of the device pool you wish to update.
-
withName
A string representing the name of the device pool you wish to update.
- Parameters:
name
- A string representing the name of the device pool you wish to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
A description of the device pool you wish to update.
- Parameters:
description
- A description of the device pool you wish to update.
-
getDescription
A description of the device pool you wish to update.
- Returns:
- A description of the device pool you wish to update.
-
withDescription
A description of the device pool you wish to update.
- Parameters:
description
- A description of the device pool you wish to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getRules
Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing rules.
- Returns:
- Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing rules.
-
setRules
Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing rules.
- Parameters:
rules
- Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing rules.
-
withRules
Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing 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
- Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRules
Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing rules.
- Parameters:
rules
- Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing 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:
-