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
Deprecated.The account grant created, if it exists.getId()
The access request id.The reason the access was requested.The duration that access was requested for, if any.The resource id.The duration that results from an approved request.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) Deprecated.void
setGrantId
(String in) The account grant created, if it exists.void
The access request id.void
The reason the access was requested.void
The duration that access was requested for, if any.void
setResourceId
(String in) The resource id.void
The duration that results from an approved request.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
Deprecated.Duration of the access request. Deprecated: use requested/result duration instead -
setDuration
Deprecated.Duration of the access request. Deprecated: use requested/result duration instead -
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. -
getRequestedDuration
The duration that access was requested for, if any. -
setRequestedDuration
The duration that access was requested for, if any. -
getResourceId
The resource id. -
setResourceId
The resource id. -
getResultDuration
The duration that results from an approved request. -
setResultDuration
The duration that results from an approved request. -
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.
-