Class DatarouterAccountSecretCredential
java.lang.Object
io.datarouter.model.databean.BaseDatabean<DatarouterAccountSecretCredentialKey,DatarouterAccountSecretCredential>
io.datarouter.auth.storage.account.credential.secret.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 ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields inherited from class io.datarouter.model.databean.BaseDatabean
DEFAULT_KEY_FIELD_NAME -
Constructor Summary
ConstructorsConstructorDescriptionDatarouterAccountSecretCredential(String secretName, String secretNamespace, String accountName, String creatorUsername) -
Method Summary
Modifier and TypeMethodDescriptiongetCreatedDate(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
-
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
public void setLastUsed(io.datarouter.types.MilliTime lastUsedAt) -
getLastUsedDate
-
getLastUsedInstant
-
getActive
-
setActive
-