Java com.amazonaws.services.cloudfront.model DistributionConfig fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.cloudfront.model DistributionConfig fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.cloudfront.model DistributionConfig.

The text is from its open source code.

Constructor

DistributionConfig(String callerReference, Boolean enabled)
Constructs a new DistributionConfig object.
DistributionConfig()
Default constructor for DistributionConfig object.

Method

AliasesgetAliases()

A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

StringgetCallerReference()

A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

StringgetDefaultRootObject()

The object that you want CloudFront to request from your origin (for example, index.html) when a viewer requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/product-description.html).

LoggingConfiggetLogging()

A complex type that controls whether access logs are written for the distribution.

voidsetCacheBehaviors(CacheBehaviors cacheBehaviors)

A complex type that contains zero or more CacheBehavior elements.

voidsetEnabled(Boolean enabled)

From this field, you can enable or disable the selected distribution.

voidsetLogging(LoggingConfig logging)

A complex type that controls whether access logs are written for the distribution.

DistributionConfigwithAliases(Aliases aliases)

A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

DistributionConfigwithCacheBehaviors(CacheBehaviors cacheBehaviors)

A complex type that contains zero or more CacheBehavior elements.

DistributionConfigwithCallerReference(String callerReference)

A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.

DistributionConfigwithComment(String comment)

Any comments you want to include about the distribution.

DistributionConfigwithDefaultCacheBehavior(DefaultCacheBehavior defaultCacheBehavior)

A complex type that describes the default cache behavior if you don't specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements.

DistributionConfigwithDefaultRootObject(String defaultRootObject)

The object that you want CloudFront to request from your origin (for example, index.html) when a viewer requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/product-description.html).

DistributionConfigwithEnabled(Boolean enabled)

From this field, you can enable or disable the selected distribution.

DistributionConfigwithLogging(LoggingConfig logging)

A complex type that controls whether access logs are written for the distribution.

DistributionConfigwithOrigins(Origins origins)

A complex type that contains information about origins for this distribution.

DistributionConfigwithPriceClass(String priceClass)

The price class that corresponds with the maximum price that you want to pay for CloudFront service.

DistributionConfigwithPriceClass(PriceClass priceClass)

The price class that corresponds with the maximum price that you want to pay for CloudFront service.