Class CfnHarvestJobProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackage.CfnHarvestJobProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHarvestJobProps>
- Enclosing interface:
CfnHarvestJobProps
@Stability(Stable)
public static final class CfnHarvestJobProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHarvestJobProps>
A builder for
CfnHarvestJobProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnHarvestJobProps.getEndTime()Sets the value ofCfnHarvestJobProps.getId()originEndpointId(String originEndpointId) Sets the value ofCfnHarvestJobProps.getOriginEndpointId()s3Destination(IResolvable s3Destination) Sets the value ofCfnHarvestJobProps.getS3Destination()s3Destination(CfnHarvestJob.S3DestinationProperty s3Destination) Sets the value ofCfnHarvestJobProps.getS3Destination()Sets the value ofCfnHarvestJobProps.getStartTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endTime
Sets the value ofCfnHarvestJobProps.getEndTime()- Parameters:
endTime- The end of the time-window which will be harvested. This parameter is required.- Returns:
this
-
id
Sets the value ofCfnHarvestJobProps.getId()- Parameters:
id- The ID of the HarvestJob. This parameter is required. The ID must be unique within the region and it cannot be changed after the HarvestJob is submitted.- Returns:
this
-
originEndpointId
Sets the value ofCfnHarvestJobProps.getOriginEndpointId()- Parameters:
originEndpointId- The ID of the OriginEndpoint that the HarvestJob will harvest from. This parameter is required.- Returns:
this
-
s3Destination
Sets the value ofCfnHarvestJobProps.getS3Destination()- Parameters:
s3Destination- Configuration parameters for where in an S3 bucket to place the harvested content. This parameter is required.- Returns:
this
-
s3Destination
@Stability(Stable) public CfnHarvestJobProps.Builder s3Destination(CfnHarvestJob.S3DestinationProperty s3Destination) Sets the value ofCfnHarvestJobProps.getS3Destination()- Parameters:
s3Destination- Configuration parameters for where in an S3 bucket to place the harvested content. This parameter is required.- Returns:
this
-
startTime
Sets the value ofCfnHarvestJobProps.getStartTime()- Parameters:
startTime- The start of the time-window which will be harvested. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHarvestJobProps>- Returns:
- a new instance of
CfnHarvestJobProps - Throws:
NullPointerException- if any required attribute was not provided
-