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