Class DatarouterAccountCredential

java.lang.Object
io.datarouter.model.databean.BaseDatabean<DatarouterAccountCredentialKey,DatarouterAccountCredential>
io.datarouter.auth.storage.account.credential.DatarouterAccountCredential
All Implemented Interfaces:
io.datarouter.model.databean.Databean<DatarouterAccountCredentialKey,DatarouterAccountCredential>, Comparable<io.datarouter.model.databean.Databean<?,?>>

public class DatarouterAccountCredential extends io.datarouter.model.databean.BaseDatabean<DatarouterAccountCredentialKey,DatarouterAccountCredential>
  • Constructor Details

    • DatarouterAccountCredential

      public DatarouterAccountCredential()
    • DatarouterAccountCredential

      public DatarouterAccountCredential(String apiKey, String secretKey, String accountName, String creatorUsername)
  • Method Details

    • create

      public static DatarouterAccountCredential create(String accountName, String creatorUsername)
    • getKeySupplier

      public Supplier<DatarouterAccountCredentialKey> getKeySupplier()
    • getAccountName

      public String getAccountName()
    • setAccountName

      public void setAccountName(String accountName)
    • getSecretKey

      public String getSecretKey()
    • getCreatedDate

      public String getCreatedDate(ZoneId zoneId)
    • getCreatedInstant

      public Instant getCreatedInstant()
    • getCreatorUsername

      public String getCreatorUsername()
    • setLastUsed

      public void setLastUsed(io.datarouter.types.MilliTime lastUsedAt)
    • getLastUsedDate

      public String getLastUsedDate(ZoneId zoneId)
    • getLastUsedInstant

      public Instant getLastUsedInstant()
    • getActive

      public Boolean getActive()
    • setActive

      public void setActive(Boolean active)