Uses of Class
com.azure.core.util.ConfigurationPropertyBuilder
-
Uses of ConfigurationPropertyBuilder in com.azure.core.util
Modifier and TypeMethodDescriptionSets one or more alias for property.ConfigurationPropertyBuilder.defaultValue
(T defaultValue) Sets default property value.ConfigurationPropertyBuilder.environmentVariableName
(String environmentVariableName) Sets environment variable name that can represent this property if explicit configuration is not set.ConfigurationPropertyBuilder.logValue
(boolean logValue) Sets flag indicating if property value can be logged.static ConfigurationPropertyBuilder<Boolean>
CreatesConfigurationPropertyBuilder
configured to log property value and parse value usingBoolean.parseBoolean(String)
.static ConfigurationPropertyBuilder<Duration>
ConfigurationPropertyBuilder.ofDuration
(String name) CreatesConfigurationPropertyBuilder
configured to log property value and parses value as long number of milliseconds, proxyingNumberFormatException
exception.static ConfigurationPropertyBuilder<Integer>
CreatesConfigurationPropertyBuilder
configured to log property value and parse value usingInteger.valueOf(String)
, proxyingNumberFormatException
exception.static ConfigurationPropertyBuilder<String>
Creates defaultConfigurationPropertyBuilder
.ConfigurationPropertyBuilder.required
(boolean required) Sets flag indicating if property is required.ConfigurationPropertyBuilder.shared
(boolean shared) Sets flag indicating that property can be provided in the shared configuration section in addition to client-specific configuration section.ConfigurationPropertyBuilder.systemPropertyName
(String systemPropertyName) Sets system property name that can represent this property if explicit configuration is not set.