Example usage for com.amazonaws.services.simplesystemsmanagement.model Parameter getValue

List of usage examples for com.amazonaws.services.simplesystemsmanagement.model Parameter getValue

Introduction

In this page you can find the example usage for com.amazonaws.services.simplesystemsmanagement.model Parameter getValue.

Prototype


public String getValue() 

Source Link

Document

The parameter value.

Usage

From source file:org.springframework.cloud.aws.paramstore.AwsParamStorePropertySource.java

License:Apache License

private void getParameters(GetParametersByPathRequest paramsRequest) {
    GetParametersByPathResult paramsResult = source.getParametersByPath(paramsRequest);
    for (Parameter parameter : paramsResult.getParameters()) {
        String key = parameter.getName().replace(context, "").replace('/', '.');
        properties.put(key, parameter.getValue());
    }/*from   www . j a v a2  s .  c o m*/
    if (paramsResult.getNextToken() != null) {
        getParameters(paramsRequest.withNextToken(paramsResult.getNextToken()));
    }
}