Class UpdateDevicePoolRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.devicefarm.model.UpdateDevicePoolRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class UpdateDevicePoolRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents a request to the update device pool operation.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateDevicePoolRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDevicePoolRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetArn()The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.StringgetDescription()A description of the device pool you wish to update.StringgetName()A string representing the name of the device pool you wish to update.List<Rule>getRules()Represents the rules you wish to modify for the device pool.inthashCode()voidsetArn(String arn)The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.voidsetDescription(String description)A description of the device pool you wish to update.voidsetName(String name)A string representing the name of the device pool you wish to update.voidsetRules(Collection<Rule> rules)Represents the rules you wish to modify for the device pool.StringtoString()Returns a string representation of this object; useful for testing and debugging.UpdateDevicePoolRequestwithArn(String arn)The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.UpdateDevicePoolRequestwithDescription(String description)A description of the device pool you wish to update.UpdateDevicePoolRequestwithName(String name)A string representing the name of the device pool you wish to update.UpdateDevicePoolRequestwithRules(Rule... rules)Represents the rules you wish to modify for the device pool.UpdateDevicePoolRequestwithRules(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
-
-
-
-
Method Detail
-
setArn
public void setArn(String arn)
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
public String 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
public UpdateDevicePoolRequest withArn(String arn)
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
public void setName(String name)
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
public String 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
public UpdateDevicePoolRequest withName(String name)
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
public void setDescription(String description)
A description of the device pool you wish to update.
- Parameters:
description- A description of the device pool you wish to update.
-
getDescription
public String getDescription()
A description of the device pool you wish to update.
- Returns:
- A description of the device pool you wish to update.
-
withDescription
public UpdateDevicePoolRequest withDescription(String description)
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
public List<Rule> 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
public void setRules(Collection<Rule> 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.
- 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
public UpdateDevicePoolRequest withRules(Rule... 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.
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
public UpdateDevicePoolRequest withRules(Collection<Rule> 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.
- 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
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 UpdateDevicePoolRequest 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()
-
-