Package com.strongdm.api
Class AccessRequest
java.lang.Object
com.strongdm.api.AccessRequest
AccessRequests are requests for access to a resource that may match a Workflow.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe account that initiated the request.long
Duration of the access request.The account grant created, if it exists.getId()
The access request id.The reason the access was requested.The resource id.The timestamp when the requested access will be granted.The status of the access request.The timestamp when the status changed.The timestamp when the requested access will expire.The workflow the request bound to.void
setAccountId
(String in) The account that initiated the request.void
setDuration
(long in) Duration of the access request.void
setGrantId
(String in) The account grant created, if it exists.void
The access request id.void
The reason the access was requested.void
setResourceId
(String in) The resource id.void
setStartFrom
(Date in) The timestamp when the requested access will be granted.void
The status of the access request.void
setStatusAt
(Date in) The timestamp when the status changed.void
setValidUntil
(Date in) The timestamp when the requested access will expire.void
setWorkflowId
(String in) The workflow the request bound to.
-
Constructor Details
-
AccessRequest
public AccessRequest()
-
-
Method Details
-
getAccountId
The account that initiated the request. -
setAccountId
The account that initiated the request. -
getDuration
public long getDuration()Duration of the access request. -
setDuration
public void setDuration(long in) Duration of the access request. -
getGrantId
The account grant created, if it exists. -
setGrantId
The account grant created, if it exists. -
getId
The access request id. -
setId
The access request id. -
getReason
The reason the access was requested. -
setReason
The reason the access was requested. -
getResourceId
The resource id. -
setResourceId
The resource id. -
getStartFrom
The timestamp when the requested access will be granted. If this field is not specified it will default to the current time. -
setStartFrom
The timestamp when the requested access will be granted. If this field is not specified it will default to the current time. -
getStatus
The status of the access request. -
setStatus
The status of the access request. -
getStatusAt
The timestamp when the status changed. -
setStatusAt
The timestamp when the status changed. -
getValidUntil
The timestamp when the requested access will expire. -
setValidUntil
The timestamp when the requested access will expire. -
getWorkflowId
The workflow the request bound to. -
setWorkflowId
The workflow the request bound to.
-