Class WhoAmIResult

java.lang.Object
com.pulumi.automation.WhoAmIResult

public class WhoAmIResult extends Object
The result of a Workspace.whoAmI() operation.
  • Constructor Details

    • WhoAmIResult

      public WhoAmIResult(String user, String url, List<String> organizations)
      Creates a new instance of WhoAmIResult.
      Parameters:
      user - the identify of the current user
      url - the URL at which information about this backend may be seen
      organizations - organizations the user are in for the backend
  • Method Details

    • user

      public String user()
    • url

      @Nullable public String url()
      A URL at which information about this backend may be seen.
      Returns:
      the URL
    • organizations

      public List<String> organizations()
      Organizations the user are in for the backend.
      Returns:
      the organizations