com.baidubce.services.cdn.model
Class SetDomainCacheTTLRequest

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

public class SetDomainCacheTTLRequest
extends AbstractBceRequest

Author:
yixing

Constructor Summary
SetDomainCacheTTLRequest()
           
 
Method Summary
 SetDomainCacheTTLRequest addCacheTTL(CacheTTL rule)
           
 List<CacheTTL> getCacheTTL()
           
 String getDomain()
           
 void setCacheTTL(List<CacheTTL> cacheTTL)
           
 void setDomain(String domain)
           
 String toString()
          (non-Javadoc)
 SetDomainCacheTTLRequest withCacheTTL(List<CacheTTL> cacheTTL)
           
 SetDomainCacheTTLRequest withDomain(String domain)
           
 SetDomainCacheTTLRequest 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

SetDomainCacheTTLRequest

public SetDomainCacheTTLRequest()
Method Detail

getDomain

public String getDomain()
Returns:
domain

setDomain

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

withDomain

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

getCacheTTL

public List<CacheTTL> getCacheTTL()
Returns:
cacheTTL

setCacheTTL

public void setCacheTTL(List<CacheTTL> cacheTTL)
Parameters:
cacheTTL -

withCacheTTL

public SetDomainCacheTTLRequest withCacheTTL(List<CacheTTL> cacheTTL)
Parameters:
cacheTTL -
Returns:
returns this object

addCacheTTL

public SetDomainCacheTTLRequest addCacheTTL(CacheTTL rule)
Parameters:
rule -
Returns:
returns this object

withRequestCredentials

public SetDomainCacheTTLRequest 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 © 2018. All rights reserved.