Class CfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudfront.CfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty>
- Enclosing interface:
CfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty
@Stability(Stable)
public static final class CfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enabled(IResolvable enabled) logging(IResolvable logging) priceClass(String priceClass) s3Origin(IResolvable s3Origin) trustedSigners(IResolvable trustedSigners)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aliases
@Stability(Stable) public CfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.Builder aliases(List<String> aliases) Sets the value ofCfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.getAliases()- Parameters:
aliases- A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.- Returns:
this
-
comment
@Stability(Stable) public CfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.Builder comment(String comment) Sets the value ofCfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.getComment()- Parameters:
comment- Any comments you want to include about the streaming distribution.- Returns:
this
-
enabled
@Stability(Stable) public CfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.Builder enabled(Boolean enabled) Sets the value ofCfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.getEnabled()- Parameters:
enabled- Whether the streaming distribution is enabled to accept user requests for content.- Returns:
this
-
enabled
@Stability(Stable) public CfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.getEnabled()- Parameters:
enabled- Whether the streaming distribution is enabled to accept user requests for content.- Returns:
this
-
logging
@Stability(Stable) public CfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.Builder logging(IResolvable logging) Sets the value ofCfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.getLogging()- Parameters:
logging- A complex type that controls whether access logs are written for the streaming distribution.- Returns:
this
-
logging
@Stability(Stable) public CfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.Builder logging(CfnStreamingDistributionPropsMixin.LoggingProperty logging) Sets the value ofCfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.getLogging()- Parameters:
logging- A complex type that controls whether access logs are written for the streaming distribution.- Returns:
this
-
priceClass
@Stability(Stable) public CfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.Builder priceClass(String priceClass) Sets the value ofCfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.getPriceClass()- Parameters:
priceClass- A complex type that contains information about price class for this streaming distribution.- Returns:
this
-
s3Origin
@Stability(Stable) public CfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.Builder s3Origin(IResolvable s3Origin) Sets the value ofCfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.getS3Origin()- 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:
this
-
s3Origin
@Stability(Stable) public CfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.Builder s3Origin(CfnStreamingDistributionPropsMixin.S3OriginProperty s3Origin) Sets the value ofCfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.getS3Origin()- 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:
this
-
trustedSigners
@Stability(Stable) public CfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.Builder trustedSigners(IResolvable trustedSigners) Sets the value ofCfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.getTrustedSigners()- Parameters:
trustedSigners- A complex type that specifies any AWS 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:
this
-
trustedSigners
@Stability(Stable) public CfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.Builder trustedSigners(CfnStreamingDistributionPropsMixin.TrustedSignersProperty trustedSigners) Sets the value ofCfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty.getTrustedSigners()- Parameters:
trustedSigners- A complex type that specifies any AWS 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:
this
-
build
@Stability(Stable) public CfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty>- Returns:
- a new instance of
CfnStreamingDistributionPropsMixin.StreamingDistributionConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-