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