Class DatarouterAccountCredential
java.lang.Object
io.datarouter.model.databean.BaseDatabean<DatarouterAccountCredentialKey,DatarouterAccountCredential>
io.datarouter.auth.storage.account.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 Classes Modifier and Type Class Description static classDatarouterAccountCredential.DatarouterAccountCredentialFielderstatic classDatarouterAccountCredential.FieldKeys -
Field Summary
Fields inherited from class io.datarouter.model.databean.BaseDatabean
DEFAULT_KEY_FIELD_NAME -
Constructor Summary
Constructors Constructor Description DatarouterAccountCredential()DatarouterAccountCredential(String apiKey, String secretKey, String accountName, String creatorUsername) -
Method Summary
Modifier and Type Method Description static DatarouterAccountCredentialcreate(String accountName, String creatorUsername)StringgetAccountName()BooleangetActive()StringgetCreatedDate(ZoneId zoneId)InstantgetCreatedInstant()StringgetCreatorUsername()Supplier<DatarouterAccountCredentialKey>getKeySupplier()StringgetLastUsedDate(ZoneId zoneId)InstantgetLastUsedInstant()StringgetSecretKey()voidsetAccountName(String accountName)voidsetActive(Boolean active)voidsetLastUsed(Date lastUsed)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
-
getLastUsedDate
-
getLastUsedInstant
-
getActive
-
setActive
-