Example usage for com.amazonaws.services.ec2.model Region setEndpoint

List of usage examples for com.amazonaws.services.ec2.model Region setEndpoint

Introduction

In this page you can find the example usage for com.amazonaws.services.ec2.model Region setEndpoint.

Prototype


public void setEndpoint(String endpoint) 

Source Link

Document

The Region service endpoint.

Usage

From source file:jp.primecloud.auto.aws.typica.converter.RegionConverter.java

License:Open Source License

@Override
protected Region convertObject(RegionInfo from) {
    Region to = new Region();

    to.setRegionName(from.getName());/*from  w w w .  ja v a  2  s .c o  m*/
    to.setEndpoint(from.getUrl());

    return to;
}