com.amazonaws.services.securitytoken.model
Class FederatedUser

java.lang.Object
  extended by com.amazonaws.services.securitytoken.model.FederatedUser
All Implemented Interfaces:
java.io.Serializable

public class FederatedUser
extends java.lang.Object
implements java.io.Serializable

Identifiers for the federated user that is associated with the credentials.

See Also:
Serialized Form

Constructor Summary
FederatedUser()
          Default constructor for a new FederatedUser object.
FederatedUser(java.lang.String federatedUserId, java.lang.String arn)
          Constructs a new FederatedUser object.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FederatedUser

public FederatedUser()
Default constructor for a new FederatedUser object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


FederatedUser

public FederatedUser(java.lang.String federatedUserId,
                     java.lang.String arn)
Constructs a new FederatedUser object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
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 Identifiers for IAM Entities in Using IAM.
Method Detail

getFederatedUserId

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 - 96
Pattern: [\w+=,.@\:-]*

Returns:
The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM user.

setFederatedUserId

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 - 96
Pattern: [\w+=,.@\:-]*

Parameters:
federatedUserId - The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM user.

withFederatedUserId

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 - 96
Pattern: [\w+=,.@\:-]*

Parameters:
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 updated object so that method calls can be chained together.

getArn

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 Identifiers for IAM Entities in Using IAM.

Constraints:
Length: 20 - 2048

Returns:
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 Identifiers for IAM Entities in Using IAM.

setArn

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 Identifiers for IAM Entities in Using IAM.

Constraints:
Length: 20 - 2048

Parameters:
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 Identifiers for IAM Entities in Using IAM.

withArn

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 Identifiers for IAM Entities in Using IAM.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 20 - 2048

Parameters:
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 Identifiers for IAM Entities in Using IAM.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.