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 String
arn()
The Amazon Resource Name (ARN) assigned to the HarvestJob.static HarvestJob.Builder
builder()
final String
The ID of the Channel that the HarvestJob will harvest from.final String
The date and time the HarvestJob was submitted.final String
endTime()
The end of the time-window which will be harvested.final boolean
final boolean
equalsBySdkFields
(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 int
hashCode()
final String
id()
The ID of the HarvestJob.final String
The ID of the OriginEndpoint that the HarvestJob will harvest from.final S3Destination
Returns the value of the S3Destination property for this object.static Class
<? extends HarvestJob.Builder> final String
The start of the time-window which will be harvested.final Status
status()
The current status of the HarvestJob.final String
The current status of the HarvestJob.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
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,
status
will 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,
status
will 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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<HarvestJob.Builder,
HarvestJob> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-