Interface CreateHarvestJobResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateHarvestJobResponse.Builder,CreateHarvestJobResponse>,MediaPackageResponse.Builder,SdkBuilder<CreateHarvestJobResponse.Builder,CreateHarvestJobResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateHarvestJobResponse
public static interface CreateHarvestJobResponse.Builder extends MediaPackageResponse.Builder, SdkPojo, CopyableBuilder<CreateHarvestJobResponse.Builder,CreateHarvestJobResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateHarvestJobResponse.Builderarn(String arn)The Amazon Resource Name (ARN) assigned to the HarvestJob.CreateHarvestJobResponse.BuilderchannelId(String channelId)The ID of the Channel that the HarvestJob will harvest from.CreateHarvestJobResponse.BuildercreatedAt(String createdAt)The date and time the HarvestJob was submitted.CreateHarvestJobResponse.BuilderendTime(String endTime)The end of the time-window which will be harvested.CreateHarvestJobResponse.Builderid(String id)The ID of the HarvestJob.CreateHarvestJobResponse.BuilderoriginEndpointId(String originEndpointId)The ID of the OriginEndpoint that the HarvestJob will harvest from.default CreateHarvestJobResponse.Builders3Destination(Consumer<S3Destination.Builder> s3Destination)Sets the value of the S3Destination property for this object.CreateHarvestJobResponse.Builders3Destination(S3Destination s3Destination)Sets the value of the S3Destination property for this object.CreateHarvestJobResponse.BuilderstartTime(String startTime)The start of the time-window which will be harvested.CreateHarvestJobResponse.Builderstatus(String status)The current status of the HarvestJob.CreateHarvestJobResponse.Builderstatus(Status status)The current status of the HarvestJob.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.mediapackage.model.MediaPackageResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
CreateHarvestJobResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) assigned to the HarvestJob.- Parameters:
arn- The Amazon Resource Name (ARN) assigned to the HarvestJob.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelId
CreateHarvestJobResponse.Builder channelId(String channelId)
The ID of the Channel that the HarvestJob will harvest from.- Parameters:
channelId- The ID of the Channel that the HarvestJob will harvest from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
CreateHarvestJobResponse.Builder createdAt(String createdAt)
The date and time the HarvestJob was submitted.- Parameters:
createdAt- The date and time the HarvestJob was submitted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
CreateHarvestJobResponse.Builder endTime(String 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
CreateHarvestJobResponse.Builder id(String 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
CreateHarvestJobResponse.Builder originEndpointId(String 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
CreateHarvestJobResponse.Builder s3Destination(S3Destination 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 CreateHarvestJobResponse.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:
s3Destination(S3Destination)
-
startTime
CreateHarvestJobResponse.Builder startTime(String 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.
-
status
CreateHarvestJobResponse.Builder status(String status)
The current status of the HarvestJob. Consider setting up a CloudWatch Event to listen for HarvestJobs as they succeed or fail. In the event of failure, the CloudWatch Event will include an explanation of why the HarvestJob failed.- Parameters:
status- The current status of the HarvestJob. Consider setting up a CloudWatch Event to listen for HarvestJobs as they succeed or fail. In the event of failure, the CloudWatch Event will include an explanation of why the HarvestJob failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Status,Status
-
status
CreateHarvestJobResponse.Builder status(Status status)
The current status of the HarvestJob. Consider setting up a CloudWatch Event to listen for HarvestJobs as they succeed or fail. In the event of failure, the CloudWatch Event will include an explanation of why the HarvestJob failed.- Parameters:
status- The current status of the HarvestJob. Consider setting up a CloudWatch Event to listen for HarvestJobs as they succeed or fail. In the event of failure, the CloudWatch Event will include an explanation of why the HarvestJob failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Status,Status
-
-