public class FederatedUser
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Identifiers for the federated user that is associated with the credentials.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
arn
The ARN that specifies the federated user that is associated with the
credentials.
|
private java.lang.String |
federatedUserId
The string that identifies the federated user associated with the
credentials, similar to the unique ID of an IAM user.
|
Constructor and Description |
---|
FederatedUser()
Default constructor for FederatedUser object.
|
FederatedUser(java.lang.String federatedUserId,
java.lang.String arn)
Constructs a new FederatedUser object.
|
Modifier and Type | Method and Description |
---|---|
FederatedUser |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArn()
The ARN that specifies the federated user that is associated with the
credentials.
|
java.lang.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(java.lang.String arn)
The ARN that specifies the federated user that is associated with the
credentials.
|
void |
setFederatedUserId(java.lang.String federatedUserId)
The string that identifies the federated user associated with the
credentials, similar to the unique ID of an IAM user.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FederatedUser |
withArn(java.lang.String arn)
The ARN that specifies the federated user that is associated with the
credentials.
|
FederatedUser |
withFederatedUserId(java.lang.String federatedUserId)
The string that identifies the federated user associated with the
credentials, similar to the unique ID of an IAM user.
|
private java.lang.String federatedUserId
The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM user.
private java.lang.String 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()
public FederatedUser(java.lang.String federatedUserId, java.lang.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 void setFederatedUserId(java.lang.String federatedUserId)
The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM user.
federatedUserId
- The string that identifies the federated user associated with the
credentials, similar to the unique ID of an IAM user.public java.lang.String getFederatedUserId()
The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM user.
public FederatedUser withFederatedUserId(java.lang.String federatedUserId)
The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM user.
federatedUserId
- The string that identifies the federated user associated with the
credentials, similar to the unique ID of an IAM user.public void setArn(java.lang.String 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.
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 java.lang.String getArn()
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(java.lang.String 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.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public FederatedUser clone()
clone
in class java.lang.Object