public class GetCallerIdentityResult extends Object implements Serializable
Constructor and Description |
---|
GetCallerIdentityResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAccount()
Returns the value of the Account property for this object.
|
String |
getArn()
Returns the value of the Arn property for this object.
|
String |
getUserId()
Returns the value of the UserId property for this object.
|
int |
hashCode() |
void |
setAccount(String account)
Sets the value of the Account property for this object.
|
void |
setArn(String arn)
Sets the value of the Arn property for this object.
|
void |
setUserId(String userId)
Sets the value of the UserId property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetCallerIdentityResult |
withAccount(String account)
Sets the value of the Account property for this object.
|
GetCallerIdentityResult |
withArn(String arn)
Sets the value of the Arn property for this object.
|
GetCallerIdentityResult |
withUserId(String userId)
Sets the value of the UserId property for this object.
|
public String getUserId()
public void setUserId(String userId)
userId
- The new value for the UserId property for this object.public GetCallerIdentityResult withUserId(String userId)
Returns a reference to this object so that method calls can be chained together.
userId
- The new value for the UserId property for this object.public String getAccount()
public void setAccount(String account)
account
- The new value for the Account property for this object.public GetCallerIdentityResult withAccount(String account)
Returns a reference to this object so that method calls can be chained together.
account
- The new value for the Account property for this object.public String getArn()
Constraints:
Length: 20 - 2048
Pattern: [\u0009\u000A\u000D\u0020-\u007E\u0085\u00A0-\uD7FF\uE000-\uFFFD\u10000-\u10FFFF]+
public void setArn(String arn)
Constraints:
Length: 20 - 2048
Pattern: [\u0009\u000A\u000D\u0020-\u007E\u0085\u00A0-\uD7FF\uE000-\uFFFD\u10000-\u10FFFF]+
arn
- The new value for the Arn property for this object.public GetCallerIdentityResult withArn(String arn)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
Pattern: [\u0009\u000A\u000D\u0020-\u007E\u0085\u00A0-\uD7FF\uE000-\uFFFD\u10000-\u10FFFF]+
arn
- The new value for the Arn property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2016. All rights reserved.