Class MediaPackageHarvestJobNotification.HarvestJob.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.mediapackage.events.MediaPackageHarvestJobNotification.HarvestJob.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MediaPackageHarvestJobNotification.HarvestJob>
- Enclosing interface:
MediaPackageHarvestJobNotification.HarvestJob
@Stability(Experimental)
public static final class MediaPackageHarvestJobNotification.HarvestJob.Builder
extends Object
implements software.amazon.jsii.Builder<MediaPackageHarvestJobNotification.HarvestJob>
A builder for
MediaPackageHarvestJobNotification.HarvestJob-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofMediaPackageHarvestJobNotification.HarvestJob.getArn()build()Builds the configured instance.Sets the value ofMediaPackageHarvestJobNotification.HarvestJob.getCreatedAt()Sets the value ofMediaPackageHarvestJobNotification.HarvestJob.getEndTime()Sets the value ofMediaPackageHarvestJobNotification.HarvestJob.getId()originEndpointId(List<String> originEndpointId) Sets the value ofMediaPackageHarvestJobNotification.HarvestJob.getOriginEndpointId()s3Destination(MediaPackageHarvestJobNotification.S3Destination s3Destination) Sets the value ofMediaPackageHarvestJobNotification.HarvestJob.getS3Destination()Sets the value ofMediaPackageHarvestJobNotification.HarvestJob.getStartTime()Sets the value ofMediaPackageHarvestJobNotification.HarvestJob.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
@Stability(Experimental) public MediaPackageHarvestJobNotification.HarvestJob.Builder arn(List<String> arn) Sets the value ofMediaPackageHarvestJobNotification.HarvestJob.getArn()- Parameters:
arn- arn property. Specify an array of string values to match this event if the actual value of arn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
createdAt
@Stability(Experimental) public MediaPackageHarvestJobNotification.HarvestJob.Builder createdAt(List<String> createdAt) Sets the value ofMediaPackageHarvestJobNotification.HarvestJob.getCreatedAt()- Parameters:
createdAt- created_at property. Specify an array of string values to match this event if the actual value of created_at is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
endTime
@Stability(Experimental) public MediaPackageHarvestJobNotification.HarvestJob.Builder endTime(List<String> endTime) Sets the value ofMediaPackageHarvestJobNotification.HarvestJob.getEndTime()- Parameters:
endTime- end_time property. Specify an array of string values to match this event if the actual value of end_time is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
id
@Stability(Experimental) public MediaPackageHarvestJobNotification.HarvestJob.Builder id(List<String> id) Sets the value ofMediaPackageHarvestJobNotification.HarvestJob.getId()- Parameters:
id- id property. Specify an array of string values to match this event if the actual value of id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
originEndpointId
@Stability(Experimental) public MediaPackageHarvestJobNotification.HarvestJob.Builder originEndpointId(List<String> originEndpointId) Sets the value ofMediaPackageHarvestJobNotification.HarvestJob.getOriginEndpointId()- Parameters:
originEndpointId- origin_endpoint_id property. Specify an array of string values to match this event if the actual value of origin_endpoint_id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
s3Destination
@Stability(Experimental) public MediaPackageHarvestJobNotification.HarvestJob.Builder s3Destination(MediaPackageHarvestJobNotification.S3Destination s3Destination) Sets the value ofMediaPackageHarvestJobNotification.HarvestJob.getS3Destination()- Parameters:
s3Destination- s3_destination property. Specify an array of string values to match this event if the actual value of s3_destination is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
startTime
@Stability(Experimental) public MediaPackageHarvestJobNotification.HarvestJob.Builder startTime(List<String> startTime) Sets the value ofMediaPackageHarvestJobNotification.HarvestJob.getStartTime()- Parameters:
startTime- start_time property. Specify an array of string values to match this event if the actual value of start_time is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
status
@Stability(Experimental) public MediaPackageHarvestJobNotification.HarvestJob.Builder status(List<String> status) Sets the value ofMediaPackageHarvestJobNotification.HarvestJob.getStatus()- Parameters:
status- status property. Specify an array of string values to match this event if the actual value of status is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MediaPackageHarvestJobNotification.HarvestJob>- Returns:
- a new instance of
MediaPackageHarvestJobNotification.HarvestJob - Throws:
NullPointerException- if any required attribute was not provided
-