@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdminUpdateDeviceStatusRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The request to update the device status, as an administrator.
NOOP
Constructor and Description |
---|
AdminUpdateDeviceStatusRequest() |
Modifier and Type | Method and Description |
---|---|
AdminUpdateDeviceStatusRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDeviceKey()
The device key.
|
String |
getDeviceRememberedStatus()
The status indicating whether a device has been remembered or not.
|
String |
getUsername()
The username of the user that you want to query or modify.
|
String |
getUserPoolId()
The user pool ID.
|
int |
hashCode() |
void |
setDeviceKey(String deviceKey)
The device key.
|
void |
setDeviceRememberedStatus(DeviceRememberedStatusType deviceRememberedStatus)
The status indicating whether a device has been remembered or not.
|
void |
setDeviceRememberedStatus(String deviceRememberedStatus)
The status indicating whether a device has been remembered or not.
|
void |
setUsername(String username)
The username of the user that you want to query or modify.
|
void |
setUserPoolId(String userPoolId)
The user pool ID.
|
String |
toString()
Returns a string representation of this object.
|
AdminUpdateDeviceStatusRequest |
withDeviceKey(String deviceKey)
The device key.
|
AdminUpdateDeviceStatusRequest |
withDeviceRememberedStatus(DeviceRememberedStatusType deviceRememberedStatus)
The status indicating whether a device has been remembered or not.
|
AdminUpdateDeviceStatusRequest |
withDeviceRememberedStatus(String deviceRememberedStatus)
The status indicating whether a device has been remembered or not.
|
AdminUpdateDeviceStatusRequest |
withUsername(String username)
The username of the user that you want to query or modify.
|
AdminUpdateDeviceStatusRequest |
withUserPoolId(String userPoolId)
The user pool ID.
|
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 setUserPoolId(String userPoolId)
The user pool ID.
userPoolId
- The user pool ID.public String getUserPoolId()
The user pool ID.
public AdminUpdateDeviceStatusRequest withUserPoolId(String userPoolId)
The user pool ID.
userPoolId
- The user pool ID.public void setUsername(String username)
The username of the user that you want to query or modify. The value of this parameter is typically your user's
username, but it can be any of their alias attributes. If username
isn't an alias attribute in your
user pool, this value must be the sub
of a local user or the username of a user from a third-party
IdP.
username
- The username of the user that you want to query or modify. The value of this parameter is typically your
user's username, but it can be any of their alias attributes. If username
isn't an alias
attribute in your user pool, this value must be the sub
of a local user or the username of a
user from a third-party IdP.public String getUsername()
The username of the user that you want to query or modify. The value of this parameter is typically your user's
username, but it can be any of their alias attributes. If username
isn't an alias attribute in your
user pool, this value must be the sub
of a local user or the username of a user from a third-party
IdP.
username
isn't an alias
attribute in your user pool, this value must be the sub
of a local user or the username of a
user from a third-party IdP.public AdminUpdateDeviceStatusRequest withUsername(String username)
The username of the user that you want to query or modify. The value of this parameter is typically your user's
username, but it can be any of their alias attributes. If username
isn't an alias attribute in your
user pool, this value must be the sub
of a local user or the username of a user from a third-party
IdP.
username
- The username of the user that you want to query or modify. The value of this parameter is typically your
user's username, but it can be any of their alias attributes. If username
isn't an alias
attribute in your user pool, this value must be the sub
of a local user or the username of a
user from a third-party IdP.public void setDeviceKey(String deviceKey)
The device key.
deviceKey
- The device key.public String getDeviceKey()
The device key.
public AdminUpdateDeviceStatusRequest withDeviceKey(String deviceKey)
The device key.
deviceKey
- The device key.public void setDeviceRememberedStatus(String deviceRememberedStatus)
The status indicating whether a device has been remembered or not.
deviceRememberedStatus
- The status indicating whether a device has been remembered or not.DeviceRememberedStatusType
public String getDeviceRememberedStatus()
The status indicating whether a device has been remembered or not.
DeviceRememberedStatusType
public AdminUpdateDeviceStatusRequest withDeviceRememberedStatus(String deviceRememberedStatus)
The status indicating whether a device has been remembered or not.
deviceRememberedStatus
- The status indicating whether a device has been remembered or not.DeviceRememberedStatusType
public void setDeviceRememberedStatus(DeviceRememberedStatusType deviceRememberedStatus)
The status indicating whether a device has been remembered or not.
deviceRememberedStatus
- The status indicating whether a device has been remembered or not.DeviceRememberedStatusType
public AdminUpdateDeviceStatusRequest withDeviceRememberedStatus(DeviceRememberedStatusType deviceRememberedStatus)
The status indicating whether a device has been remembered or not.
deviceRememberedStatus
- The status indicating whether a device has been remembered or not.DeviceRememberedStatusType
public String toString()
toString
in class Object
Object.toString()
public AdminUpdateDeviceStatusRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()