@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDevicePoolRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents a request to the update device pool operation.
NOOP
Constructor and Description |
---|
UpdateDevicePoolRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDevicePoolRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.
|
String |
getDescription()
A description of the device pool you wish to update.
|
String |
getName()
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.
|
int |
hashCode() |
void |
setArn(String arn)
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 |
setName(String name)
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateDevicePoolRequest |
withArn(String arn)
The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.
|
UpdateDevicePoolRequest |
withDescription(String description)
A description of the device pool you wish to update.
|
UpdateDevicePoolRequest |
withName(String name)
A string representing the name of the device pool you wish to update.
|
UpdateDevicePoolRequest |
withRules(Collection<Rule> rules)
Represents the rules you wish to modify for the device pool.
|
UpdateDevicePoolRequest |
withRules(Rule... rules)
Represents the rules you wish to modify for the device pool.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setArn(String arn)
The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.
arn
- The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.public String getArn()
The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.
public UpdateDevicePoolRequest withArn(String arn)
The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.
arn
- The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.public void setName(String name)
A string representing the name of the device pool you wish to update.
name
- A string representing the name of the device pool you wish to update.public String getName()
A string representing the name of the device pool you wish to update.
public UpdateDevicePoolRequest withName(String name)
A string representing the name of the device pool you wish to update.
name
- A string representing the name of the device pool you wish to update.public void setDescription(String description)
A description of the device pool you wish to update.
description
- A description of the device pool you wish to update.public String getDescription()
A description of the device pool you wish to update.
public UpdateDevicePoolRequest withDescription(String description)
A description of the device pool you wish to update.
description
- A description of the device pool you wish to update.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.
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.
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.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)
or withRules(java.util.Collection)
if you want to override the
existing values.
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.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.
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.public String toString()
toString
in class Object
Object.toString()
public UpdateDevicePoolRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.