com.baidubce.services.cdn.model.domain
Class SetDomainErrorPageRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.cdn.model.domain.SetDomainErrorPageRequest

public class SetDomainErrorPageRequest
extends AbstractBceRequest


Constructor Summary
SetDomainErrorPageRequest()
           
 
Method Summary
 SetDomainErrorPageRequest addErrorPage(ErrorPage page)
           
 String getDomain()
           
 List<ErrorPage> getErrorPage()
           
 void setDomain(String domain)
           
 void setErrorPage(List<ErrorPage> errorPage)
           
 String toString()
          (non-Javadoc)
 SetDomainErrorPageRequest withDomain(String domain)
           
 SetDomainErrorPageRequest withErrorPage(List<ErrorPage> errorPage)
           
 SetDomainErrorPageRequest withRequestCredentials(BceCredentials credentials)
          (non-Javadoc)
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetDomainErrorPageRequest

public SetDomainErrorPageRequest()
Method Detail

getDomain

public String getDomain()
Returns:
domain

setDomain

public void setDomain(String domain)
Parameters:
domain - the domain name

withDomain

public SetDomainErrorPageRequest withDomain(String domain)
Parameters:
domain - the domain name
Returns:
returns this object

getErrorPage

public List<ErrorPage> getErrorPage()
Returns:
errorPage

setErrorPage

public void setErrorPage(List<ErrorPage> errorPage)
Parameters:
errorPage - error page info

withErrorPage

public SetDomainErrorPageRequest withErrorPage(List<ErrorPage> errorPage)
Parameters:
errorPage - error page list
Returns:
this object

addErrorPage

public SetDomainErrorPageRequest addErrorPage(ErrorPage page)
Parameters:
page - error page info
Returns:
this object

withRequestCredentials

public SetDomainErrorPageRequest withRequestCredentials(BceCredentials credentials)
(non-Javadoc)

Specified by:
withRequestCredentials in class AbstractBceRequest
See Also:
AbstractBceRequest.withRequestCredentials(com.baidubce.auth.BceCredentials)

toString

public String toString()
(non-Javadoc)

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2020. All rights reserved.