public class FederatedUser
extends java.lang.Object
implements java.io.Serializable
Identifiers for the federated user that is associated with the credentials.
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 |
---|---|
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.
|
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 the IAM User Guide.
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.
Constraints:
Length: 2 - 193
Pattern: [\w+=,.@\:-]*
The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM user.
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.
Constraints:
Length: 2 - 193
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(java.lang.String federatedUserId)
The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM user.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 2 - 193
Pattern: [\w+=,.@\:-]*
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 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 the IAM User Guide.
Constraints:
Length: 20 - 2048
Pattern: [
-~
--�က0-ჿFF]+
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 the IAM User Guide.
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 the IAM User Guide.
Constraints:
Length: 20 - 2048
Pattern: [
-~
--�က0-ჿFF]+
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 the IAM User Guide.
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 the IAM User Guide.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
Pattern: [
-~
--�က0-ჿFF]+
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 the IAM User Guide.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object