public class CreateOriginGroupRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateOriginGroupRequest() |
CreateOriginGroupRequest(CreateOriginGroupRequest 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 |
getOriginName()
Get Name of the origin group
|
String |
getOriginType()
Get Origin type
`self`: Customer origin
`third_party`: Third-party origin
`cos`: Tencent Cloud COS origin
|
OriginRecord[] |
getRecord()
Get Origin records
|
String |
getType()
Get Origin-pull configuration type.
|
String |
getZoneId()
Get ID of the site
|
void |
setOriginName(String OriginName)
Set Name of the origin group
|
void |
setOriginType(String OriginType)
Set Origin type
`self`: Customer origin
`third_party`: Third-party origin
`cos`: Tencent Cloud COS origin
|
void |
setRecord(OriginRecord[] Record)
Set Origin records
|
void |
setType(String Type)
Set Origin-pull configuration type.
|
void |
setZoneId(String ZoneId)
Set ID of the site
|
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 CreateOriginGroupRequest()
public CreateOriginGroupRequest(CreateOriginGroupRequest source)
public String getOriginName()
public void setOriginName(String OriginName)
OriginName
- Name of the origin grouppublic String getType()
public void setType(String Type)
Type
- Origin-pull configuration type. This field is required when `OriginType=self`.
`area`: Origin-pull by region
`weight`: Origin-pull by weight
When `OriginType=third_party/cos`, it can be left empty.public OriginRecord[] getRecord()
public void setRecord(OriginRecord[] Record)
Record
- Origin recordspublic String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- ID of the sitepublic String getOriginType()
public void setOriginType(String OriginType)
OriginType
- Origin type
`self`: Customer origin
`third_party`: Third-party origin
`cos`: Tencent Cloud COS originCopyright © 2024. All rights reserved.