Class UserSessionInner


  • public final class UserSessionInner
    extends com.azure.core.management.ProxyResource
    Represents a UserSession definition.
    • Constructor Detail

      • UserSessionInner

        public UserSessionInner()
    • Method Detail

      • systemData

        public com.azure.core.management.SystemData systemData()
        Get the systemData property: Metadata pertaining to creation and last modification of the resource.
        Returns:
        the systemData value.
      • objectId

        public String objectId()
        Get the objectId property: ObjectId of user session. (internal use).
        Returns:
        the objectId value.
      • userPrincipalName

        public String userPrincipalName()
        Get the userPrincipalName property: The user principal name.
        Returns:
        the userPrincipalName value.
      • withUserPrincipalName

        public UserSessionInner withUserPrincipalName​(String userPrincipalName)
        Set the userPrincipalName property: The user principal name.
        Parameters:
        userPrincipalName - the userPrincipalName value to set.
        Returns:
        the UserSessionInner object itself.
      • applicationType

        public ApplicationType applicationType()
        Get the applicationType property: Application type of application.
        Returns:
        the applicationType value.
      • withApplicationType

        public UserSessionInner withApplicationType​(ApplicationType applicationType)
        Set the applicationType property: Application type of application.
        Parameters:
        applicationType - the applicationType value to set.
        Returns:
        the UserSessionInner object itself.
      • sessionState

        public SessionState sessionState()
        Get the sessionState property: State of user session.
        Returns:
        the sessionState value.
      • withSessionState

        public UserSessionInner withSessionState​(SessionState sessionState)
        Set the sessionState property: State of user session.
        Parameters:
        sessionState - the sessionState value to set.
        Returns:
        the UserSessionInner object itself.
      • activeDirectoryUsername

        public String activeDirectoryUsername()
        Get the activeDirectoryUsername property: The active directory user name.
        Returns:
        the activeDirectoryUsername value.
      • withActiveDirectoryUsername

        public UserSessionInner withActiveDirectoryUsername​(String activeDirectoryUsername)
        Set the activeDirectoryUsername property: The active directory user name.
        Parameters:
        activeDirectoryUsername - the activeDirectoryUsername value to set.
        Returns:
        the UserSessionInner object itself.
      • createTime

        public OffsetDateTime createTime()
        Get the createTime property: The timestamp of the user session create.
        Returns:
        the createTime value.
      • withCreateTime

        public UserSessionInner withCreateTime​(OffsetDateTime createTime)
        Set the createTime property: The timestamp of the user session create.
        Parameters:
        createTime - the createTime value to set.
        Returns:
        the UserSessionInner object itself.
      • validate

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