Class SessionHostPatchProperties

java.lang.Object
com.azure.resourcemanager.desktopvirtualization.fluent.models.SessionHostPatchProperties

public final class SessionHostPatchProperties extends Object
SessionHost properties that can be patched.
  • Constructor Details

    • SessionHostPatchProperties

      public SessionHostPatchProperties()
  • Method Details

    • allowNewSession

      public Boolean allowNewSession()
      Get the allowNewSession property: Allow a new session.
      Returns:
      the allowNewSession value.
    • withAllowNewSession

      public SessionHostPatchProperties withAllowNewSession(Boolean allowNewSession)
      Set the allowNewSession property: Allow a new session.
      Parameters:
      allowNewSession - the allowNewSession value to set.
      Returns:
      the SessionHostPatchProperties object itself.
    • assignedUser

      public String assignedUser()
      Get the assignedUser property: User assigned to SessionHost.
      Returns:
      the assignedUser value.
    • withAssignedUser

      public SessionHostPatchProperties withAssignedUser(String assignedUser)
      Set the assignedUser property: User assigned to SessionHost.
      Parameters:
      assignedUser - the assignedUser value to set.
      Returns:
      the SessionHostPatchProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.