com.amazonaws.services.securitytoken.model
Class FederatedUser

java.lang.Object
  extended by com.amazonaws.services.securitytoken.model.FederatedUser

public class FederatedUser
extends Object

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

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(String federatedUserId,
                     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 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

getFederatedUserId

public String getFederatedUserId()
The string identifying the federated user associated with the credentials, similar to the UserId of an IAM user.

Constraints:
Length: 2 - 96
Pattern: [\w+=,.@-\:]*

Returns:
The string identifying the federated user associated with the credentials, similar to the UserId of an IAM user.

setFederatedUserId

public void setFederatedUserId(String federatedUserId)
The string identifying the federated user associated with the credentials, similar to the UserId of an IAM user.

Constraints:
Length: 2 - 96
Pattern: [\w+=,.@-\:]*

Parameters:
federatedUserId - The string identifying the federated user associated with the credentials, similar to the UserId of an IAM user.

withFederatedUserId

public FederatedUser withFederatedUserId(String federatedUserId)
The string identifying the federated user associated with the credentials, similar to the UserId 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 identifying the federated user associated with the credentials, similar to the UserId of an IAM user.
Returns:
A reference to this updated object so that method calls can be chained together.

getArn

public String getArn()
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.

Constraints:
Length: 20 - 2048

Returns:
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.

setArn

public void setArn(String 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.

Constraints:
Length: 20 - 2048

Parameters:
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.

withArn

public FederatedUser withArn(String 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.

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

Constraints:
Length: 20 - 2048

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

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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