Class CfnPackagingGroup.AuthorizationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackage.CfnPackagingGroup.AuthorizationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPackagingGroup.AuthorizationProperty>
- Enclosing interface:
CfnPackagingGroup.AuthorizationProperty
@Stability(Stable)
public static final class CfnPackagingGroup.AuthorizationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPackagingGroup.AuthorizationProperty>
A builder for
CfnPackagingGroup.AuthorizationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cdnIdentifierSecret(String cdnIdentifierSecret) Sets the value ofCfnPackagingGroup.AuthorizationProperty.getCdnIdentifierSecret()secretsRoleArn(String secretsRoleArn) Sets the value ofCfnPackagingGroup.AuthorizationProperty.getSecretsRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cdnIdentifierSecret
@Stability(Stable) public CfnPackagingGroup.AuthorizationProperty.Builder cdnIdentifierSecret(String cdnIdentifierSecret) Sets the value ofCfnPackagingGroup.AuthorizationProperty.getCdnIdentifierSecret()- Parameters:
cdnIdentifierSecret- The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization. This parameter is required.- Returns:
this
-
secretsRoleArn
@Stability(Stable) public CfnPackagingGroup.AuthorizationProperty.Builder secretsRoleArn(String secretsRoleArn) Sets the value ofCfnPackagingGroup.AuthorizationProperty.getSecretsRoleArn()- Parameters:
secretsRoleArn- The Amazon Resource Name (ARN) for the IAM role that allows AWS Elemental MediaPackage to communicate with AWS Secrets Manager . This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPackagingGroup.AuthorizationProperty>- Returns:
- a new instance of
CfnPackagingGroup.AuthorizationProperty - Throws:
NullPointerException- if any required attribute was not provided
-