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 |
getOrigin()
Get Origin server address, varying depending on the value of OriginType:
When OriginType is IP_DOMAIN, this parameter is IPv4 address, IPv6 address, or domain name;
When OriginType is COS, this parameter is the COS bucket's access domain;
When OriginType is AWS_S3, this parameter is the S3 bucket's access domain;
When OriginType is ORIGIN_GROUP, this parameter is the origin group ID;
When OriginType is VODEO, if VodeoDistributionRange is ALL, this parameter is "all-buckets-in-vodeo-application"; if VodeoDistributionRange is Bucket, this parameter is the corresponding bucket domain.
|
String |
getOriginGroupName()
Get Primary origin group name.
|
String |
getOriginType()
Get Origin server type.
|
String |
getPrivateAccess()
Get Whether access to the private Cloud Object Storage origin server is allowed.
|
PrivateParameter[] |
getPrivateParameters()
Get Private authentication parameter.
|
String |
getVodeoBucketId()
Get MO bucket ID, required when the distribution range (DistributionRange) is bucket (Bucket)
|
String |
getVodeoDistributionRange()
Get MO distribution range.
|
Long |
getVodeoSubAppId()
Get MO sub-application ID
|
void |
setBackOriginGroupName(String BackOriginGroupName)
Set Secondary origin group name.
|
void |
setBackupOrigin(String BackupOrigin)
Set Secondary origin group ID.
|
void |
setOrigin(String Origin)
Set Origin server address, varying depending on the value of OriginType:
When OriginType is IP_DOMAIN, this parameter is IPv4 address, IPv6 address, or domain name;
When OriginType is COS, this parameter is the COS bucket's access domain;
When OriginType is AWS_S3, this parameter is the S3 bucket's access domain;
When OriginType is ORIGIN_GROUP, this parameter is the origin group ID;
When OriginType is VODEO, if VodeoDistributionRange is ALL, this parameter is "all-buckets-in-vodeo-application"; if VodeoDistributionRange is Bucket, this parameter is the corresponding bucket domain.
|
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 Cloud Object Storage origin server is allowed.
|
void |
setPrivateParameters(PrivateParameter[] PrivateParameters)
Set Private authentication parameter.
|
void |
setVodeoBucketId(String VodeoBucketId)
Set MO bucket ID, required when the distribution range (DistributionRange) is bucket (Bucket)
|
void |
setVodeoDistributionRange(String VodeoDistributionRange)
Set MO distribution range.
|
void |
setVodeoSubAppId(Long VodeoSubAppId)
Set MO sub-application ID
|
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 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, varying depending on 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 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.
Note: This field may return null, indicating that no valid values can be obtained.public Long getVodeoSubAppId()
public void setVodeoSubAppId(Long VodeoSubAppId)
VodeoSubAppId
- MO sub-application IDpublic String getVodeoDistributionRange()
public void setVodeoDistributionRange(String VodeoDistributionRange)
VodeoDistributionRange
- MO distribution range. Valid values: public String getVodeoBucketId()
public void setVodeoBucketId(String VodeoBucketId)
VodeoBucketId
- MO bucket ID, required when the distribution range (DistributionRange) is bucket (Bucket)Copyright © 2024. All rights reserved.