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