public void endStreamingDistributionConfig(String text) { this.distributionConfig = new StreamingDistributionConfig( origins.toArray(new Origin[origins.size()]), callerReference, cnamesList.toArray(new String[cnamesList.size()]), comment, enabled, loggingStatus, trustedSignerAwsAccountNumberList.toArray( new String[trustedSignerAwsAccountNumberList.size()])); returnControlToParentHandler(); } }
public void endStreamingDistributionConfig(String text) { this.distributionConfig = new StreamingDistributionConfig( origins.toArray(new Origin[origins.size()]), callerReference, cnamesList.toArray(new String[cnamesList.size()]), comment, enabled, loggingStatus, trustedSignerAwsAccountNumberList.toArray( new String[trustedSignerAwsAccountNumberList.size()])); returnControlToParentHandler(); } }
public void endStreamingDistributionSummary(String text) { StreamingDistributionConfig config = new StreamingDistributionConfig( this.origins.toArray(new Origin[origins.size()]), null, // callerReference this.cnamesList.toArray(new String[cnamesList.size()]), this.comment, this.enabled, null, // loggingStatus null // trustedSignerAwsAccountNumbers ); this.distribution = new StreamingDistribution(id, status, lastModifiedTime, domainName, null, config); returnControlToParentHandler(); } }
public void endStreamingDistributionSummary(String text) { StreamingDistributionConfig config = new StreamingDistributionConfig( this.origins.toArray(new Origin[origins.size()]), null, // callerReference this.cnamesList.toArray(new String[cnamesList.size()]), this.comment, this.enabled, null, // loggingStatus null // trustedSignerAwsAccountNumbers ); this.distribution = new StreamingDistribution(id, status, lastModifiedTime, domainName, null, config); returnControlToParentHandler(); } }
/** * 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); }
boolean trustedSignerSelf, String[] trustedSignerAwsAccountNumbers) throws CloudFrontServiceException { StreamingDistributionConfig config = new StreamingDistributionConfig( origin, callerReference, cnames, comment, enabled, loggingStatus, trustedSignerSelf, trustedSignerAwsAccountNumbers, null);
LoggingStatus loggingStatus) throws CloudFrontServiceException { StreamingDistributionConfig config = new StreamingDistributionConfig( origin, null, cnames, comment, enabled, loggingStatus, false, null, null);
LoggingStatus loggingStatus) throws CloudFrontServiceException { StreamingDistributionConfig config = new StreamingDistributionConfig( origin, null, cnames, comment, enabled, loggingStatus, false, null, null);
boolean trustedSignerSelf, String[] trustedSignerAwsAccountNumbers) throws CloudFrontServiceException { StreamingDistributionConfig config = new StreamingDistributionConfig( origin, callerReference, cnames, comment, enabled, loggingStatus, trustedSignerSelf, trustedSignerAwsAccountNumbers, null);
String[] trustedSignerAwsAccountNumbers) throws CloudFrontServiceException { StreamingDistributionConfig config = new StreamingDistributionConfig( origin, null, cnames, comment, enabled, loggingStatus, trustedSignerSelf, trustedSignerAwsAccountNumbers, null);
String[] trustedSignerAwsAccountNumbers) throws CloudFrontServiceException { StreamingDistributionConfig config = new StreamingDistributionConfig( origin, null, cnames, comment, enabled, loggingStatus, trustedSignerSelf, trustedSignerAwsAccountNumbers, null);