Package com.strongdm.api
Class AccountResource
java.lang.Object
com.strongdm.api.AccountResource
AccountResource represents an individual access grant of a Account to a Resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the AccountGrant through which the Account was granted access to the Resource.The unique identifier of the Account to which access is granted.The time this grant was created, distinct from 'granted at' in the case where access is scheduled for the future.The time at which access will expire.The most recent time at which access was granted.The unique identifier of the Resource to which access is granted.The unique identifier of the Role through which the Account was granted access to the Resource.void
The unique identifier of the AccountGrant through which the Account was granted access to the Resource.void
setAccountId
(String in) The unique identifier of the Account to which access is granted.void
setCreatedAt
(Date in) The time this grant was created, distinct from 'granted at' in the case where access is scheduled for the future.void
setExpiresAt
(Date in) The time at which access will expire.void
setGrantedAt
(Date in) The most recent time at which access was granted.void
setResourceId
(String in) The unique identifier of the Resource to which access is granted.void
The unique identifier of the Role through which the Account was granted access to the Resource.
-
Constructor Details
-
AccountResource
public AccountResource()
-
-
Method Details
-
getAccountGrantId
The unique identifier of the AccountGrant through which the Account was granted access to the Resource. If empty, access was not granted through an AccountGrant. -
setAccountGrantId
The unique identifier of the AccountGrant through which the Account was granted access to the Resource. If empty, access was not granted through an AccountGrant. -
getAccountId
The unique identifier of the Account to which access is granted. -
setAccountId
The unique identifier of the Account to which access is granted. -
getCreatedAt
The time this grant was created, distinct from 'granted at' in the case where access is scheduled for the future. If access was granted, revoked, and granted again, this will reflect the later creation time. -
setCreatedAt
The time this grant was created, distinct from 'granted at' in the case where access is scheduled for the future. If access was granted, revoked, and granted again, this will reflect the later creation time. -
getExpiresAt
The time at which access will expire. If empty, this access has no expiration. -
setExpiresAt
The time at which access will expire. If empty, this access has no expiration. -
getGrantedAt
The most recent time at which access was granted. If access was granted, revoked, and granted again, this will reflect the later time. -
setGrantedAt
The most recent time at which access was granted. If access was granted, revoked, and granted again, this will reflect the later time. -
getResourceId
The unique identifier of the Resource to which access is granted. -
setResourceId
The unique identifier of the Resource to which access is granted. -
getRoleId
The unique identifier of the Role through which the Account was granted access to the Resource. If empty, access was not granted through an AccountAttachment to a Role. -
setRoleId
The unique identifier of the Role through which the Account was granted access to the Resource. If empty, access was not granted through an AccountAttachment to a Role.
-