Class AccountGrant

java.lang.Object
com.strongdm.api.AccountGrant

public class AccountGrant extends Object
AccountGrants connect a resource directly to an account, giving the account the permission to connect to that resource.
  • Constructor Details

    • AccountGrant

      public AccountGrant()
  • Method Details

    • getAccountId

      public String getAccountId()
      The account ID of this AccountGrant.
    • setAccountId

      public void setAccountId(String in)
      The account ID of this AccountGrant.
    • getId

      public String getId()
      Unique identifier of the AccountGrant.
    • setId

      public void setId(String in)
      Unique identifier of the AccountGrant.
    • getResourceId

      public String getResourceId()
      The resource ID of this AccountGrant.
    • setResourceId

      public void setResourceId(String in)
      The resource ID of this AccountGrant.
    • getStartFrom

      public Date 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

      public void setStartFrom(Date in)
      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

      public Date getValidUntil()
      The timestamp when the resource grant will expire.
    • setValidUntil

      public void setValidUntil(Date in)
      The timestamp when the resource grant will expire.