/** * Create a public or private CloudFront distribution for an S3 bucket based * on a pre-configured {@link DistributionConfig}. * * @param config Configuration settings to apply to the distribution. * @return an object that describes the newly-created distribution, in particular the * distribution's identifier and domain name values. * @throws CloudFrontServiceException */ public Distribution createDistribution(DistributionConfig config) throws CloudFrontServiceException { return createDistributionImpl(config); }
/** * Create a public or private CloudFront distribution for an S3 bucket based * on a pre-configured {@link DistributionConfig}. * * @param config Configuration settings to apply to the distribution. * @return an object that describes the newly-created distribution, in particular the * distribution's identifier and domain name values. * @throws CloudFrontServiceException */ public Distribution createDistribution(DistributionConfig config) throws CloudFrontServiceException { return createDistributionImpl(config); }
/** * Create a public streaming CloudFront distribution for an S3 bucket. * * @param origin the origin to associate with the distribution, either an Amazon S3 bucket or * a custom HTTP/S-accessible location. * @param callerReference A user-set unique reference value that ensures the request can't be replayed * (max UTF-8 encoding size 128 bytes). This parameter may be null, in which * case your computer's local epoch time in milliseconds will be used. * @param cnames A list of up to 10 CNAME aliases to associate with the distribution. This * parameter may be a null or empty array. * @param comment An optional comment to describe the distribution in your own terms * (max 128 characters). May be null. * @param enabled Should the distribution should be enabled and publicly accessible upon creation? * @param loggingStatus Logging status settings (bucket, prefix) for the distribution. If this value * is null, logging will be disabled for the distribution. * @return an object that describes the newly-created distribution, in particular the * distribution's identifier and domain name values. * @throws CloudFrontServiceException * @deprecated as of 2012-05-05 API version, use {@link #createDistribution(DistributionConfig)}. */ @Deprecated public StreamingDistribution createStreamingDistribution(Origin origin, String callerReference, String[] cnames, String comment, boolean enabled, LoggingStatus loggingStatus) throws CloudFrontServiceException { StreamingDistributionConfig config = new StreamingDistributionConfig( origin, callerReference, cnames, comment, enabled, loggingStatus); return (StreamingDistribution) createDistributionImpl(config); }
/** * Create a public streaming CloudFront distribution for an S3 bucket. * * @param origin the origin to associate with the distribution, either an Amazon S3 bucket or * a custom HTTP/S-accessible location. * @param callerReference A user-set unique reference value that ensures the request can't be replayed * (max UTF-8 encoding size 128 bytes). This parameter may be null, in which * case your computer's local epoch time in milliseconds will be used. * @param cnames A list of up to 10 CNAME aliases to associate with the distribution. This * parameter may be a null or empty array. * @param comment An optional comment to describe the distribution in your own terms * (max 128 characters). May be null. * @param enabled Should the distribution should be enabled and publicly accessible upon creation? * @param loggingStatus Logging status settings (bucket, prefix) for the distribution. If this value * is null, logging will be disabled for the distribution. * @return an object that describes the newly-created distribution, in particular the * distribution's identifier and domain name values. * @throws CloudFrontServiceException * @deprecated as of 2012-05-05 API version, use {@link #createDistribution(DistributionConfig)}. */ @Deprecated public StreamingDistribution createStreamingDistribution(Origin origin, String callerReference, String[] cnames, String comment, boolean enabled, LoggingStatus loggingStatus) throws CloudFrontServiceException { StreamingDistributionConfig config = new StreamingDistributionConfig( origin, callerReference, cnames, comment, enabled, loggingStatus); return (StreamingDistribution) createDistributionImpl(config); }
origin, callerReference, cnames, comment, enabled, loggingStatus, trustedSignerSelf, trustedSignerAwsAccountNumbers, null); return (StreamingDistribution) createDistributionImpl(config);
trustedSignerSelf, trustedSignerAwsAccountNumbers, requiredProtocols, defaultRootObject, minTTL); return createDistributionImpl(config);
origin, callerReference, cnames, comment, enabled, loggingStatus, trustedSignerSelf, trustedSignerAwsAccountNumbers, null); return (StreamingDistribution) createDistributionImpl(config);
trustedSignerSelf, trustedSignerAwsAccountNumbers, requiredProtocols, defaultRootObject, minTTL); return createDistributionImpl(config);