public class GetCredentialsForIdentityRequest extends AmazonWebServiceRequest implements java.io.Serializable
GetCredentialsForIdentity operation.| Constructor and Description |
|---|
GetCredentialsForIdentityRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetCredentialsForIdentityRequest |
addLoginsEntry(java.lang.String key,
java.lang.String value)
Sets the value of the Logins property for this object.
|
GetCredentialsForIdentityRequest |
clearLoginsEntries()
Removes all the entries added into Logins.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIdentityId()
Returns the value of the IdentityId property for this object.
|
java.util.Map<java.lang.String,java.lang.String> |
getLogins()
Returns the value of the Logins property for this object.
|
int |
hashCode() |
void |
setIdentityId(java.lang.String identityId)
Sets the value of the IdentityId property for this object.
|
void |
setLogins(java.util.Map<java.lang.String,java.lang.String> logins)
Sets the value of the Logins property for this object.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetCredentialsForIdentityRequest |
withIdentityId(java.lang.String identityId)
Sets the value of the IdentityId property for this object.
|
GetCredentialsForIdentityRequest |
withLogins(java.util.Map<java.lang.String,java.lang.String> logins)
Sets the value of the Logins property for this object.
|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic java.lang.String getIdentityId()
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
public void setIdentityId(java.lang.String identityId)
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
identityId - The new value for the IdentityId property for this object.public GetCredentialsForIdentityRequest withIdentityId(java.lang.String identityId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
identityId - The new value for the IdentityId property for this object.public java.util.Map<java.lang.String,java.lang.String> getLogins()
Constraints:
Length: 0 - 10
public void setLogins(java.util.Map<java.lang.String,java.lang.String> logins)
Constraints:
Length: 0 - 10
logins - The new value for the Logins property for this object.public GetCredentialsForIdentityRequest withLogins(java.util.Map<java.lang.String,java.lang.String> logins)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 10
logins - The new value for the Logins property for this object.public GetCredentialsForIdentityRequest addLoginsEntry(java.lang.String key, java.lang.String value)
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.
Constraints:
Length: 0 - 10
key - The key of the entry to be added into Logins.value - The corresponding value of the entry to be added into Logins.public GetCredentialsForIdentityRequest clearLoginsEntries()
Returns a reference to this object so that method calls can be chained together.
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