Package com.pulumi.automation
Class WhoAmIResult
java.lang.Object
com.pulumi.automation.WhoAmIResult
The result of a
Workspace.whoAmI() operation.-
Constructor Summary
ConstructorsConstructorDescriptionWhoAmIResult(String user, String url, List<String> organizations) Creates a new instance ofWhoAmIResult. -
Method Summary
-
Constructor Details
-
WhoAmIResult
Creates a new instance ofWhoAmIResult.- Parameters:
user- the identify of the current userurl- the URL at which information about this backend may be seenorganizations- organizations the user are in for the backend
-
-
Method Details
-
user
-
url
A URL at which information about this backend may be seen.- Returns:
- the URL
-
organizations
Organizations the user are in for the backend.- Returns:
- the organizations
-