@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDevicePoolRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents a request to the create device pool operation.
NOOP
Constructor and Description |
---|
CreateDevicePoolRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDevicePoolRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
The device pool's description.
|
String |
getName()
The device pool's name.
|
String |
getProjectArn()
The ARN of the project for the device pool.
|
List<Rule> |
getRules()
The device pool's rules.
|
int |
hashCode() |
void |
setDescription(String description)
The device pool's description.
|
void |
setName(String name)
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateDevicePoolRequest |
withDescription(String description)
The device pool's description.
|
CreateDevicePoolRequest |
withName(String name)
The device pool's name.
|
CreateDevicePoolRequest |
withProjectArn(String projectArn)
The ARN of the project for the device pool.
|
CreateDevicePoolRequest |
withRules(Collection<Rule> rules)
The device pool's rules.
|
CreateDevicePoolRequest |
withRules(Rule... rules)
The device pool's rules.
|
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 setProjectArn(String projectArn)
The ARN of the project for the device pool.
projectArn
- The ARN of the project for the device pool.public String getProjectArn()
The ARN of the project for the device pool.
public CreateDevicePoolRequest withProjectArn(String projectArn)
The ARN of the project for the device pool.
projectArn
- The ARN of the project for the device pool.public void setName(String name)
The device pool's name.
name
- The device pool's name.public String getName()
The device pool's name.
public CreateDevicePoolRequest withName(String name)
The device pool's name.
name
- The device pool's name.public void setDescription(String description)
The device pool's description.
description
- The device pool's description.public String getDescription()
The device pool's description.
public CreateDevicePoolRequest withDescription(String description)
The device pool's description.
description
- The device pool's description.public void setRules(Collection<Rule> rules)
The device pool's rules.
rules
- The device pool's rules.public CreateDevicePoolRequest withRules(Rule... rules)
The device pool's 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
- The device pool's rules.public CreateDevicePoolRequest withRules(Collection<Rule> rules)
The device pool's rules.
rules
- The device pool's rules.public String toString()
toString
in class Object
Object.toString()
public CreateDevicePoolRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.