Class ParameterQuery
java.lang.Object
io.micronaut.discovery.aws.parameterstore.ParameterQuery
An object encapsulating all necessary parameters to perform a request for
configuration values to the Parameter Store, as well as the name of the
resulting property source and associated priority.
- Since:
- 2.3.0
- Author:
- ttzn
-
Constructor Summary
ConstructorDescriptionParameterQuery
(String path, String propertySourceName, int priority) ParameterQuery
(String path, String propertySourceName, int priority, boolean name) -
Method Summary
-
Constructor Details
-
ParameterQuery
-
ParameterQuery
-
-
Method Details
-
getPath
- Returns:
- the path to be used when querying the Parameter Store; if
isName()
is true, it will be used asnames
in a GetParameters request, call, otherwise it is thepath
parameter of a GetParametersByPath.
-
getPropertySourceName
- Returns:
- the name of the property source that will hold the retrieved configuration values.
-
isName
public boolean isName()- Returns:
- whether the current query should be performed using the GetParameters API instead of GetParametersByPath. This is almost never not what you want.
-
getPriority
public int getPriority()- Returns:
- the priority of the property source that will hold the retrieved configuration values.
-