Search in sources :

Example 1 with Parameter

use of software.amazon.awssdk.services.ssm.model.Parameter in project athenz by yahoo.

the class ConfigProviderAwsParametersStoreTest method buildParameter.

private static Parameter buildParameter(String name, String value) {
    Parameter parameter = Mockito.mock(Parameter.class);
    Mockito.when(parameter.name()).thenReturn(name);
    Mockito.when(parameter.value()).thenReturn(value);
    return parameter;
}
Also used : Parameter(software.amazon.awssdk.services.ssm.model.Parameter)

Aggregations

Parameter (software.amazon.awssdk.services.ssm.model.Parameter)1