Class UserSession.Builder

  • Enclosing class:
    UserSession

    public static final class UserSession.Builder
    extends java.lang.Object
    Builder class for UserSession.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of UserSession.
    • Method Detail

      • setDomainName

        public UserSession.Builder setDomainName​(java.lang.String domainName)
        AD Domain of user.
        Parameters:
        domainName - New value for the property.
      • setLoginTime

        public UserSession.Builder setLoginTime​(java.lang.Long loginTime)
        Login time. format: int64
        Parameters:
        loginTime - New value for the property.
      • setLogoutTime

        public UserSession.Builder setLogoutTime​(java.lang.Long logoutTime)
        Logout time if applicable. An active user session has no logout time. format: int64
        Parameters:
        logoutTime - New value for the property.
      • setUserName

        public UserSession.Builder setUserName​(java.lang.String userName)
        AD user name.
        Parameters:
        userName - New value for the property.
      • setUserSessionId

        public UserSession.Builder setUserSessionId​(java.lang.Long userSessionId)
        User session ID. This also indicates whether this is VDI / RDSH. format: int64
        Parameters:
        userSessionId - New value for the property.