类 SetDomainOriginRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.cdn.model.SetDomainOriginRequest
-
public class SetDomainOriginRequest extends AbstractBceRequest
- 作者:
- yixing update by changxing01 on 19/8/28
-
-
构造器概要
构造器 构造器 说明 SetDomainOriginRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetDefaultHost()StringgetDomain()List<OriginPeer>getOrigin()booleanisFollow302()voidsetDefaultHost(String defaultHost)voidsetDomain(String domain)voidsetFollow302(boolean follow302)voidsetOrigin(List<OriginPeer> origin)StringtoString()(non-Javadoc)SetDomainOriginRequestwithDefaultHost(String defaultHost)SetDomainOriginRequestwithDomain(String domain)SetDomainOriginRequestwithFollow302(boolean follow302)SetDomainOriginRequestwithOrigin(List<OriginPeer> origin)SetDomainOriginRequestwithRequestCredentials(BceCredentials credentials)(non-Javadoc)-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
getDefaultHost
public String getDefaultHost()
- 返回:
- defaultHost
-
isFollow302
public boolean isFollow302()
-
setFollow302
public void setFollow302(boolean follow302)
-
setDefaultHost
public void setDefaultHost(String defaultHost)
- 参数:
defaultHost- default back source host
-
withDefaultHost
public SetDomainOriginRequest withDefaultHost(String defaultHost)
- 参数:
defaultHost- default back source host- 返回:
- this object
-
withFollow302
public SetDomainOriginRequest withFollow302(boolean follow302)
- 参数:
follow302- default back source host- 返回:
- this object
-
getDomain
public String getDomain()
- 返回:
- domain
-
setDomain
public void setDomain(String domain)
- 参数:
domain- the domain name
-
getOrigin
public List<OriginPeer> getOrigin()
- 返回:
- origin
-
setOrigin
public void setOrigin(List<OriginPeer> origin)
- 参数:
origin-
-
withDomain
public SetDomainOriginRequest withDomain(String domain)
- 参数:
domain- the domain name- 返回:
- returns this object
-
withOrigin
public SetDomainOriginRequest withOrigin(List<OriginPeer> origin)
- 参数:
origin-- 返回:
- returns this object
-
withRequestCredentials
public SetDomainOriginRequest withRequestCredentials(BceCredentials credentials)
(non-Javadoc)
-
toString
public String toString()
(non-Javadoc)- 覆盖:
toString在类中Object- 另请参阅:
Object.toString()
-
-