public class OriginGroup extends AbstractModel
Constructor and Description |
---|
OriginGroup() |
OriginGroup(OriginGroup 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 |
---|---|
Boolean |
getApplicationProxyUsed()
Get Whether the origin group uses layer-4 proxy.
|
Boolean |
getLoadBalancingUsed()
Get Whether the origin group is used for load balancing.
|
String |
getLoadBalancingUsedType()
Get Proxy mode of the load balancing task associated with the origin group.
|
String |
getOriginId()
Get Origin group ID
|
String |
getOriginName()
Get Origin group name
|
String |
getOriginType()
Get Origin server type
Note: This field may return `null`, indicating that no valid value can be obtained.
|
OriginRecord[] |
getRecord()
Get Record
|
OriginCheckOriginStatus |
getStatus()
Get Origin status
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getType()
Get Origin-pull configuration type
`area`: Origin-pull by the client IP’s region specified by `Area` in `OriginRecord`.
|
String |
getUpdateTime()
Get Update time
|
String |
getZoneId()
Get Site ID
|
String |
getZoneName()
Get Site name
|
void |
setApplicationProxyUsed(Boolean ApplicationProxyUsed)
Set Whether the origin group uses layer-4 proxy.
|
void |
setLoadBalancingUsed(Boolean LoadBalancingUsed)
Set Whether the origin group is used for load balancing.
|
void |
setLoadBalancingUsedType(String LoadBalancingUsedType)
Set Proxy mode of the load balancing task associated with the origin group.
|
void |
setOriginId(String OriginId)
Set Origin group ID
|
void |
setOriginName(String OriginName)
Set Origin group name
|
void |
setOriginType(String OriginType)
Set Origin server type
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setRecord(OriginRecord[] Record)
Set Record
|
void |
setStatus(OriginCheckOriginStatus Status)
Set Origin status
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setType(String Type)
Set Origin-pull configuration type
`area`: Origin-pull by the client IP’s region specified by `Area` in `OriginRecord`.
|
void |
setUpdateTime(String UpdateTime)
Set Update time
|
void |
setZoneId(String ZoneId)
Set Site ID
|
void |
setZoneName(String ZoneName)
Set Site name
|
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, toJsonString
public OriginGroup()
public OriginGroup(OriginGroup source)
public String getOriginId()
public void setOriginId(String OriginId)
OriginId
- Origin group IDpublic String getOriginName()
public void setOriginName(String OriginName)
OriginName
- Origin group namepublic String getType()
public void setType(String Type)
Type
- Origin-pull configuration type
`area`: Origin-pull by the client IP’s region specified by `Area` in `OriginRecord`.
`weight`: Origin-pull by the weight specified by `Weight` in `OriginRecord`.public OriginRecord[] getRecord()
public void setRecord(OriginRecord[] Record)
Record
- Recordpublic String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- Update timepublic String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- Site IDpublic String getZoneName()
public void setZoneName(String ZoneName)
ZoneName
- Site namepublic String getOriginType()
public void setOriginType(String OriginType)
OriginType
- Origin server type
Note: This field may return `null`, indicating that no valid value can be obtained.public Boolean getApplicationProxyUsed()
public void setApplicationProxyUsed(Boolean ApplicationProxyUsed)
ApplicationProxyUsed
- Whether the origin group uses layer-4 proxy.
Note: This field may return null, indicating that no valid values can be obtained.public Boolean getLoadBalancingUsed()
public void setLoadBalancingUsed(Boolean LoadBalancingUsed)
LoadBalancingUsed
- Whether the origin group is used for load balancing.
Note: This field may return null, indicating that no valid values can be obtained.public OriginCheckOriginStatus getStatus()
public void setStatus(OriginCheckOriginStatus Status)
Status
- Origin status
Note: This field may return null, indicating that no valid values can be obtained.public String getLoadBalancingUsedType()
public void setLoadBalancingUsedType(String LoadBalancingUsedType)
LoadBalancingUsedType
- Proxy mode of the load balancing task associated with the origin group.
`none`: This origin group is not used for load balancing.
`dns_only`: Used for DNS-only load balancing
`proxied`: Used for proxied load balancing
`both`: It’s used for both DNS-only and proxied load balancing.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.