Class DescribeHarvestJobResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.mediapackage.model.MediaPackageResponse
-
- software.amazon.awssdk.services.mediapackage.model.DescribeHarvestJobResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeHarvestJobResponse.Builder,DescribeHarvestJobResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeHarvestJobResponse extends MediaPackageResponse implements ToCopyableBuilder<DescribeHarvestJobResponse.Builder,DescribeHarvestJobResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeHarvestJobResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) assigned to the HarvestJob.static DescribeHarvestJobResponse.Builderbuilder()StringchannelId()The ID of the Channel that the HarvestJob will harvest from.StringcreatedAt()The date and time the HarvestJob was submitted.StringendTime()The end of the time-window which will be harvested.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the HarvestJob.StringoriginEndpointId()The ID of the OriginEndpoint that the HarvestJob will harvest from.S3Destinations3Destination()Returns the value of the S3Destination property for this object.List<SdkField<?>>sdkFields()static Class<? extends DescribeHarvestJobResponse.Builder>serializableBuilderClass()StringstartTime()The start of the time-window which will be harvested.Statusstatus()The current status of the HarvestJob.StringstatusAsString()The current status of the HarvestJob.DescribeHarvestJobResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.mediapackage.model.MediaPackageResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
arn
public final String arn()
The Amazon Resource Name (ARN) assigned to the HarvestJob.- Returns:
- The Amazon Resource Name (ARN) assigned to the HarvestJob.
-
channelId
public final String 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
public final String createdAt()
The date and time the HarvestJob was submitted.- Returns:
- The date and time the HarvestJob was submitted.
-
endTime
public final String endTime()
The end of the time-window which will be harvested.- Returns:
- The end of the time-window which will be harvested.
-
id
public final 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.- 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
public final String 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
public final S3Destination s3Destination()
Returns the value of the S3Destination property for this object.- Returns:
- The value of the S3Destination property for this object.
-
startTime
public final String startTime()
The start of the time-window which will be harvested.- Returns:
- The start of the time-window which will be harvested.
-
status
public final 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.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:
Status
-
statusAsString
public final String 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:
Status
-
toBuilder
public DescribeHarvestJobResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeHarvestJobResponse.Builder,DescribeHarvestJobResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeHarvestJobResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeHarvestJobResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-