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
Fields inherited from class io.datarouter.model.databean.BaseDatabean
DEFAULT_KEY_FIELD_NAME -
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()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
-
DatarouterAccountSecretCredential
public DatarouterAccountSecretCredential() -
DatarouterAccountSecretCredential
-
-
Method Details
-
create
public static DatarouterAccountSecretCredential create(String secretNamespace, String accountName, String creatorUsername) -
getKeySupplier
-
getAccountName
-
setAccountName
-
getSecretNamespace
-
getCreatedDate
-
getCreatedInstant
-
getCreatorUsername
-
setLastUsed
-
getLastUsedDate
-
getLastUsedInstant
-
getActive
-
setActive
-