List of usage examples for com.amazonaws.services.elasticbeanstalk.model DescribeConfigurationSettingsRequest withTemplateName
public DescribeConfigurationSettingsRequest withTemplateName(String templateName)
The name of the configuration template to describe.
From source file:br.com.ingenieux.mojo.beanstalk.config.DescribeConfigurationSettingsMojo.java
License:Apache License
protected Object executeInternal() throws MojoExecutionException, MojoFailureException { boolean bTemplateNameDefined = isNotBlank(templateName) && !GlobUtil.hasWildcards(templateName); DescribeConfigurationSettingsRequest req = new DescribeConfigurationSettingsRequest() .withApplicationName(applicationName); if (bTemplateNameDefined) { req.withTemplateName(templateName); } else if (null != curEnv) { req.withEnvironmentName(curEnv.getEnvironmentName()); } else {// ww w. j av a2 s.c om getLog().warn("You must supply a templateName or environmentName. Ignoring"); return null; } getLog().info("Request: " + req); return getService().describeConfigurationSettings(req); }