public static final class CfnAssetProps.Builder
extends java.lang.Object
CfnAssetProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnAssetProps |
build()
Builds the configured instance.
|
CfnAssetProps.Builder |
id(java.lang.String id)
Sets the value of
CfnAssetProps.getId() |
CfnAssetProps.Builder |
packagingGroupId(java.lang.String packagingGroupId)
Sets the value of
CfnAssetProps.getPackagingGroupId() |
CfnAssetProps.Builder |
resourceId(java.lang.String resourceId)
Sets the value of
CfnAssetProps.getResourceId() |
CfnAssetProps.Builder |
sourceArn(java.lang.String sourceArn)
Sets the value of
CfnAssetProps.getSourceArn() |
CfnAssetProps.Builder |
sourceRoleArn(java.lang.String sourceRoleArn)
Sets the value of
CfnAssetProps.getSourceRoleArn() |
CfnAssetProps.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnAssetProps.getTags() |
public CfnAssetProps.Builder id(java.lang.String id)
CfnAssetProps.getId()
id
- Unique identifier that you assign to the asset. This parameter is required.this
public CfnAssetProps.Builder packagingGroupId(java.lang.String packagingGroupId)
CfnAssetProps.getPackagingGroupId()
packagingGroupId
- The ID of the packaging group associated with this asset. This parameter is required.this
public CfnAssetProps.Builder sourceArn(java.lang.String sourceArn)
CfnAssetProps.getSourceArn()
sourceArn
- The ARN for the source content in Amazon S3. This parameter is required.this
public CfnAssetProps.Builder sourceRoleArn(java.lang.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
public CfnAssetProps.Builder resourceId(java.lang.String resourceId)
CfnAssetProps.getResourceId()
resourceId
- Unique identifier for this asset, as it's configured in the key provider service.this
public CfnAssetProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnAssetProps.getTags()
tags
- The tags to assign to the asset.this
public CfnAssetProps build()
CfnAssetProps
java.lang.NullPointerException
- if any required attribute was not provided