Package com.veeva.vault.sdk.api.core
Interface VaultInformation
public interface VaultInformation
Provides access to basic configuration information about the local Vault.
-
Method Summary
Modifier and TypeMethodDescriptiongetDns()
Retrieves the Vault DNS.Retrieves the Vault domain.getId()
Retrieves the Vault ID.Retrieves theadmin_key__sys
field value for the Language object record indicated in the Base Language setting as configured on the Language & Region Settings page in the Vault Admin UI.Retrieves theadmin_key__sys
field value for the Locale object record indicated in the Base Locale setting as configured on the Language & Region Settings page in the Vault Admin UI.getName()
Retrieves the Vault name.Retrieves the Vault Time Zone value as configured on the Language & Region Settings page in the Vault Admin UI.
-
Method Details
-
getName
String getName()Retrieves the Vault name.- Returns:
- Vault name
-
getDns
String getDns()Retrieves the Vault DNS.- Returns:
- Vault dns
-
getId
String getId()Retrieves the Vault ID.- Returns:
- Vault id
-
getTimeZoneName
String getTimeZoneName()Retrieves the Vault Time Zone value as configured on the Language & Region Settings page in the Vault Admin UI.- Returns:
- Vault time zone as a value from the timezone__sys picklist. For example, "america_chicago__sys".
-
getLanguageCode
String getLanguageCode()Retrieves theadmin_key__sys
field value for the Language object record indicated in the Base Language setting as configured on the Language & Region Settings page in the Vault Admin UI.- Returns:
- Vault language as an admin key. For example, "en".
-
getLocaleCode
String getLocaleCode()Retrieves theadmin_key__sys
field value for the Locale object record indicated in the Base Locale setting as configured on the Language & Region Settings page in the Vault Admin UI.- Returns:
- Vault locale as an admin key. For example, "en_US".
-
getDomain
String getDomain()Retrieves the Vault domain.- Returns:
- Vault domain. For example "vertebio.com".
-