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>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields inherited from class io.datarouter.model.databean.BaseDatabean
DEFAULT_KEY_FIELD_NAME -
Constructor Summary
ConstructorsConstructorDescriptionDatarouterAccountCredential(String apiKey, String secretKey, String accountName, String creatorUsername) -
Method Summary
Modifier and TypeMethodDescriptionstatic DatarouterAccountCredentialgetCreatedDate(ZoneId zoneId) getLastUsedDate(ZoneId zoneId) voidsetAccountName(String accountName) voidvoidsetLastUsed(io.datarouter.types.MilliTime lastUsedAt) Methods inherited from class io.datarouter.model.databean.BaseDatabean
compareTo, equals, getDatabeanName, getKey, getKeyFieldName, getKeyFields, hashCode, toString
-
Constructor Details
-
DatarouterAccountCredential
public DatarouterAccountCredential() -
DatarouterAccountCredential
-
-
Method Details
-
create
-
getKeySupplier
-
getAccountName
-
setAccountName
-
getSecretKey
-
getCreatedDate
-
getCreatedInstant
-
getCreatorUsername
-
setLastUsed
public void setLastUsed(io.datarouter.types.MilliTime lastUsedAt) -
getLastUsedDate
-
getLastUsedInstant
-
getActive
-
setActive
-