public class AdminUserGlobalSignOutRequest extends AmazonWebServiceRequest implements Serializable
Signs out users from all devices, as an administrator. It also invalidates all refresh tokens issued to a user. The user's current access and Id tokens remain valid until their expiry. Access and Id tokens expire one hour after they are issued.
Calling this action requires developer credentials.
| Constructor and Description |
|---|
AdminUserGlobalSignOutRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getUsername()
The user name.
|
String |
getUserPoolId()
The user pool ID.
|
int |
hashCode() |
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.
|
AdminUserGlobalSignOutRequest |
withUsername(String username)
The user name.
|
AdminUserGlobalSignOutRequest |
withUserPoolId(String userPoolId)
The user pool ID.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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 AdminUserGlobalSignOutRequest 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 AdminUserGlobalSignOutRequest 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.