/** * Constructs awsParamsDto with AWS parameters. * * @return the AWS params DTO object. */ public AwsParamsDto getAwsParamsDto() { // Get HTTP proxy configuration settings. String httpProxyHost = configurationHelper.getProperty(ConfigurationValue.HTTP_PROXY_HOST); Integer httpProxyPort = configurationHelper.getProperty(ConfigurationValue.HTTP_PROXY_PORT, Integer.class); // Get AWS region name. String awsRegionName = configurationHelper.getProperty(ConfigurationValue.AWS_REGION_NAME); // Create an AWS parameters DTO. AwsParamsDto awsParamsDto = new AwsParamsDto(); awsParamsDto.setHttpProxyHost(httpProxyHost); awsParamsDto.setHttpProxyPort(httpProxyPort); awsParamsDto.setAwsRegionName(awsRegionName); return awsParamsDto; }
/** * Constructs awsParamsDto with AWS parameters. * * @return the AWS params DTO object. */ public AwsParamsDto getAwsParamsDto() { // Get HTTP proxy configuration settings. String httpProxyHost = configurationHelper.getProperty(ConfigurationValue.HTTP_PROXY_HOST); Integer httpProxyPort = configurationHelper.getProperty(ConfigurationValue.HTTP_PROXY_PORT, Integer.class); // Get AWS region name. String awsRegionName = configurationHelper.getProperty(ConfigurationValue.AWS_REGION_NAME); // Create an AWS parameters DTO. AwsParamsDto awsParamsDto = new AwsParamsDto(); awsParamsDto.setHttpProxyHost(httpProxyHost); awsParamsDto.setHttpProxyPort(httpProxyPort); awsParamsDto.setAwsRegionName(awsRegionName); return awsParamsDto; }
sourceAwsRegionName = this.getAwsRegionName(); String copyAwsRegionName = ((String) strategy.copy(LocatorUtils.property(locator, "awsRegionName", sourceAwsRegionName), sourceAwsRegionName, (this.awsRegionName!= null))); copy.setAwsRegionName(copyAwsRegionName); } else { if (awsRegionNameShouldBeCopiedAndSet == Boolean.FALSE) {