public FederatedUser withFederatedUserId(String federatedUserId) {
        setFederatedUserId(federatedUserId);
        return this;
    }
<p>
The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM
user.
</p>

@param federatedUserId
       The string that identifies the federated user associated with the credentials, similar to the unique ID of
       an IAM user.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sts/src/main/java/com/amazonaws/services/securitytoken/model/FederatedUser.java