Class HarvestJob
java.lang.Object
software.amazon.awssdk.services.mediapackage.model.HarvestJob
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HarvestJob.Builder,HarvestJob>
@Generated("software.amazon.awssdk:codegen")
public final class HarvestJob
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<HarvestJob.Builder,HarvestJob>
A HarvestJob resource configuration
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringarn()The Amazon Resource Name (ARN) assigned to the HarvestJob.static HarvestJob.Builderbuilder()final StringThe ID of the Channel that the HarvestJob will harvest from.final StringThe date and time the HarvestJob was submitted.final StringendTime()The end of the time-window which will be harvested.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringid()The ID of the HarvestJob.final StringThe ID of the OriginEndpoint that the HarvestJob will harvest from.final S3DestinationReturns the value of the S3Destination property for this object.static Class<? extends HarvestJob.Builder> final StringThe start of the time-window which will be harvested.final Statusstatus()The current status of the HarvestJob.final StringThe current status of the HarvestJob.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
arn
The Amazon Resource Name (ARN) assigned to the HarvestJob.- Returns:
- The Amazon Resource Name (ARN) assigned to the HarvestJob.
-
channelId
The ID of the Channel that the HarvestJob will harvest from.- Returns:
- The ID of the Channel that the HarvestJob will harvest from.
-
createdAt
The date and time the HarvestJob was submitted.- Returns:
- The date and time the HarvestJob was submitted.
-
endTime
The end of the time-window which will be harvested.- Returns:
- The end of the time-window which will be harvested.
-
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:
- The ID of the HarvestJob. The ID must be unique within the region and it cannot be changed after the HarvestJob is submitted.
-
originEndpointId
The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot be changed after the HarvestJob is submitted.- Returns:
- The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot be changed after the HarvestJob is submitted.
-
s3Destination
Returns the value of the S3Destination property for this object.- Returns:
- The value of the S3Destination property for this object.
-
startTime
The start of the time-window which will be harvested.- Returns:
- The start of the time-window which will be harvested.
-
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.If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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.
- See Also:
-
statusAsString
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.If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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.
- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<HarvestJob.Builder,HarvestJob> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-