code: public GetPersonalPreferencesResponseInner getPersonalPreferences(String userName, PersonalPreferencesOperationsPayload personalPreferencesOperationsPayload) {
          return getPersonalPreferencesWithServiceResponseAsync(userName, personalPreferencesOperationsPayload).toBlocking().single().body();
      }
docs: Get personal preferences for a user.
  
  @param userName The name of the user.
  @param personalPreferencesOperationsPayload Represents payload for any Environment operations like get, start, stop, connect
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the GetPersonalPreferencesResponseInner object if successful.