public class OriginDetail extends AbstractModel
header, skipSign| Constructor and Description |
|---|
OriginDetail() |
OriginDetail(OriginDetail 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 |
getBackOriginGroupName()
Get Secondary origin group name.
|
String |
getBackupOrigin()
Get Secondary origin group ID.
|
String |
getHostHeader()
Get Specifies the current configuration of the origin-pull HOST header.
|
String |
getOrigin()
Get Origin server address, which varies with the value of OriginType:
When OriginType = IP_DOMAIN, this parameter is an IPv4 address, an IPv6 address, or a domain name.
When OriginType = COS, this parameter is the access domain name of the COS bucket.
When OriginType = AWS_S3, this parameter is the access domain name of the S3 bucket.
When OriginType = ORIGIN_GROUP, this parameter is the origin server group ID.
When OriginType = VOD, this parameter is the VOD application ID.
|
String |
getOriginGroupName()
Get Primary origin group name.
|
String |
getOriginType()
Get Origin server type.
|
String |
getPrivateAccess()
Get Whether access to the private object storage origin server is allowed.
|
PrivateParameter[] |
getPrivateParameters()
Get Private authentication parameter.
|
String |
getVodBucketId()
Get VOD bucket ID.
|
String |
getVodeoBucketId()
Deprecated.
|
String |
getVodeoDistributionRange()
Deprecated.
|
Long |
getVodeoSubAppId()
Deprecated.
|
String |
getVodOriginScope()
Get VOD origin-pull range.
|
void |
setBackOriginGroupName(String BackOriginGroupName)
Set Secondary origin group name.
|
void |
setBackupOrigin(String BackupOrigin)
Set Secondary origin group ID.
|
void |
setHostHeader(String HostHeader)
Set Specifies the current configuration of the origin-pull HOST header.
|
void |
setOrigin(String Origin)
Set Origin server address, which varies with the value of OriginType:
When OriginType = IP_DOMAIN, this parameter is an IPv4 address, an IPv6 address, or a domain name.
When OriginType = COS, this parameter is the access domain name of the COS bucket.
When OriginType = AWS_S3, this parameter is the access domain name of the S3 bucket.
When OriginType = ORIGIN_GROUP, this parameter is the origin server group ID.
When OriginType = VOD, this parameter is the VOD application ID.
|
void |
setOriginGroupName(String OriginGroupName)
Set Primary origin group name.
|
void |
setOriginType(String OriginType)
Set Origin server type.
|
void |
setPrivateAccess(String PrivateAccess)
Set Whether access to the private object storage origin server is allowed.
|
void |
setPrivateParameters(PrivateParameter[] PrivateParameters)
Set Private authentication parameter.
|
void |
setVodBucketId(String VodBucketId)
Set VOD bucket ID.
|
void |
setVodeoBucketId(String VodeoBucketId)
Deprecated.
|
void |
setVodeoDistributionRange(String VodeoDistributionRange)
Deprecated.
|
void |
setVodeoSubAppId(Long VodeoSubAppId)
Deprecated.
|
void |
setVodOriginScope(String VodOriginScope)
Set VOD origin-pull range.
|
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 OriginDetail()
public OriginDetail(OriginDetail source)
public String getOriginType()
public void setOriginType(String OriginType)
OriginType - Origin server type. Valid values:
public String getOrigin()
public void setOrigin(String Origin)
Origin - Origin server address, which varies with the value of OriginType:
public String getBackupOrigin()
public void setBackupOrigin(String BackupOrigin)
BackupOrigin - Secondary origin group ID. This parameter is valid only when OriginType is ORIGIN_GROUP and a secondary origin group is configured.public String getOriginGroupName()
public void setOriginGroupName(String OriginGroupName)
OriginGroupName - Primary origin group name. This parameter returns a value when OriginType is ORIGIN_GROUP.public String getBackOriginGroupName()
public void setBackOriginGroupName(String BackOriginGroupName)
BackOriginGroupName - Secondary origin group name. This parameter is valid only when OriginType is ORIGIN_GROUP and a secondary origin group is configured.public String getPrivateAccess()
public void setPrivateAccess(String PrivateAccess)
PrivateAccess - Whether access to the private object storage origin server is allowed. This parameter is valid only when the origin server type 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.
Note: This field may return null, indicating that no valid values can be obtained.public String getHostHeader()
public void setHostHeader(String HostHeader)
HostHeader - Specifies the current configuration of the origin-pull HOST header.@Deprecated public Long getVodeoSubAppId()
@Deprecated public void setVodeoSubAppId(Long VodeoSubAppId)
VodeoSubAppId - MO sub-application ID@Deprecated public String getVodeoDistributionRange()
@Deprecated public void setVodeoDistributionRange(String VodeoDistributionRange)
VodeoDistributionRange - MO distribution range. Valid values: @Deprecated public String getVodeoBucketId()
@Deprecated public void setVodeoBucketId(String VodeoBucketId)
VodeoBucketId - MO bucket ID, required when the distribution range (DistributionRange) is bucket (Bucket)public String getVodOriginScope()
public void setVodOriginScope(String VodOriginScope)
VodOriginScope - VOD origin-pull range. this parameter returns a value when OriginType = VOD. valid values: public String getVodBucketId()
public void setVodBucketId(String VodBucketId)
VodBucketId - VOD bucket ID. this parameter is required when OriginType = VOD and VodOriginScope = bucket. data source: storage ID of the bucket under the VOD professional application.Copyright © 2025. All rights reserved.