Class Configuration
- Aws\EndpointDiscovery\Configuration implements Aws\EndpointDiscovery\ConfigurationInterface
- Namespace: Aws\EndpointDiscovery
- Located at EndpointDiscovery/Configuration.php
Provides access to endpoint discovery configuration options: 'enabled', 'cache_limit'
Methods Summary
- __construct ( $enabled, $cacheLimit = 1000 )
-
isEnabled ( )
Checks whether or not endpoint discovery is enabled.
-
getCacheLimit ( )
Returns the cache limit, if available.
-
toArray ( )
Returns the configuration as an associative array
Methods Details
__construct ( $enabled, $cacheLimit = 1000 )
boolean isEnabled ( )
Checks whether or not endpoint discovery is enabled.
Returns
boolean |
Implementation of
string|null getCacheLimit ( )
Returns the cache limit, if available.
Returns
string|null |
Implementation of
array toArray ( )
Returns the configuration as an associative array
Returns
array |