Package com.strongdm.api
Class AccountGrant
java.lang.Object
com.strongdm.api.AccountGrant
AccountGrants connect a resource directly to an account, giving the account the permission to connect to that resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe account ID of this AccountGrant.getId()
Unique identifier of the AccountGrant.The resource ID of this AccountGrant.The timestamp when the resource will be granted.The timestamp when the resource grant will expire.void
setAccountId
(String in) The account ID of this AccountGrant.void
Unique identifier of the AccountGrant.void
setResourceId
(String in) The resource ID of this AccountGrant.void
setStartFrom
(Date in) The timestamp when the resource will be granted.void
setValidUntil
(Date in) The timestamp when the resource grant will expire.
-
Constructor Details
-
AccountGrant
public AccountGrant()
-
-
Method Details
-
getAccountId
The account ID of this AccountGrant. -
setAccountId
The account ID of this AccountGrant. -
getId
Unique identifier of the AccountGrant. -
setId
Unique identifier of the AccountGrant. -
getResourceId
The resource ID of this AccountGrant. -
setResourceId
The resource ID of this AccountGrant. -
getStartFrom
The timestamp when the resource will be granted. When creating an AccountGrant, if this field is not specified, it will default to the current time. -
setStartFrom
The timestamp when the resource will be granted. When creating an AccountGrant, if this field is not specified, it will default to the current time. -
getValidUntil
The timestamp when the resource grant will expire. -
setValidUntil
The timestamp when the resource grant will expire.
-