public class AdminGetDeviceRequest extends AmazonWebServiceRequest implements Serializable
Gets the device, as an administrator.
Calling this action requires developer credentials.
| Constructor and Description |
|---|
AdminGetDeviceRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDeviceKey()
The device key.
|
String |
getUsername()
The user name.
|
String |
getUserPoolId()
The user pool ID.
|
int |
hashCode() |
void |
setDeviceKey(String deviceKey)
The device key.
|
void |
setUsername(String username)
The user name.
|
void |
setUserPoolId(String userPoolId)
The user pool ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminGetDeviceRequest |
withDeviceKey(String deviceKey)
The device key.
|
AdminGetDeviceRequest |
withUsername(String username)
The user name.
|
AdminGetDeviceRequest |
withUserPoolId(String userPoolId)
The user pool ID.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getDeviceKey()
The device key.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-f-]+
The device key.
public void setDeviceKey(String deviceKey)
The device key.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-f-]+
deviceKey - The device key.
public AdminGetDeviceRequest withDeviceKey(String deviceKey)
The device key.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-f-]+
deviceKey - The device key.
public String getUserPoolId()
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID.
public void setUserPoolId(String userPoolId)
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID.
public AdminGetDeviceRequest withUserPoolId(String userPoolId)
The user pool ID.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID.
public String getUsername()
The user name.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The user name.
public void setUsername(String username)
The user name.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username - The user name.
public AdminGetDeviceRequest withUsername(String username)
The user name.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username - The user name.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.