Package com.qiniu.storage
Class Region.Builder
- java.lang.Object
-
- com.qiniu.storage.Region.Builder
-
- Enclosing class:
- Region
public static class Region.Builder extends java.lang.Object域名构造器
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Region.BuilderaccUpHost(java.lang.String... accUpHosts)Region.BuilderapiHost(java.lang.String apiHost)RegionautoRegion(java.lang.String ucServer)自动选择,其它参数设置无效Regionbuild()返回构建好的Region对象Region.BuilderiovipHost(java.lang.String iovipHost)Region.Builderregion(java.lang.String region)Region.BuilderrsfHost(java.lang.String rsfHost)Region.BuilderrsHost(java.lang.String rsHost)Region.BuildersrcUpHost(java.lang.String... srcUpHosts)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(Region originRegion)
-
-
Method Detail
-
region
public Region.Builder region(java.lang.String region)
-
srcUpHost
public Region.Builder srcUpHost(java.lang.String... srcUpHosts)
-
accUpHost
public Region.Builder accUpHost(java.lang.String... accUpHosts)
-
iovipHost
public Region.Builder iovipHost(java.lang.String iovipHost)
-
rsHost
public Region.Builder rsHost(java.lang.String rsHost)
-
rsfHost
public Region.Builder rsfHost(java.lang.String rsfHost)
-
apiHost
public Region.Builder apiHost(java.lang.String apiHost)
-
autoRegion
public Region autoRegion(java.lang.String ucServer)
自动选择,其它参数设置无效- Parameters:
ucServer- uc host- Returns:
- 区域信息
-
build
public Region build()
返回构建好的Region对象- Returns:
- 区域信息
-
-