public class ModifyOriginParameters extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyOriginParameters() |
ModifyOriginParameters(ModifyOriginParameters 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 |
---|---|
Long |
getHTTPOriginPort()
Get The HTTP origin port, value ranges from 1 to 65535.
|
Long |
getHTTPSOriginPort()
Get The HTTPS origin port, value ranges from 1 to 65535.
|
String |
getOrigin()
Get Origin server address, which varies according to the value of origintype:.
|
String |
getOriginProtocol()
Get Origin-Pull protocol configuration.
|
String |
getOriginType()
Get The origin type.
|
String |
getPrivateAccess()
Get Specifies whether access to the private object storage origin server is allowed.
|
OriginPrivateParameters |
getPrivateParameters()
Get Private authentication parameter.
|
void |
setHTTPOriginPort(Long HTTPOriginPort)
Set The HTTP origin port, value ranges from 1 to 65535.
|
void |
setHTTPSOriginPort(Long HTTPSOriginPort)
Set The HTTPS origin port, value ranges from 1 to 65535.
|
void |
setOrigin(String Origin)
Set Origin server address, which varies according to the value of origintype:.
|
void |
setOriginProtocol(String OriginProtocol)
Set Origin-Pull protocol configuration.
|
void |
setOriginType(String OriginType)
Set The origin type.
|
void |
setPrivateAccess(String PrivateAccess)
Set Specifies whether access to the private object storage origin server is allowed.
|
void |
setPrivateParameters(OriginPrivateParameters PrivateParameters)
Set Private authentication parameter.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ModifyOriginParameters()
public ModifyOriginParameters(ModifyOriginParameters source)
public String getOriginType()
public void setOriginType(String OriginType)
OriginType
- The origin type. values:.
public String getOrigin()
public void setOrigin(String Origin)
Origin
- Origin server address, which varies according to the value of origintype:.
public String getOriginProtocol()
public void setOriginProtocol(String OriginProtocol)
OriginProtocol
- Origin-Pull protocol configuration. this parameter is required when origintype is ipdomain, origingroup, or loadbalance. valid values are:.
public Long getHTTPOriginPort()
public void setHTTPOriginPort(Long HTTPOriginPort)
HTTPOriginPort
- The HTTP origin port, value ranges from 1 to 65535. this parameter is required when the origin-pull protocol OriginProtocol is HTTP or follow.public Long getHTTPSOriginPort()
public void setHTTPSOriginPort(Long HTTPSOriginPort)
HTTPSOriginPort
- The HTTPS origin port, value ranges from 1 to 65535. this parameter is required when the origin-pull protocol OriginProtocol is HTTPS or follow.public String getPrivateAccess()
public void setPrivateAccess(String PrivateAccess)
PrivateAccess
- Specifies whether access to the private object storage origin server is allowed. this parameter is required when the origin server type OriginType is COS or AWSS3. valid values:.
public OriginPrivateParameters getPrivateParameters()
public void setPrivateParameters(OriginPrivateParameters PrivateParameters)
PrivateParameters
- Private authentication parameter. this parameter is valid only when origintype = awss3 and privateaccess = on.
Note: this field may return null, which indicates a failure to obtain a valid value.Copyright © 2025. All rights reserved.