org.jclouds.aliyun.slb.loadbalancer.functions.RegionToLocation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aliyun-slb Show documentation
Show all versions of aliyun-slb Show documentation
jclouds components to access an implementation of SLB
The newest version!
package org.jclouds.aliyun.slb.loadbalancer.functions;
import org.jclouds.domain.Location;
import org.jclouds.domain.LocationBuilder;
import org.jclouds.domain.LocationScope;
import com.google.common.base.Function;
public class RegionToLocation implements Function {
@Override
public Location apply(String input) {
LocationBuilder builder = new LocationBuilder();
builder.scope(LocationScope.REGION);
builder.id(input);
builder.description(input);
return builder.build();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy