Class AccessRequest

java.lang.Object
com.strongdm.api.AccessRequest

public class AccessRequest extends Object
AccessRequests are requests for access to a resource that may match a Workflow.
  • Constructor Details

    • AccessRequest

      public AccessRequest()
  • Method Details

    • getAccountId

      public String getAccountId()
      The account that initiated the request.
    • setAccountId

      public void setAccountId(String in)
      The account that initiated the request.
    • getGrantId

      public String getGrantId()
      The account grant created, if it exists.
    • setGrantId

      public void setGrantId(String in)
      The account grant created, if it exists.
    • getId

      public String getId()
      The access request id.
    • setId

      public void setId(String in)
      The access request id.
    • getReason

      public String getReason()
      The reason the access was requested.
    • setReason

      public void setReason(String in)
      The reason the access was requested.
    • getResourceId

      public String getResourceId()
      The resource id.
    • setResourceId

      public void setResourceId(String in)
      The resource id.
    • getStartFrom

      public Date getStartFrom()
      The timestamp when the requested access will be granted. If this field is not specified it will default to the current time.
    • setStartFrom

      public void setStartFrom(Date in)
      The timestamp when the requested access will be granted. If this field is not specified it will default to the current time.
    • getStatus

      public String getStatus()
      The status of the access request.
    • setStatus

      public void setStatus(String in)
      The status of the access request.
    • getStatusAt

      public Date getStatusAt()
      The timestamp when the status changed.
    • setStatusAt

      public void setStatusAt(Date in)
      The timestamp when the status changed.
    • getValidUntil

      public Date getValidUntil()
      The timestamp when the requested access will expire.
    • setValidUntil

      public void setValidUntil(Date in)
      The timestamp when the requested access will expire.
    • getWorkflowId

      public String getWorkflowId()
      The workflow the request bound to.
    • setWorkflowId

      public void setWorkflowId(String in)
      The workflow the request bound to.