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
-
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()voidsetActive(Boolean active)voidsetLastUsed(Date lastUsed)
-
Constructor Details
-
DatarouterAccountCredential
public DatarouterAccountCredential() -
DatarouterAccountCredential
-
-
Method Details