public class Origin extends AbstractModel
header, skipSign| Constructor and Description |
|---|
Origin() |
Origin(Origin source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getBackupOrigins()
Get Backup source site list.
|
String |
getBackupOriginType()
Get Backup origin site type, input parameters support the following types: domain: domain name type; ip: IP list as the origin site; third_party: third-party storage origin site .
|
String |
getBackupServerName()
Get Host header used when accessing the backup origin server.
|
String |
getOriginCompany()
Get Object storage back to the origin vendor.
|
String |
getOriginPullProtocol()
Get Back-to-origin protocol configuration: http: Forces HTTP back-to-origin; follow: The protocol follows back-to-origin; https: Forces https back-to-origin, and https back-to-origin only supports origin.
|
String[] |
getOrigins()
Get List of main origin sites.
|
String |
getOriginType()
Get Main origin site type, input parameters support the following types: domain: domain name type; ip: IP list as the origin site; third_party: third-party storage origin site .
|
String |
getServerName()
Get When returning to the main origin server, the Host header will default to the accelerated domain name if it is not filled in.
|
void |
setBackupOrigins(String[] BackupOrigins)
Set Backup source site list.
|
void |
setBackupOriginType(String BackupOriginType)
Set Backup origin site type, input parameters support the following types: domain: domain name type; ip: IP list as the origin site; third_party: third-party storage origin site .
|
void |
setBackupServerName(String BackupServerName)
Set Host header used when accessing the backup origin server.
|
void |
setOriginCompany(String OriginCompany)
Set Object storage back to the origin vendor.
|
void |
setOriginPullProtocol(String OriginPullProtocol)
Set Back-to-origin protocol configuration: http: Forces HTTP back-to-origin; follow: The protocol follows back-to-origin; https: Forces https back-to-origin, and https back-to-origin only supports origin.
|
void |
setOrigins(String[] Origins)
Set List of main origin sites.
|
void |
setOriginType(String OriginType)
Set Main origin site type, input parameters support the following types: domain: domain name type; ip: IP list as the origin site; third_party: third-party storage origin site .
|
void |
setServerName(String ServerName)
Set When returning to the main origin server, the Host header will default to the accelerated domain name if it is not filled in.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic Origin()
public Origin(Origin source)
public String[] getOrigins()
public void setOrigins(String[] Origins)
Origins - List of main origin sites. When modifying the main origin site, the corresponding OriginType needs to be filled in at the same time.public String getOriginType()
public void setOriginType(String OriginType)
OriginType - Main origin site type, input parameters support the following types: public String getServerName()
public void setServerName(String ServerName)
ServerName - When returning to the main origin server, the Host header will default to the accelerated domain name if it is not filled in. When the origin server type is object storage, the ServerName field is required.public String getOriginPullProtocol()
public void setOriginPullProtocol(String OriginPullProtocol)
OriginPullProtocol - Back-to-origin protocol configuration: public String[] getBackupOrigins()
public void setBackupOrigins(String[] BackupOrigins)
BackupOrigins - Backup source site list. When modifying the backup origin site, the corresponding OriginType needs to be filled in at the same time.public String getBackupOriginType()
public void setBackupOriginType(String BackupOriginType)
BackupOriginType - Backup origin site type, input parameters support the following types: public String getBackupServerName()
public void setBackupServerName(String BackupServerName)
BackupServerName - Host header used when accessing the backup origin server. If it is left empty, the ServerName of primary origin server will be used by default. Note: This field may return null, indicating that no valid value can be obtained.public String getOriginCompany()
public void setOriginCompany(String OriginCompany)
OriginCompany - Object storage back to the origin vendor. Required when the origin site type is a third-party storage origin site (third_party). Optional values u200bu200binclude the following: Copyright © 2025. All rights reserved.