Interface CreateHarvestJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateHarvestJobRequest.Builder,
,CreateHarvestJobRequest> MediaPackageV2Request.Builder
,SdkBuilder<CreateHarvestJobRequest.Builder,
,CreateHarvestJobRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateHarvestJobRequest
-
Method Summary
Modifier and TypeMethodDescriptionchannelGroupName
(String channelGroupName) The name of the channel group containing the channel from which to harvest content.channelName
(String channelName) The name of the channel from which to harvest content.clientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.description
(String description) An optional description for the harvest job.default CreateHarvestJobRequest.Builder
destination
(Consumer<Destination.Builder> destination) The S3 destination where the harvested content will be placed.destination
(Destination destination) The S3 destination where the harvested content will be placed.default CreateHarvestJobRequest.Builder
harvestedManifests
(Consumer<HarvestedManifests.Builder> harvestedManifests) A list of manifests to be harvested.harvestedManifests
(HarvestedManifests harvestedManifests) A list of manifests to be harvested.harvestJobName
(String harvestJobName) A name for the harvest job.originEndpointName
(String originEndpointName) The name of the origin endpoint from which to harvest content.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateHarvestJobRequest.Builder
scheduleConfiguration
(Consumer<HarvesterScheduleConfiguration.Builder> scheduleConfiguration) The configuration for when the harvest job should run, including start and end times.scheduleConfiguration
(HarvesterScheduleConfiguration scheduleConfiguration) The configuration for when the harvest job should run, including start and end times.A collection of tags associated with the harvest job.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mediapackagev2.model.MediaPackageV2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
channelGroupName
The name of the channel group containing the channel from which to harvest content.
- Parameters:
channelGroupName
- The name of the channel group containing the channel from which to harvest content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelName
The name of the channel from which to harvest content.
- Parameters:
channelName
- The name of the channel from which to harvest content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originEndpointName
The name of the origin endpoint from which to harvest content.
- Parameters:
originEndpointName
- The name of the origin endpoint from which to harvest content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
An optional description for the harvest job.
- Parameters:
description
- An optional description for the harvest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
harvestedManifests
A list of manifests to be harvested.
- Parameters:
harvestedManifests
- A list of manifests to be harvested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
harvestedManifests
default CreateHarvestJobRequest.Builder harvestedManifests(Consumer<HarvestedManifests.Builder> harvestedManifests) A list of manifests to be harvested.
This is a convenience method that creates an instance of theHarvestedManifests.Builder
avoiding the need to create one manually viaHarvestedManifests.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toharvestedManifests(HarvestedManifests)
.- Parameters:
harvestedManifests
- a consumer that will call methods onHarvestedManifests.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scheduleConfiguration
CreateHarvestJobRequest.Builder scheduleConfiguration(HarvesterScheduleConfiguration scheduleConfiguration) The configuration for when the harvest job should run, including start and end times.
- Parameters:
scheduleConfiguration
- The configuration for when the harvest job should run, including start and end times.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleConfiguration
default CreateHarvestJobRequest.Builder scheduleConfiguration(Consumer<HarvesterScheduleConfiguration.Builder> scheduleConfiguration) The configuration for when the harvest job should run, including start and end times.
This is a convenience method that creates an instance of theHarvesterScheduleConfiguration.Builder
avoiding the need to create one manually viaHarvesterScheduleConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscheduleConfiguration(HarvesterScheduleConfiguration)
.- Parameters:
scheduleConfiguration
- a consumer that will call methods onHarvesterScheduleConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destination
The S3 destination where the harvested content will be placed.
- Parameters:
destination
- The S3 destination where the harvested content will be placed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
The S3 destination where the harvested content will be placed.
This is a convenience method that creates an instance of theDestination.Builder
avoiding the need to create one manually viaDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestination(Destination)
.- Parameters:
destination
- a consumer that will call methods onDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
harvestJobName
A name for the harvest job. This name must be unique within the channel.
- Parameters:
harvestJobName
- A name for the harvest job. This name must be unique within the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A collection of tags associated with the harvest job.
- Parameters:
tags
- A collection of tags associated with the harvest job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateHarvestJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateHarvestJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-