Class CfnAssetPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediapackage.CfnAssetPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssetPropsMixin>
- Enclosing class:
CfnAssetPropsMixin
@Stability(Stable)
public static final class CfnAssetPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssetPropsMixin>
A fluent builder for
CfnAssetPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnAssetPropsMixin.Buildercreate()static CfnAssetPropsMixin.Buildercreate(CfnPropertyMixinOptions options) egressEndpoints(List<? extends Object> egressEndpoints) List of playback endpoints that are available for this asset.egressEndpoints(IResolvable egressEndpoints) List of playback endpoints that are available for this asset.Unique identifier that you assign to the asset.packagingGroupId(String packagingGroupId) The ID of the packaging group associated with this asset.resourceId(String resourceId) Unique identifier for this asset, as it's configured in the key provider service.The ARN for the source content in Amazon S3.sourceRoleArn(String sourceRoleArn) The ARN for the IAM role that provides AWS Elemental MediaPackage access to the Amazon S3 bucket where the source content is stored.The tags to assign to the asset.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAssetPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAssetPropsMixin.Builder.
-
egressEndpoints
List of playback endpoints that are available for this asset.- Parameters:
egressEndpoints- List of playback endpoints that are available for this asset. This parameter is required.- Returns:
this- See Also:
-
egressEndpoints
@Stability(Stable) public CfnAssetPropsMixin.Builder egressEndpoints(List<? extends Object> egressEndpoints) List of playback endpoints that are available for this asset.- Parameters:
egressEndpoints- List of playback endpoints that are available for this asset. This parameter is required.- Returns:
this- See Also:
-
id
Unique identifier that you assign to the asset.- Parameters:
id- Unique identifier that you assign to the asset. This parameter is required.- Returns:
this- See Also:
-
packagingGroupId
The ID of the packaging group associated with this asset.- Parameters:
packagingGroupId- The ID of the packaging group associated with this asset. This parameter is required.- Returns:
this- See Also:
-
resourceId
Unique identifier for this asset, as it's configured in the key provider service.- Parameters:
resourceId- Unique identifier for this asset, as it's configured in the key provider service. This parameter is required.- Returns:
this- See Also:
-
sourceArn
The ARN for the source content in Amazon S3.- Parameters:
sourceArn- The ARN for the source content in Amazon S3. This parameter is required.- Returns:
this- See Also:
-
sourceRoleArn
The ARN for the IAM role that provides AWS Elemental MediaPackage access to the Amazon S3 bucket where the source content is stored.Valid format: arn:aws:iam::{accountID}:role/{name}
- Parameters:
sourceRoleArn- The ARN for the IAM role that provides AWS Elemental MediaPackage access to the Amazon S3 bucket where the source content is stored. This parameter is required.- Returns:
this- See Also:
-
tags
The tags to assign to the asset.- Parameters:
tags- The tags to assign to the asset. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssetPropsMixin>- Returns:
- a newly built instance of
CfnAssetPropsMixin.
-