public class UnlinkIdentityRequest extends AmazonWebServiceRequest implements java.io.Serializable
Unlinks a federated identity from an existing account. Unlinked logins will be considered new identities next time they are seen. Removing the last linked login will make this identity inaccessible.
This is a public API. You do not need any credentials to call this API.
| Constructor and Description |
|---|
UnlinkIdentityRequest() |
| Modifier and Type | Method and Description |
|---|---|
UnlinkIdentityRequest |
addLoginsEntry(java.lang.String key,
java.lang.String value)
A set of optional name-value pairs that map provider names to provider
tokens.
|
UnlinkIdentityRequest |
clearLoginsEntries()
Removes all the entries added into Logins.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIdentityId()
A unique identifier in the format REGION:GUID.
|
java.util.Map<java.lang.String,java.lang.String> |
getLogins()
A set of optional name-value pairs that map provider names to provider
tokens.
|
java.util.List<java.lang.String> |
getLoginsToRemove()
Provider names to unlink from this identity.
|
int |
hashCode() |
void |
setIdentityId(java.lang.String identityId)
A unique identifier in the format REGION:GUID.
|
void |
setLogins(java.util.Map<java.lang.String,java.lang.String> logins)
A set of optional name-value pairs that map provider names to provider
tokens.
|
void |
setLoginsToRemove(java.util.Collection<java.lang.String> loginsToRemove)
Provider names to unlink from this identity.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UnlinkIdentityRequest |
withIdentityId(java.lang.String identityId)
A unique identifier in the format REGION:GUID.
|
UnlinkIdentityRequest |
withLogins(java.util.Map<java.lang.String,java.lang.String> logins)
A set of optional name-value pairs that map provider names to provider
tokens.
|
UnlinkIdentityRequest |
withLoginsToRemove(java.util.Collection<java.lang.String> loginsToRemove)
Provider names to unlink from this identity.
|
UnlinkIdentityRequest |
withLoginsToRemove(java.lang.String... loginsToRemove)
Provider names to unlink from this identity.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getIdentityId()
A unique identifier in the format REGION:GUID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
A unique identifier in the format REGION:GUID.
public void setIdentityId(java.lang.String identityId)
A unique identifier in the format REGION:GUID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
identityId - A unique identifier in the format REGION:GUID.
public UnlinkIdentityRequest withIdentityId(java.lang.String identityId)
A unique identifier in the format REGION:GUID.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
identityId - A unique identifier in the format REGION:GUID.
public java.util.Map<java.lang.String,java.lang.String> getLogins()
A set of optional name-value pairs that map provider names to provider tokens.
A set of optional name-value pairs that map provider names to provider tokens.
public void setLogins(java.util.Map<java.lang.String,java.lang.String> logins)
A set of optional name-value pairs that map provider names to provider tokens.
logins - A set of optional name-value pairs that map provider names to provider tokens.
public UnlinkIdentityRequest withLogins(java.util.Map<java.lang.String,java.lang.String> logins)
A set of optional name-value pairs that map provider names to provider tokens.
Returns a reference to this object so that method calls can be chained together.
logins - A set of optional name-value pairs that map provider names to provider tokens.
public UnlinkIdentityRequest addLoginsEntry(java.lang.String key, java.lang.String value)
A set of optional name-value pairs that map provider names to provider tokens.
The method adds a new key-value pair into Logins parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into Logins.value - The corresponding value of the entry to be added into
Logins.public UnlinkIdentityRequest clearLoginsEntries()
Returns a reference to this object so that method calls can be chained together.
public java.util.List<java.lang.String> getLoginsToRemove()
Provider names to unlink from this identity.
Provider names to unlink from this identity.
public void setLoginsToRemove(java.util.Collection<java.lang.String> loginsToRemove)
Provider names to unlink from this identity.
loginsToRemove - Provider names to unlink from this identity.
public UnlinkIdentityRequest withLoginsToRemove(java.lang.String... loginsToRemove)
Provider names to unlink from this identity.
Returns a reference to this object so that method calls can be chained together.
loginsToRemove - Provider names to unlink from this identity.
public UnlinkIdentityRequest withLoginsToRemove(java.util.Collection<java.lang.String> loginsToRemove)
Provider names to unlink from this identity.
Returns a reference to this object so that method calls can be chained together.
loginsToRemove - Provider names to unlink from this identity.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object