Interface StreamingDistributionConfig.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<StreamingDistributionConfig.Builder,,- StreamingDistributionConfig> - SdkBuilder<StreamingDistributionConfig.Builder,,- StreamingDistributionConfig> - SdkPojo
- Enclosing class:
- StreamingDistributionConfig
- 
Method SummaryModifier and TypeMethodDescriptionaliases(Consumer<Aliases.Builder> aliases) A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.callerReference(String callerReference) A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.Any comments you want to include about the streaming distribution.Whether the streaming distribution is enabled to accept user requests for content.logging(Consumer<StreamingLoggingConfig.Builder> logging) A complex type that controls whether access logs are written for the streaming distribution.logging(StreamingLoggingConfig logging) A complex type that controls whether access logs are written for the streaming distribution.priceClass(String priceClass) A complex type that contains information about price class for this streaming distribution.priceClass(PriceClass priceClass) A complex type that contains information about price class for this streaming distribution.s3Origin(Consumer<S3Origin.Builder> s3Origin) A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.trustedSigners(Consumer<TrustedSigners.Builder> trustedSigners) A complex type that specifies any Amazon Web Services accounts that you want to permit to create signed URLs for private content.trustedSigners(TrustedSigners trustedSigners) A complex type that specifies any Amazon Web Services accounts that you want to permit to create signed URLs for private content.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
callerReferenceA unique value (for example, a date-time stamp) that ensures that the request can't be replayed. If the value of CallerReferenceis new (regardless of the content of theStreamingDistributionConfigobject), CloudFront creates a new distribution.If CallerReferenceis a value that you already sent in a previous request to create a distribution, CloudFront returns aDistributionAlreadyExistserror.- Parameters:
- callerReference- A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.- If the value of - CallerReferenceis new (regardless of the content of the- StreamingDistributionConfigobject), CloudFront creates a new distribution.- If - CallerReferenceis a value that you already sent in a previous request to create a distribution, CloudFront returns a- DistributionAlreadyExistserror.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
s3OriginA complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution. - Parameters:
- s3Origin- A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
s3OriginA complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution. This is a convenience method that creates an instance of theS3Origin.Builderavoiding the need to create one manually viaS3Origin.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Origin(S3Origin).- Parameters:
- s3Origin- a consumer that will call methods on- S3Origin.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
aliasesA complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution. - Parameters:
- aliases- A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
aliasesA complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution. This is a convenience method that creates an instance of theAliases.Builderavoiding the need to create one manually viaAliases.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaliases(Aliases).- Parameters:
- aliases- a consumer that will call methods on- Aliases.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
commentAny comments you want to include about the streaming distribution. - Parameters:
- comment- Any comments you want to include about the streaming distribution.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
loggingA complex type that controls whether access logs are written for the streaming distribution. - Parameters:
- logging- A complex type that controls whether access logs are written for the streaming distribution.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
loggingdefault StreamingDistributionConfig.Builder logging(Consumer<StreamingLoggingConfig.Builder> logging) A complex type that controls whether access logs are written for the streaming distribution. This is a convenience method that creates an instance of theStreamingLoggingConfig.Builderavoiding the need to create one manually viaStreamingLoggingConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologging(StreamingLoggingConfig).- Parameters:
- logging- a consumer that will call methods on- StreamingLoggingConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
trustedSignersA complex type that specifies any Amazon Web Services accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide. - Parameters:
- trustedSigners- A complex type that specifies any Amazon Web Services accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
trustedSignersdefault StreamingDistributionConfig.Builder trustedSigners(Consumer<TrustedSigners.Builder> trustedSigners) A complex type that specifies any Amazon Web Services accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide. This is a convenience method that creates an instance of theTrustedSigners.Builderavoiding the need to create one manually viaTrustedSigners.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrustedSigners(TrustedSigners).- Parameters:
- trustedSigners- a consumer that will call methods on- TrustedSigners.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
priceClassA complex type that contains information about price class for this streaming distribution. - Parameters:
- priceClass- A complex type that contains information about price class for this streaming distribution.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
priceClassA complex type that contains information about price class for this streaming distribution. - Parameters:
- priceClass- A complex type that contains information about price class for this streaming distribution.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
enabledWhether the streaming distribution is enabled to accept user requests for content. - Parameters:
- enabled- Whether the streaming distribution is enabled to accept user requests for content.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-