Class FederatedUser

java.lang.Object
com.amazonaws.services.securitytoken.model.FederatedUser
All Implemented Interfaces:
Serializable, Cloneable

public class FederatedUser extends Object implements Serializable, Cloneable

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

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for FederatedUser object.
    FederatedUser(String federatedUserId, String arn)
    Constructs a new FederatedUser object.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
    The ARN that specifies the federated user that is associated with the credentials.
    The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM user.
    int
     
    void
    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.
    Returns a string representation of this object; useful for testing and debugging.
    The ARN that specifies the federated user that is associated with the credentials.
    withFederatedUserId(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

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • FederatedUser

      public FederatedUser()
      Default constructor for FederatedUser object. Callers should use the setter or fluent setter (with...) methods to initialize the 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 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.
  • Method Details

    • setFederatedUserId

      public void setFederatedUserId(String federatedUserId)

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

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

      public String getFederatedUserId()

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

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

      public FederatedUser withFederatedUserId(String federatedUserId)

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

      Parameters:
      federatedUserId - The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setArn

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

      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 IAM Identifiers in Using IAM.
    • getArn

      public 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.

      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 IAM Identifiers in Using IAM.
    • withArn

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

      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 IAM Identifiers in Using IAM.
      Returns:
      Returns a reference to this 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public FederatedUser clone()
      Overrides:
      clone in class Object