public class DistributionConfig
extends java.lang.Object
Constructor and Description |
---|
DistributionConfig() |
DistributionConfig(Origin[] origins,
java.lang.String callerReference,
java.lang.String[] cnames,
java.lang.String comment,
boolean enabled,
LoggingStatus loggingStatus,
java.lang.String defaultRootObject,
CacheBehavior defaultCacheBehavior,
CacheBehavior[] cacheBehaviors)
Construct a distribution configuration compatible with CloudFront API versions
2012-05-05 and later (i.e.
|
DistributionConfig(Origin origin,
java.lang.String callerReference,
java.lang.String[] cnames,
java.lang.String comment,
boolean enabled,
LoggingStatus loggingStatus)
Deprecated.
as of 2012-05-05 API version.
|
DistributionConfig(Origin origin,
java.lang.String callerReference,
java.lang.String[] cnames,
java.lang.String comment,
boolean enabled,
LoggingStatus loggingStatus,
boolean trustedSignerSelf,
java.lang.String[] trustedSignerAwsAccountNumbers,
java.lang.String[] requiredProtocols,
java.lang.String defaultRootObject,
java.lang.Long minTTL)
Deprecated.
as of 2012-05-05 API version.
|
Modifier and Type | Method and Description |
---|---|
CacheBehavior[] |
getCacheBehaviors() |
java.lang.String |
getCallerReference() |
java.lang.String[] |
getCNAMEs() |
java.lang.String |
getComment() |
CacheBehavior |
getDefaultCacheBehavior() |
java.lang.String |
getDefaultRootObject() |
java.lang.String |
getEtag() |
LoggingStatus |
getLoggingStatus() |
java.lang.Long |
getMinTTL()
Deprecated.
as of 2012-05-05 API version, instead use
getDefaultCacheBehavior() |
Origin |
getOrigin()
Deprecated.
as of 2012-05-05 API update
|
Origin[] |
getOrigins() |
java.lang.String[] |
getRequiredProtocols()
Deprecated.
as of 2012-05-05 API version, instead use
getDefaultCacheBehavior() |
java.lang.String[] |
getTrustedSignerAwsAccountNumbers()
Deprecated.
as of 2012-05-05 API version, instead use
getDefaultCacheBehavior() |
boolean |
hasCacheBehaviors() |
boolean |
hasMinTTL()
Deprecated.
as of 2012-05-05 API version, instead use
getDefaultCacheBehavior() |
boolean |
hasTrustedSignerAwsAccountNumbers()
Deprecated.
as of 2012-05-05 API version, instead use
getDefaultCacheBehavior() |
boolean |
isEnabled() |
boolean |
isHttpsProtocolRequired()
Deprecated.
as of 2012-05-05 API version, instead use
getDefaultCacheBehavior() |
boolean |
isLoggingEnabled() |
boolean |
isPrivate()
Deprecated.
as of 2012-05-05 API version.
|
boolean |
isStreamingDistributionConfig() |
boolean |
isTrustedSignerSelf()
Deprecated.
as of 2012-05-05 API version, instead use
getDefaultCacheBehavior() |
boolean |
isUrlSigningRequired()
Deprecated.
as of 2012-05-05 API version, instead use
getDefaultCacheBehavior() |
void |
setCNAMEs(java.lang.String[] value) |
void |
setComment(java.lang.String value) |
void |
setEnabled(boolean value) |
void |
setEtag(java.lang.String etag) |
void |
setHttpsProtocolRequired(boolean value)
Deprecated.
as of 2012-05-05 API version, instead use
getDefaultCacheBehavior() |
void |
setMinTTL(java.lang.Long minTTL)
Deprecated.
as of 2012-05-05 API version, instead use
getDefaultCacheBehavior() |
void |
setOrigins(Origin[] value) |
void |
setRequiredProtocols(java.lang.String[] protocols)
Deprecated.
as of 2012-05-05 API version, instead use
getDefaultCacheBehavior() |
java.lang.String |
toString() |
public DistributionConfig()
public DistributionConfig(Origin[] origins, java.lang.String callerReference, java.lang.String[] cnames, java.lang.String comment, boolean enabled, LoggingStatus loggingStatus, java.lang.String defaultRootObject, CacheBehavior defaultCacheBehavior, CacheBehavior[] cacheBehaviors)
@Deprecated public DistributionConfig(Origin origin, java.lang.String callerReference, java.lang.String[] cnames, java.lang.String comment, boolean enabled, LoggingStatus loggingStatus, boolean trustedSignerSelf, java.lang.String[] trustedSignerAwsAccountNumbers, java.lang.String[] requiredProtocols, java.lang.String defaultRootObject, java.lang.Long minTTL)
@Deprecated public DistributionConfig(Origin origin, java.lang.String callerReference, java.lang.String[] cnames, java.lang.String comment, boolean enabled, LoggingStatus loggingStatus)
@Deprecated public Origin getOrigin()
public Origin[] getOrigins()
public void setOrigins(Origin[] value)
public java.lang.String getCallerReference()
public java.lang.String[] getCNAMEs()
public void setCNAMEs(java.lang.String[] value)
public java.lang.String getComment()
public void setComment(java.lang.String value)
public boolean isEnabled()
public void setEnabled(boolean value)
public java.lang.String getEtag()
public void setEtag(java.lang.String etag)
public LoggingStatus getLoggingStatus()
public boolean isLoggingEnabled()
public CacheBehavior getDefaultCacheBehavior()
public CacheBehavior[] getCacheBehaviors()
public boolean hasCacheBehaviors()
public boolean isStreamingDistributionConfig()
public java.lang.String getDefaultRootObject()
@Deprecated public boolean isPrivate()
@Deprecated public java.lang.String[] getTrustedSignerAwsAccountNumbers()
getDefaultCacheBehavior()
@Deprecated public boolean isTrustedSignerSelf()
getDefaultCacheBehavior()
@Deprecated public boolean hasTrustedSignerAwsAccountNumbers()
getDefaultCacheBehavior()
@Deprecated public boolean isUrlSigningRequired()
getDefaultCacheBehavior()
@Deprecated public void setRequiredProtocols(java.lang.String[] protocols)
getDefaultCacheBehavior()
@Deprecated public java.lang.String[] getRequiredProtocols()
getDefaultCacheBehavior()
@Deprecated public boolean isHttpsProtocolRequired()
getDefaultCacheBehavior()
@Deprecated public void setHttpsProtocolRequired(boolean value)
getDefaultCacheBehavior()
@Deprecated public void setMinTTL(java.lang.Long minTTL)
getDefaultCacheBehavior()
@Deprecated public java.lang.Long getMinTTL()
getDefaultCacheBehavior()
@Deprecated public boolean hasMinTTL()
getDefaultCacheBehavior()
public java.lang.String toString()
toString
in class java.lang.Object