public class OriginRecord extends AbstractModel
| Constructor and Description |
|---|
OriginRecord() |
OriginRecord(OriginRecord 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[] |
getArea()
Get Region of the origin group.
|
Long |
getPort()
Get Port
|
Boolean |
getPrivate()
Get Specifies whether to run private origin authentication.
|
OriginRecordPrivateParameter[] |
getPrivateParameter()
Get Private origin parameter.
|
String |
getRecord()
Get Record value
|
String |
getRecordId()
Get Record ID
|
Long |
getWeight()
Get The weight of the origin group.
|
void |
setArea(String[] Area)
Set Region of the origin group.
|
void |
setPort(Long Port)
Set Port
|
void |
setPrivate(Boolean Private)
Set Specifies whether to run private origin authentication.
|
void |
setPrivateParameter(OriginRecordPrivateParameter[] PrivateParameter)
Set Private origin parameter.
|
void |
setRecord(String Record)
Set Record value
|
void |
setRecordId(String RecordId)
Set Record ID
|
void |
setWeight(Long Weight)
Set The weight of the origin group.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic OriginRecord()
public OriginRecord(OriginRecord source)
public String getRecord()
public void setRecord(String Record)
Record - Record valuepublic String[] getArea()
public void setArea(String[] Area)
Area - Region of the origin group. It’s available when the origin group `Type` is `area`.
If it’s left empty, it means to use the default region.public Long getWeight()
public void setWeight(Long Weight)
Weight - The weight of the origin group. It’s available when the `Type` is `weight`.public Long getPort()
public void setPort(Long Port)
Port - Portpublic String getRecordId()
public void setRecordId(String RecordId)
RecordId - Record IDpublic Boolean getPrivate()
public void setPrivate(Boolean Private)
Private - Specifies whether to run private origin authentication.
It is valid only when `OriginType=third_part`.
Note: This field may return `null`, indicating that no valid value can be obtained.public OriginRecordPrivateParameter[] getPrivateParameter()
public void setPrivateParameter(OriginRecordPrivateParameter[] PrivateParameter)
PrivateParameter - Private origin parameter.
It is valid only when `Private=true`.
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2022. All rights reserved.