Package com.qiniu.common
Class Zone.Builder
- java.lang.Object
-
- com.qiniu.common.Zone.Builder
-
- Enclosing class:
- Zone
public static class Zone.Builder extends java.lang.Object域名构造器
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Zone.BuilderapiHttp(java.lang.String apiHttp)Zone.BuilderapiHttps(java.lang.String apiHttps)ZoneautoZone()自动选择区域,其它参数设置无效Zonebuild()构建 Zone 对象Zone.BuilderiovipHttp(java.lang.String iovipHttp)Zone.BuilderiovipHttps(java.lang.String iovipHttps)Zone.Builderregion(java.lang.String region)Zone.BuilderrsfHttp(java.lang.String rsfHttp)Zone.BuilderrsfHttps(java.lang.String rsfHttps)Zone.BuilderrsHttp(java.lang.String rsHttp)Zone.BuilderrsHttps(java.lang.String rsHttps)Zone.BuilderupBackupHttp(java.lang.String upBackupHttp)Zone.BuilderupBackupHttps(java.lang.String upBackupHttps)Zone.BuilderupHttp(java.lang.String upHttp)Zone.BuilderupHttps(java.lang.String upHttps)Zone.BuilderupIpHttp(java.lang.String upIpHttp)Zone.BuilderupIpHttps(java.lang.String upIpHttps)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(Zone originZone)
-
-
Method Detail
-
region
public Zone.Builder region(java.lang.String region)
-
upHttp
public Zone.Builder upHttp(java.lang.String upHttp)
-
upBackupHttp
public Zone.Builder upBackupHttp(java.lang.String upBackupHttp)
-
upHttps
public Zone.Builder upHttps(java.lang.String upHttps)
-
upBackupHttps
public Zone.Builder upBackupHttps(java.lang.String upBackupHttps)
-
upIpHttp
public Zone.Builder upIpHttp(java.lang.String upIpHttp)
-
upIpHttps
public Zone.Builder upIpHttps(java.lang.String upIpHttps)
-
iovipHttp
public Zone.Builder iovipHttp(java.lang.String iovipHttp)
-
iovipHttps
public Zone.Builder iovipHttps(java.lang.String iovipHttps)
-
rsHttp
public Zone.Builder rsHttp(java.lang.String rsHttp)
-
rsHttps
public Zone.Builder rsHttps(java.lang.String rsHttps)
-
rsfHttp
public Zone.Builder rsfHttp(java.lang.String rsfHttp)
-
rsfHttps
public Zone.Builder rsfHttps(java.lang.String rsfHttps)
-
apiHttp
public Zone.Builder apiHttp(java.lang.String apiHttp)
-
apiHttps
public Zone.Builder apiHttps(java.lang.String apiHttps)
-
autoZone
public Zone autoZone()
自动选择区域,其它参数设置无效- Returns:
- 区域信息
-
build
public Zone build()
构建 Zone 对象- Returns:
- 区域信息
-
-