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, varying depending on the value of OriginType:
When OriginType is IP_DOMAIN, specify this parameter with IPv4, IPv6, or domain name;
When OriginType is COS, specify this parameter with the COS bucket access domain name;
When OriginType is AWS_S3, specify this parameter with the S3 bucket access domain name;
When OriginType is ORIGIN_GROUP, specify this parameter with the origin group ID;
When OriginType is VODEO and VodeoDistributionRange is ALL, specify this parameter with "all-buckets-in-vodeo-application"; if VodeoDistributionRange is Bucket, specify this parameter with the corresponding storage bucket domain name;
When OriginType is LB, specify the Cloud Load Balancer instance ID.
|
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 VODEO storage bucket ID.
|
String |
getVodeoDistributionRange()
Get VODEO distribution range.
|
Long |
getVodeoSubAppId()
Get VODEO sub-application ID.
|
void |
setBackupOrigin(String BackupOrigin)
Set The ID of the secondary origin group.
|
void |
setOrigin(String Origin)
Set Origin server address, varying depending on the value of OriginType:
When OriginType is IP_DOMAIN, specify this parameter with IPv4, IPv6, or domain name;
When OriginType is COS, specify this parameter with the COS bucket access domain name;
When OriginType is AWS_S3, specify this parameter with the S3 bucket access domain name;
When OriginType is ORIGIN_GROUP, specify this parameter with the origin group ID;
When OriginType is VODEO and VodeoDistributionRange is ALL, specify this parameter with "all-buckets-in-vodeo-application"; if VodeoDistributionRange is Bucket, specify this parameter with the corresponding storage bucket domain name;
When OriginType is LB, specify the Cloud Load Balancer instance ID.
|
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 VODEO storage bucket ID.
|
void |
setVodeoDistributionRange(String VodeoDistributionRange)
Set VODEO distribution range.
|
void |
setVodeoSubAppId(Long VodeoSubAppId)
Set VODEO 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 OriginInfo()
public OriginInfo(OriginInfo 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
- 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.public Long getVodeoSubAppId()
public void setVodeoSubAppId(Long VodeoSubAppId)
VodeoSubAppId
- VODEO sub-application ID. This parameter is required when OriginType is VODEO.public String getVodeoDistributionRange()
public void setVodeoDistributionRange(String VodeoDistributionRange)
VodeoDistributionRange
- VODEO distribution range. This parameter is required when OriginType is VODEO. Valid values:
public String getVodeoBucketId()
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.