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 SummaryConstructors
- 
Method SummaryModifier 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.voidThe unique identifier of the AccountGrant through which the Account was granted access to the Resource.voidsetAccountId(String in) The unique identifier of the Account to which access is granted.voidsetCreatedAt(Date in) The time this grant was created, distinct from 'granted at' in the case where access is scheduled for the future.voidsetExpiresAt(Date in) The time at which access will expire.voidsetGrantedAt(Date in) The most recent time at which access was granted.voidsetResourceId(String in) The unique identifier of the Resource to which access is granted.voidThe unique identifier of the Role through which the Account was granted access to the Resource.
- 
Constructor Details- 
AccountResourcepublic AccountResource()
 
- 
- 
Method Details- 
getAccountGrantIdThe unique identifier of the AccountGrant through which the Account was granted access to the Resource. If empty, access was not granted through an AccountGrant.
- 
setAccountGrantIdThe unique identifier of the AccountGrant through which the Account was granted access to the Resource. If empty, access was not granted through an AccountGrant.
- 
getAccountIdThe unique identifier of the Account to which access is granted.
- 
setAccountIdThe unique identifier of the Account to which access is granted.
- 
getCreatedAtThe 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.
- 
setCreatedAtThe 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.
- 
getExpiresAtThe time at which access will expire. If empty, this access has no expiration.
- 
setExpiresAtThe time at which access will expire. If empty, this access has no expiration.
- 
getGrantedAtThe most recent time at which access was granted. If access was granted, revoked, and granted again, this will reflect the later time.
- 
setGrantedAtThe most recent time at which access was granted. If access was granted, revoked, and granted again, this will reflect the later time.
- 
getResourceIdThe unique identifier of the Resource to which access is granted.
- 
setResourceIdThe unique identifier of the Resource to which access is granted.
- 
getRoleIdThe 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.
- 
setRoleIdThe 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.
 
-