public static final class CfnStreamingDistribution.TrustedSignersProperty.Builder
extends java.lang.Object
CfnStreamingDistribution.TrustedSignersProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnStreamingDistribution.TrustedSignersProperty.Builder |
awsAccountNumbers(java.util.List<java.lang.String> awsAccountNumbers)
Sets the value of
CfnStreamingDistribution.TrustedSignersProperty.getAwsAccountNumbers() |
CfnStreamingDistribution.TrustedSignersProperty |
build()
Builds the configured instance.
|
CfnStreamingDistribution.TrustedSignersProperty.Builder |
enabled(java.lang.Boolean enabled)
Sets the value of
CfnStreamingDistribution.TrustedSignersProperty.getEnabled() |
CfnStreamingDistribution.TrustedSignersProperty.Builder |
enabled(IResolvable enabled)
Sets the value of
CfnStreamingDistribution.TrustedSignersProperty.getEnabled() |
public CfnStreamingDistribution.TrustedSignersProperty.Builder enabled(java.lang.Boolean enabled)
CfnStreamingDistribution.TrustedSignersProperty.getEnabled()
enabled
- This field is `true` if any of the AWS accounts have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies. This parameter is required.
If not, this field is false
.this
public CfnStreamingDistribution.TrustedSignersProperty.Builder enabled(IResolvable enabled)
CfnStreamingDistribution.TrustedSignersProperty.getEnabled()
enabled
- This field is `true` if any of the AWS accounts have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies. This parameter is required.
If not, this field is false
.this
public CfnStreamingDistribution.TrustedSignersProperty.Builder awsAccountNumbers(java.util.List<java.lang.String> awsAccountNumbers)
CfnStreamingDistribution.TrustedSignersProperty.getAwsAccountNumbers()
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 is self
.this
public CfnStreamingDistribution.TrustedSignersProperty build()
CfnStreamingDistribution.TrustedSignersProperty
java.lang.NullPointerException
- if any required attribute was not provided