|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.securitytoken.model.FederatedUser
public class FederatedUser
Identifiers for the federated user associated with the credentials.
Constructor Summary | |
---|---|
FederatedUser()
Default constructor for a new FederatedUser object. |
|
FederatedUser(String federatedUserId,
String arn)
Constructs a new FederatedUser object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getArn()
The ARN specifying the federated user associated with the credentials. |
String |
getFederatedUserId()
The string identifying the federated user associated with the credentials, similar to the UserId of an IAM user. |
int |
hashCode()
|
void |
setArn(String arn)
The ARN specifying the federated user associated with the credentials. |
void |
setFederatedUserId(String federatedUserId)
The string identifying the federated user associated with the credentials, similar to the UserId of an IAM user. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
FederatedUser |
withArn(String arn)
The ARN specifying the federated user associated with the credentials. |
FederatedUser |
withFederatedUserId(String federatedUserId)
The string identifying the federated user associated with the credentials, similar to the UserId of an IAM user. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FederatedUser()
public FederatedUser(String federatedUserId, String arn)
federatedUserId
- The string identifying the federated user
associated with the credentials, similar to the UserId of an IAM user.arn
- The ARN specifying the federated user associated with the
credentials. For more information about ARNs and how to use them in
policies, see Identifiers for IAM Entities in Using AWS
Identity and Access Management.Method Detail |
---|
public String getFederatedUserId()
Constraints:
Length: 2 - 96
Pattern: [\w+=,.@-\:]*
public void setFederatedUserId(String federatedUserId)
Constraints:
Length: 2 - 96
Pattern: [\w+=,.@-\:]*
federatedUserId
- The string identifying the federated user associated with the
credentials, similar to the UserId of an IAM user.public FederatedUser withFederatedUserId(String federatedUserId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 2 - 96
Pattern: [\w+=,.@-\:]*
federatedUserId
- The string identifying the federated user associated with the
credentials, similar to the UserId of an IAM user.
public String getArn()
Constraints:
Length: 20 - 2048
public void setArn(String arn)
Constraints:
Length: 20 - 2048
arn
- The ARN specifying the federated user associated with the credentials.
For more information about ARNs and how to use them in policies, see
Identifiers for IAM Entities in Using AWS
Identity and Access Management.public FederatedUser withArn(String arn)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
arn
- The ARN specifying the federated user associated with the credentials.
For more information about ARNs and how to use them in policies, see
Identifiers for IAM Entities in Using AWS
Identity and Access Management.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |