Class UserSessionProperties
java.lang.Object
com.azure.resourcemanager.desktopvirtualization.fluent.models.UserSessionProperties
Schema for UserSession properties.
-
Constructor Summary
Constructors -
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.Get the userPrincipalName property: The user principal name.voidvalidate()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.
-
Constructor Details
-
UserSessionProperties
public UserSessionProperties()Creates an instance of UserSessionProperties class.
-
-
Method Details
-
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 UserSessionProperties 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 UserSessionProperties 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 UserSessionProperties 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 UserSessionProperties 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 UserSessionProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-