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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe access rule associated with this AccountGrant.The 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.voidThe access rule associated with this AccountGrant.voidsetAccountId(String in) The account ID of this AccountGrant.voidUnique identifier of the AccountGrant.voidsetResourceId(String in) The resource ID of this AccountGrant.voidsetStartFrom(Date in) The timestamp when the resource will be granted.voidsetValidUntil(Date in) The timestamp when the resource grant will expire.
-
Constructor Details
-
AccountGrant
public AccountGrant()
-
-
Method Details
-
getAccessRule
The access rule associated with this AccountGrant. -
setAccessRule
The access rule associated with this AccountGrant. -
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.
-