Class CfnStreamingDistributionPropsMixin.TrustedSignersProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudfront.CfnStreamingDistributionPropsMixin.TrustedSignersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamingDistributionPropsMixin.TrustedSignersProperty>
- Enclosing interface:
CfnStreamingDistributionPropsMixin.TrustedSignersProperty
@Stability(Stable)
public static final class CfnStreamingDistributionPropsMixin.TrustedSignersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStreamingDistributionPropsMixin.TrustedSignersProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsAccountNumbers(List<String> awsAccountNumbers) build()Builds the configured instance.Sets the value ofCfnStreamingDistributionPropsMixin.TrustedSignersProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnStreamingDistributionPropsMixin.TrustedSignersProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsAccountNumbers
@Stability(Stable) public CfnStreamingDistributionPropsMixin.TrustedSignersProperty.Builder awsAccountNumbers(List<String> awsAccountNumbers) - Parameters:
awsAccountNumbers- An AWS account number that contains active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. If the AWS account that owns the key pairs is the same account that owns the CloudFront distribution, the value of this field isself.- Returns:
this
-
enabled
@Stability(Stable) public CfnStreamingDistributionPropsMixin.TrustedSignersProperty.Builder enabled(Boolean enabled) Sets the value ofCfnStreamingDistributionPropsMixin.TrustedSignersProperty.getEnabled()- Parameters:
enabled- This field istrueif any of the AWS accounts in the list are configured as trusted signers. If not, this field isfalse.- Returns:
this
-
enabled
@Stability(Stable) public CfnStreamingDistributionPropsMixin.TrustedSignersProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnStreamingDistributionPropsMixin.TrustedSignersProperty.getEnabled()- Parameters:
enabled- This field istrueif any of the AWS accounts in the list are configured as trusted signers. If not, this field isfalse.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStreamingDistributionPropsMixin.TrustedSignersProperty>- Returns:
- a new instance of
CfnStreamingDistributionPropsMixin.TrustedSignersProperty - Throws:
NullPointerException- if any required attribute was not provided
-