com.baidubce.services.cdn.model.domain
Class SetDomainCacheTTLRequest
java.lang.Object
com.baidubce.model.AbstractBceRequest
com.baidubce.services.cdn.model.domain.SetDomainCacheTTLRequest
public class SetDomainCacheTTLRequest
- extends AbstractBceRequest
- Author:
- yixing
SetDomainCacheTTLRequest
public SetDomainCacheTTLRequest()
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 © 2020. All rights reserved.