public class OriginInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
OriginInfo() |
OriginInfo(OriginInfo 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 |
getBackupOrigin()
Get The ID of the secondary origin group.
|
String |
getOrigin()
Get Origin server address, which varies according to the value of OriginType:
When OriginType = IP_DOMAIN, fill in an IPv4 address, an IPv6 address, or a domain name;
When OriginType = COS, fill in the access domain name of the COS bucket;
When OriginType = AWS_S3, fill in the access domain name of the S3 bucket;
When OriginType = ORIGIN_GROUP, fill in the origin server group ID;
When OriginType = VOD, fill in the VOD application ID;
When OriginType = LB, fill in the Cloud Load Balancer instance ID.
|
String |
getOriginType()
Get Origin server type, with values:
IP_DOMAIN: IPv4, IPv6, or domain name type origin server;
COS: Tencent Cloud COS origin server;
AWS_S3: AWS S3 origin server;
ORIGIN_GROUP: origin server group type origin server;
VOD: Video on Demand;
SPACE: origin server uninstallation.
|
String |
getPrivateAccess()
Get Whether access to the private Cloud Object Storage origin server is allowed.
|
PrivateParameter[] |
getPrivateParameters()
Get Private authentication parameter.
|
String |
getVodeoBucketId()
Deprecated.
|
String |
getVodeoDistributionRange()
Deprecated.
|
Long |
getVodeoSubAppId()
Deprecated.
|
void |
setBackupOrigin(String BackupOrigin)
Set The ID of the secondary origin group.
|
void |
setOrigin(String Origin)
Set Origin server address, which varies according to the value of OriginType:
When OriginType = IP_DOMAIN, fill in an IPv4 address, an IPv6 address, or a domain name;
When OriginType = COS, fill in the access domain name of the COS bucket;
When OriginType = AWS_S3, fill in the access domain name of the S3 bucket;
When OriginType = ORIGIN_GROUP, fill in the origin server group ID;
When OriginType = VOD, fill in the VOD application ID;
When OriginType = LB, fill in the Cloud Load Balancer instance ID.
|
void |
setOriginType(String OriginType)
Set Origin server type, with values:
IP_DOMAIN: IPv4, IPv6, or domain name type origin server;
COS: Tencent Cloud COS origin server;
AWS_S3: AWS S3 origin server;
ORIGIN_GROUP: origin server group type origin server;
VOD: Video on Demand;
SPACE: origin server uninstallation.
|
void |
setPrivateAccess(String PrivateAccess)
Set Whether access to the private Cloud Object Storage origin server is allowed.
|
void |
setPrivateParameters(PrivateParameter[] PrivateParameters)
Set Private authentication parameter.
|
void |
setVodeoBucketId(String VodeoBucketId)
Deprecated.
|
void |
setVodeoDistributionRange(String VodeoDistributionRange)
Deprecated.
|
void |
setVodeoSubAppId(Long VodeoSubAppId)
Deprecated.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public OriginInfo()
public OriginInfo(OriginInfo source)
public String getOriginType()
public void setOriginType(String OriginType)
OriginType
- Origin server type, with values:
public String getOrigin()
public void setOrigin(String Origin)
Origin
- Origin server address, which varies according to the value of OriginType:
public String getBackupOrigin()
public void setBackupOrigin(String BackupOrigin)
BackupOrigin
- The ID of the secondary origin group. This parameter is valid only when OriginType is ORIGIN_GROUP. This field indicates the old version capability, which cannot be configured or modified on the control panel after being called. Please submit a ticket if required.public String getPrivateAccess()
public void setPrivateAccess(String PrivateAccess)
PrivateAccess
- Whether access to the private Cloud Object Storage origin server is allowed. This parameter is valid only when OriginType is COS or AWS_S3. Valid values:
public PrivateParameter[] getPrivateParameters()
public void setPrivateParameters(PrivateParameter[] PrivateParameters)
PrivateParameters
- Private authentication parameter. This parameter is valid only when PrivateAccess is on.@Deprecated public Long getVodeoSubAppId()
@Deprecated public void setVodeoSubAppId(Long VodeoSubAppId)
VodeoSubAppId
- VODEO sub-application ID. This parameter is required when OriginType is VODEO.@Deprecated public String getVodeoDistributionRange()
@Deprecated public void setVodeoDistributionRange(String VodeoDistributionRange)
VodeoDistributionRange
- VOD on EO distribution range. This parameter is required when OriginType = VODEO. The values are:
@Deprecated public String getVodeoBucketId()
@Deprecated public void setVodeoBucketId(String VodeoBucketId)
VodeoBucketId
- VODEO storage bucket ID. This parameter is required when OriginType is VODEO and VodeoDistributionRange is Bucket.Copyright © 2024. All rights reserved.