Package com.strongdm.api
Class AccessRequestConfig
java.lang.Object
com.strongdm.api.AccessRequestConfig
AccessRequestConfig holds the information required to request access to a resource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe time access should end, defaults to the next occurance of 5 pmThe reason for accessThe resource for which access is being requestedThe time access should start, defaults to nowvoidsetDuration(String in) The time access should end, defaults to the next occurance of 5 pmvoidThe reason for accessvoidsetResourceId(String in) The resource for which access is being requestedvoidsetStartFrom(Date in) The time access should start, defaults to now
-
Constructor Details
-
AccessRequestConfig
public AccessRequestConfig()
-
-
Method Details
-
getDuration
The time access should end, defaults to the next occurance of 5 pm -
setDuration
The time access should end, defaults to the next occurance of 5 pm -
getReason
The reason for access -
setReason
The reason for access -
getResourceId
The resource for which access is being requested -
setResourceId
The resource for which access is being requested -
getStartFrom
The time access should start, defaults to now -
setStartFrom
The time access should start, defaults to now
-