Class CfnHarvestJobPropsMixin.S3DestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediapackage.CfnHarvestJobPropsMixin.S3DestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHarvestJobPropsMixin.S3DestinationProperty>
- Enclosing interface:
CfnHarvestJobPropsMixin.S3DestinationProperty
@Stability(Stable)
public static final class CfnHarvestJobPropsMixin.S3DestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHarvestJobPropsMixin.S3DestinationProperty>
A builder for
CfnHarvestJobPropsMixin.S3DestinationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) Sets the value ofCfnHarvestJobPropsMixin.S3DestinationProperty.getBucketName()build()Builds the configured instance.manifestKey(String manifestKey) Sets the value ofCfnHarvestJobPropsMixin.S3DestinationProperty.getManifestKey()Sets the value ofCfnHarvestJobPropsMixin.S3DestinationProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
@Stability(Stable) public CfnHarvestJobPropsMixin.S3DestinationProperty.Builder bucketName(String bucketName) Sets the value ofCfnHarvestJobPropsMixin.S3DestinationProperty.getBucketName()- Parameters:
bucketName- The name of an S3 bucket within which harvested content will be exported.- Returns:
this
-
manifestKey
@Stability(Stable) public CfnHarvestJobPropsMixin.S3DestinationProperty.Builder manifestKey(String manifestKey) Sets the value ofCfnHarvestJobPropsMixin.S3DestinationProperty.getManifestKey()- Parameters:
manifestKey- The key in the specified S3 bucket where the harvested top-level manifest will be placed.- Returns:
this
-
roleArn
@Stability(Stable) public CfnHarvestJobPropsMixin.S3DestinationProperty.Builder roleArn(String roleArn) Sets the value ofCfnHarvestJobPropsMixin.S3DestinationProperty.getRoleArn()- Parameters:
roleArn- The IAM role used to write to the specified S3 bucket.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHarvestJobPropsMixin.S3DestinationProperty>- Returns:
- a new instance of
CfnHarvestJobPropsMixin.S3DestinationProperty - Throws:
NullPointerException- if any required attribute was not provided
-