Class SecretsCollection
java.lang.Object
org.odpi.openmetadata.adapters.connectors.secretsstore.yaml.secretsstore.SecretsCollection
SecretsCollection stores a collection or properties that are used to connect to a particular digital resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.longReturn the list of secrets.Return details of a token API associated with the secrets collection.inthashCode()Hash of propertiesvoidsetRefreshTimeInterval(long getRefreshTimeInterval) voidsetSecrets(Map<String, String> secrets) Set up the in memory version of the secrets collection.voidsetTokenAPI(TokenAPI tokenAPI) Set up the token API for this secrets collection.toString()Standard toString method.
-
Constructor Details
-
SecretsCollection
public SecretsCollection()Default constructor
-
-
Method Details
-
getRefreshTimeInterval
public long getRefreshTimeInterval() -
setRefreshTimeInterval
public void setRefreshTimeInterval(long getRefreshTimeInterval) -
getSecrets
Return the list of secrets.- Returns:
- map of secret values
-
setSecrets
Set up the in memory version of the secrets collection.- Parameters:
secrets- a map of secrets values
-
getTokenAPI
Return details of a token API associated with the secrets collection.- Returns:
- token API definition
-
setTokenAPI
Set up the token API for this secrets collection.- Parameters:
tokenAPI- token API definition
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Hash of properties
-