@Stability(value=Stable) public static final class CfnAssetProps.Builder extends Object implements software.amazon.jsii.Builder<CfnAssetProps>
CfnAssetProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAssetProps |
build()
Builds the configured instance.
|
CfnAssetProps.Builder |
id(String id)
Sets the value of
CfnAssetProps.getId() |
CfnAssetProps.Builder |
packagingGroupId(String packagingGroupId)
Sets the value of
CfnAssetProps.getPackagingGroupId() |
CfnAssetProps.Builder |
resourceId(String resourceId)
Sets the value of
CfnAssetProps.getResourceId() |
CfnAssetProps.Builder |
sourceArn(String sourceArn)
Sets the value of
CfnAssetProps.getSourceArn() |
CfnAssetProps.Builder |
sourceRoleArn(String sourceRoleArn)
Sets the value of
CfnAssetProps.getSourceRoleArn() |
CfnAssetProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnAssetProps.getTags() |
@Stability(value=Stable) public CfnAssetProps.Builder id(String id)
CfnAssetProps.getId()id - Unique identifier that you assign to the asset. This parameter is required.this@Stability(value=Stable) public CfnAssetProps.Builder packagingGroupId(String packagingGroupId)
CfnAssetProps.getPackagingGroupId()packagingGroupId - The ID of the packaging group associated with this asset. This parameter is required.this@Stability(value=Stable) public CfnAssetProps.Builder sourceArn(String sourceArn)
CfnAssetProps.getSourceArn()sourceArn - The ARN for the source content in Amazon S3. This parameter is required.this@Stability(value=Stable) public CfnAssetProps.Builder sourceRoleArn(String sourceRoleArn)
CfnAssetProps.getSourceRoleArn()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.
Valid format: arn:aws:iam::{accountID}:role/{name}this@Stability(value=Stable) public CfnAssetProps.Builder resourceId(String resourceId)
CfnAssetProps.getResourceId()resourceId - Unique identifier for this asset, as it's configured in the key provider service.this@Stability(value=Stable) public CfnAssetProps.Builder tags(List<? extends CfnTag> tags)
CfnAssetProps.getTags()tags - The tags to assign to the asset.this@Stability(value=Stable) public CfnAssetProps build()
build in interface software.amazon.jsii.Builder<CfnAssetProps>CfnAssetPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.