Class CfnOriginEndpoint.AuthorizationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackage.CfnOriginEndpoint.AuthorizationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOriginEndpoint.AuthorizationProperty>
- Enclosing interface:
CfnOriginEndpoint.AuthorizationProperty
@Stability(Stable)
public static final class CfnOriginEndpoint.AuthorizationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginEndpoint.AuthorizationProperty>
A builder for
CfnOriginEndpoint.AuthorizationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cdnIdentifierSecret
(String cdnIdentifierSecret) Sets the value ofCfnOriginEndpoint.AuthorizationProperty.getCdnIdentifierSecret()
secretsRoleArn
(String secretsRoleArn) Sets the value ofCfnOriginEndpoint.AuthorizationProperty.getSecretsRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cdnIdentifierSecret
@Stability(Stable) public CfnOriginEndpoint.AuthorizationProperty.Builder cdnIdentifierSecret(String cdnIdentifierSecret) Sets the value ofCfnOriginEndpoint.AuthorizationProperty.getCdnIdentifierSecret()
- Parameters:
cdnIdentifierSecret
- The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that your Content Delivery Network (CDN) uses for authorization to access your endpoint. This parameter is required.- Returns:
this
-
secretsRoleArn
@Stability(Stable) public CfnOriginEndpoint.AuthorizationProperty.Builder secretsRoleArn(String secretsRoleArn) Sets the value ofCfnOriginEndpoint.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnOriginEndpoint.AuthorizationProperty>
- Returns:
- a new instance of
CfnOriginEndpoint.AuthorizationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-