Class FederatedUser

    • Constructor Detail

      • 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 Detail

      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object