public class Origin extends AbstractModel
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 origin server list When modifying the backup origin server, you need to enter the corresponding BackupOriginType.
|
String |
getBackupOriginType()
Get Backup origin server type, which supports the following types: domain:Domain; ip:IP address; third_party:third-party object storage origin.
|
String |
getBackupServerName()
Get Host header used when accessing the backup origin server.
|
String |
getOriginCompany()
Get The object storage returns to the source vendor.
|
String |
getOriginPullProtocol()
Get Origin-pull protocol configuration http: forced HTTP origin-pull follow: protocol follow origin-pull https: forced HTTPS origin-pull.
|
String[] |
getOrigins()
Get Primary origin server list When modifying the origin server, you need to enter the corresponding OriginType.
|
String |
getOriginType()
Get Primary origin server type The following types are supported for input parameters: domain:domain; ip:IP address; third_party:third-party object storage origin.
|
String |
getServerName()
Get Host header used when accessing the primary origin server.
|
void |
setBackupOrigins(String[] BackupOrigins)
Set Backup origin server list When modifying the backup origin server, you need to enter the corresponding BackupOriginType.
|
void |
setBackupOriginType(String BackupOriginType)
Set Backup origin server type, which supports the following types: domain:Domain; ip:IP address; third_party:third-party object storage origin.
|
void |
setBackupServerName(String BackupServerName)
Set Host header used when accessing the backup origin server.
|
void |
setOriginCompany(String OriginCompany)
Set The object storage returns to the source vendor.
|
void |
setOriginPullProtocol(String OriginPullProtocol)
Set Origin-pull protocol configuration http: forced HTTP origin-pull follow: protocol follow origin-pull https: forced HTTPS origin-pull.
|
void |
setOrigins(String[] Origins)
Set Primary origin server list When modifying the origin server, you need to enter the corresponding OriginType.
|
void |
setOriginType(String OriginType)
Set Primary origin server type The following types are supported for input parameters: domain:domain; ip:IP address; third_party:third-party object storage origin.
|
void |
setServerName(String ServerName)
Set Host header used when accessing the primary origin server.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic Origin()
public Origin(Origin source)
public String[] getOrigins()
public void setOrigins(String[] Origins)
Origins - Primary origin server list When modifying the origin server, you need to enter the corresponding OriginType. Note: This field may return null, indicating that no valid value was found.public String getOriginType()
public void setOriginType(String OriginType)
OriginType - Primary origin server type The following types are supported for input parameters: public String getServerName()
public void setServerName(String ServerName)
ServerName - Host header used when accessing the primary origin server. If it is left empty, the acceleration domain name will be used by default.When the origin server type is object storage, the ServerName field is required.public String getOriginPullProtocol()
public void setOriginPullProtocol(String OriginPullProtocol)
OriginPullProtocol - Origin-pull protocol configuration http: forced HTTP origin-pull follow: protocol follow origin-pull https: forced HTTPS origin-pull. This only supports origin server port 443 for origin-pull. Note: This field may return null, indicating that no valid value can be obtained.public String[] getBackupOrigins()
public void setBackupOrigins(String[] BackupOrigins)
BackupOrigins - Backup origin server list When modifying the backup origin server, you need to enter the corresponding BackupOriginType. Note: This field may return null, indicating that no valid value can be obtained.public String getBackupOriginType()
public void setBackupOriginType(String BackupOriginType)
BackupOriginType - Backup origin server type, which supports 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 - The object storage returns to the source vendor. It is required when the source site type is a third-party storage source site (third_party). The optional values include the following:Copyright © 2023. All rights reserved.