Class UserSessionInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.desktopvirtualization.fluent.models.UserSessionInner
public final class UserSessionInner
extends com.azure.core.management.ProxyResource
Represents a UserSession definition.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the activeDirectoryUsername property: The active directory user name.Get the applicationType property: Application type of application.Get the createTime property: The timestamp of the user session create.objectId()
Get the objectId property: ObjectId of user session.Get the sessionState property: State of user session.com.azure.core.management.SystemData
Get the systemData property: Metadata pertaining to creation and last modification of the resource.Get the userPrincipalName property: The user principal name.void
validate()
Validates the instance.withActiveDirectoryUsername
(String activeDirectoryUsername) Set the activeDirectoryUsername property: The active directory user name.withApplicationType
(ApplicationType applicationType) Set the applicationType property: Application type of application.withCreateTime
(OffsetDateTime createTime) Set the createTime property: The timestamp of the user session create.withSessionState
(SessionState sessionState) Set the sessionState property: State of user session.withUserPrincipalName
(String userPrincipalName) Set the userPrincipalName property: The user principal name.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
UserSessionInner
public UserSessionInner()
-
-
Method Details
-
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
Get the objectId property: ObjectId of user session. (internal use).- Returns:
- the objectId value.
-
userPrincipalName
Get the userPrincipalName property: The user principal name.- Returns:
- the userPrincipalName value.
-
withUserPrincipalName
Set the userPrincipalName property: The user principal name.- Parameters:
userPrincipalName
- the userPrincipalName value to set.- Returns:
- the UserSessionInner object itself.
-
applicationType
Get the applicationType property: Application type of application.- Returns:
- the applicationType value.
-
withApplicationType
Set the applicationType property: Application type of application.- Parameters:
applicationType
- the applicationType value to set.- Returns:
- the UserSessionInner object itself.
-
sessionState
Get the sessionState property: State of user session.- Returns:
- the sessionState value.
-
withSessionState
Set the sessionState property: State of user session.- Parameters:
sessionState
- the sessionState value to set.- Returns:
- the UserSessionInner object itself.
-
activeDirectoryUsername
Get the activeDirectoryUsername property: The active directory user name.- Returns:
- the activeDirectoryUsername value.
-
withActiveDirectoryUsername
Set the activeDirectoryUsername property: The active directory user name.- Parameters:
activeDirectoryUsername
- the activeDirectoryUsername value to set.- Returns:
- the UserSessionInner object itself.
-
createTime
Get the createTime property: The timestamp of the user session create.- Returns:
- the createTime value.
-
withCreateTime
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.
-