public class FederatedUser extends Object implements Serializable, Cloneable
Identifiers for the federated user that is associated with the credentials.
Constructor and Description |
---|
FederatedUser()
Default constructor for a new FederatedUser object.
|
FederatedUser(String federatedUserId,
String arn)
Constructs a new FederatedUser object.
|
Modifier and Type | Method and Description |
---|---|
FederatedUser |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN that specifies the federated user that is associated with the
credentials.
|
String |
getFederatedUserId()
The string that identifies the federated user associated with the
credentials, similar to the unique ID of an IAM user.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN that specifies the federated user that is associated with the
credentials.
|
void |
setFederatedUserId(String federatedUserId)
The string that identifies the federated user associated with the
credentials, similar to the unique ID of an IAM user.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FederatedUser |
withArn(String arn)
The ARN that specifies the federated user that is associated with the
credentials.
|
FederatedUser |
withFederatedUserId(String federatedUserId)
The string that identifies the federated user associated with the
credentials, similar to the unique ID of an IAM user.
|
public FederatedUser()
public FederatedUser(String federatedUserId, String arn)
federatedUserId
- The string that identifies the federated user
associated with the credentials, similar to the unique ID of an IAM
user.arn
- The ARN that specifies the federated user that is
associated with the credentials. For more information about ARNs and
how to use them in policies, see IAM
Identifiers in Using IAM.public String getFederatedUserId()
Constraints:
Length: 2 - 96
Pattern: [\w+=,.@\:-]*
public void setFederatedUserId(String federatedUserId)
Constraints:
Length: 2 - 96
Pattern: [\w+=,.@\:-]*
federatedUserId
- The string that identifies the federated user associated with the
credentials, similar to the unique ID 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 that identifies the federated user associated with the
credentials, similar to the unique ID of an IAM user.public String getArn()
Constraints:
Length: 20 - 2048
public void setArn(String arn)
Constraints:
Length: 20 - 2048
arn
- The ARN that specifies the federated user that is associated with the
credentials. For more information about ARNs and how to use them in
policies, see IAM
Identifiers in Using IAM.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 that specifies the federated user that is associated with the
credentials. For more information about ARNs and how to use them in
policies, see IAM
Identifiers in Using IAM.public String toString()
toString
in class Object
Object.toString()
public FederatedUser clone()
Copyright © 2015. All rights reserved.