Interface CreateHarvestJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateHarvestJobRequest.Builder,,CreateHarvestJobRequest> MediaPackageRequest.Builder,SdkBuilder<CreateHarvestJobRequest.Builder,,CreateHarvestJobRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateHarvestJobRequest
@Mutable
@NotThreadSafe
public static interface CreateHarvestJobRequest.Builder
extends MediaPackageRequest.Builder, SdkPojo, CopyableBuilder<CreateHarvestJobRequest.Builder,CreateHarvestJobRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe end of the time-window which will be harvestedThe ID of the HarvestJob.originEndpointId(String originEndpointId) The ID of the OriginEndpoint that the HarvestJob will harvest from.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateHarvestJobRequest.Builders3Destination(Consumer<S3Destination.Builder> s3Destination) Sets the value of the S3Destination property for this object.s3Destination(S3Destination s3Destination) Sets the value of the S3Destination property for this object.The start of the time-window which will be harvestedMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mediapackage.model.MediaPackageRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
endTime
The end of the time-window which will be harvested- Parameters:
endTime- The end of the time-window which will be harvested- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The ID of the HarvestJob. The ID must be unique within the region and it cannot be changed after the HarvestJob is submitted- 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:
- Returns a reference to this object so that method calls can be chained together.
-
originEndpointId
The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot be changed after the HarvestJob is submitted.- Parameters:
originEndpointId- The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot be changed after the HarvestJob is submitted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Destination
Sets the value of the S3Destination property for this object.- Parameters:
s3Destination- The new value for the S3Destination property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Destination
default CreateHarvestJobRequest.Builder s3Destination(Consumer<S3Destination.Builder> s3Destination) Sets the value of the S3Destination property for this object. This is a convenience method that creates an instance of theS3Destination.Builderavoiding the need to create one manually viaS3Destination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Destination(S3Destination).- Parameters:
s3Destination- a consumer that will call methods onS3Destination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The start of the time-window which will be harvested- Parameters:
startTime- The start of the time-window which will be harvested- 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-