public class DistributionConfig extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
DistributionConfig()
Default constructor for DistributionConfig object.
|
DistributionConfig(String callerReference,
Boolean enabled)
Constructs a new DistributionConfig object.
|
public DistributionConfig()
public void setCallerReference(String callerReference)
callerReference - public String getCallerReference()
public DistributionConfig withCallerReference(String callerReference)
callerReference - public void setAliases(Aliases aliases)
aliases - public Aliases getAliases()
public DistributionConfig withAliases(Aliases aliases)
aliases - public void setDefaultRootObject(String defaultRootObject)
defaultRootObject - public String getDefaultRootObject()
public DistributionConfig withDefaultRootObject(String defaultRootObject)
defaultRootObject - public void setOrigins(Origins origins)
origins - public Origins getOrigins()
public DistributionConfig withOrigins(Origins origins)
origins - public void setDefaultCacheBehavior(DefaultCacheBehavior defaultCacheBehavior)
defaultCacheBehavior - public DefaultCacheBehavior getDefaultCacheBehavior()
public DistributionConfig withDefaultCacheBehavior(DefaultCacheBehavior defaultCacheBehavior)
defaultCacheBehavior - public void setCacheBehaviors(CacheBehaviors cacheBehaviors)
cacheBehaviors - public CacheBehaviors getCacheBehaviors()
public DistributionConfig withCacheBehaviors(CacheBehaviors cacheBehaviors)
cacheBehaviors - public void setCustomErrorResponses(CustomErrorResponses customErrorResponses)
customErrorResponses - public CustomErrorResponses getCustomErrorResponses()
public DistributionConfig withCustomErrorResponses(CustomErrorResponses customErrorResponses)
customErrorResponses - public void setComment(String comment)
comment - public String getComment()
public DistributionConfig withComment(String comment)
comment - public void setLogging(LoggingConfig logging)
logging - public LoggingConfig getLogging()
public DistributionConfig withLogging(LoggingConfig logging)
logging - public void setPriceClass(String priceClass)
priceClass - PriceClasspublic String getPriceClass()
PriceClasspublic DistributionConfig withPriceClass(String priceClass)
priceClass - PriceClasspublic void setPriceClass(PriceClass priceClass)
priceClass - PriceClasspublic DistributionConfig withPriceClass(PriceClass priceClass)
priceClass - PriceClasspublic void setEnabled(Boolean enabled)
enabled - public Boolean getEnabled()
public DistributionConfig withEnabled(Boolean enabled)
enabled - public Boolean isEnabled()
public void setViewerCertificate(ViewerCertificate viewerCertificate)
viewerCertificate - public ViewerCertificate getViewerCertificate()
public DistributionConfig withViewerCertificate(ViewerCertificate viewerCertificate)
viewerCertificate - public void setRestrictions(Restrictions restrictions)
restrictions - public Restrictions getRestrictions()
public DistributionConfig withRestrictions(Restrictions restrictions)
restrictions - public void setWebACLId(String webACLId)
webACLId - public String getWebACLId()
public DistributionConfig withWebACLId(String webACLId)
webACLId - public String toString()
toString in class ObjectObject.toString()public DistributionConfig clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.