Class DatarouterAccountSecretCredential
java.lang.Object
io.datarouter.model.databean.BaseDatabean<DatarouterAccountSecretCredentialKey,DatarouterAccountSecretCredential>
io.datarouter.auth.storage.account.DatarouterAccountSecretCredential
- All Implemented Interfaces:
io.datarouter.model.databean.Databean<DatarouterAccountSecretCredentialKey,DatarouterAccountSecretCredential>,Comparable<io.datarouter.model.databean.Databean<?,?>>
public class DatarouterAccountSecretCredential extends io.datarouter.model.databean.BaseDatabean<DatarouterAccountSecretCredentialKey,DatarouterAccountSecretCredential>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDatarouterAccountSecretCredential.DatarouterAccountSecretCredentialFielderstatic classDatarouterAccountSecretCredential.FieldKeys -
Field Summary
-
Constructor Summary
Constructors Constructor Description DatarouterAccountSecretCredential()DatarouterAccountSecretCredential(String secretName, String secretNamespace, String accountName, String creatorUsername) -
Method Summary
Modifier and Type Method Description static DatarouterAccountSecretCredentialcreate(String secretNamespace, String accountName, String creatorUsername)StringgetAccountName()BooleangetActive()StringgetCreatedDate(ZoneId zoneId)InstantgetCreatedInstant()StringgetCreatorUsername()Supplier<DatarouterAccountSecretCredentialKey>getKeySupplier()StringgetLastUsedDate(ZoneId zoneId)InstantgetLastUsedInstant()StringgetSecretNamespace()voidsetActive(Boolean active)voidsetLastUsed(Date lastUsed)
-
Constructor Details
-
DatarouterAccountSecretCredential
public DatarouterAccountSecretCredential() -
DatarouterAccountSecretCredential
-
-
Method Details
-
create
public static DatarouterAccountSecretCredential create(String secretNamespace, String accountName, String creatorUsername) -
getKeySupplier
-
getAccountName
-
getSecretNamespace
-
getCreatedDate
-
getCreatedInstant
-
getCreatorUsername
-
setLastUsed
-
getLastUsedDate
-
getLastUsedInstant
-
getActive
-
setActive
-