@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HarvestJob extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
HarvestJob() |
Modifier and Type | Method and Description |
---|---|
HarvestJob |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) assigned to the HarvestJob.
|
String |
getChannelId()
The ID of the Channel that the HarvestJob will harvest from.
|
String |
getCreatedAt()
The date and time the HarvestJob was submitted.
|
String |
getEndTime()
The end of the time-window which will be harvested.
|
String |
getId()
The ID of the HarvestJob.
|
String |
getOriginEndpointId()
The ID of the OriginEndpoint that the HarvestJob will harvest from.
|
S3Destination |
getS3Destination() |
String |
getStartTime()
The start of the time-window which will be harvested.
|
String |
getStatus()
The current status of the HarvestJob.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) assigned to the HarvestJob.
|
void |
setChannelId(String channelId)
The ID of the Channel that the HarvestJob will harvest from.
|
void |
setCreatedAt(String createdAt)
The date and time the HarvestJob was submitted.
|
void |
setEndTime(String endTime)
The end of the time-window which will be harvested.
|
void |
setId(String id)
The ID of the HarvestJob.
|
void |
setOriginEndpointId(String originEndpointId)
The ID of the OriginEndpoint that the HarvestJob will harvest from.
|
void |
setS3Destination(S3Destination s3Destination) |
void |
setStartTime(String startTime)
The start of the time-window which will be harvested.
|
void |
setStatus(String status)
The current status of the HarvestJob.
|
String |
toString()
Returns a string representation of this object.
|
HarvestJob |
withArn(String arn)
The Amazon Resource Name (ARN) assigned to the HarvestJob.
|
HarvestJob |
withChannelId(String channelId)
The ID of the Channel that the HarvestJob will harvest from.
|
HarvestJob |
withCreatedAt(String createdAt)
The date and time the HarvestJob was submitted.
|
HarvestJob |
withEndTime(String endTime)
The end of the time-window which will be harvested.
|
HarvestJob |
withId(String id)
The ID of the HarvestJob.
|
HarvestJob |
withOriginEndpointId(String originEndpointId)
The ID of the OriginEndpoint that the HarvestJob will harvest from.
|
HarvestJob |
withS3Destination(S3Destination s3Destination) |
HarvestJob |
withStartTime(String startTime)
The start of the time-window which will be harvested.
|
HarvestJob |
withStatus(Status status)
The current status of the HarvestJob.
|
HarvestJob |
withStatus(String status)
The current status of the HarvestJob.
|
public void setArn(String arn)
arn
- The Amazon Resource Name (ARN) assigned to the HarvestJob.public String getArn()
public HarvestJob withArn(String arn)
arn
- The Amazon Resource Name (ARN) assigned to the HarvestJob.public void setChannelId(String channelId)
channelId
- The ID of the Channel that the HarvestJob will harvest from.public String getChannelId()
public HarvestJob withChannelId(String channelId)
channelId
- The ID of the Channel that the HarvestJob will harvest from.public void setCreatedAt(String createdAt)
createdAt
- The date and time the HarvestJob was submitted.public String getCreatedAt()
public HarvestJob withCreatedAt(String createdAt)
createdAt
- The date and time the HarvestJob was submitted.public void setEndTime(String endTime)
endTime
- The end of the time-window which will be harvested.public String getEndTime()
public HarvestJob withEndTime(String endTime)
endTime
- The end of the time-window which will be harvested.public void setId(String id)
id
- The ID of the HarvestJob. The ID must be unique within the region and it cannot be changed after the
HarvestJob is submitted.public String getId()
public HarvestJob withId(String id)
id
- The ID of the HarvestJob. The ID must be unique within the region and it cannot be changed after the
HarvestJob is submitted.public void setOriginEndpointId(String originEndpointId)
originEndpointId
- The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot be changed after the
HarvestJob is submitted.public String getOriginEndpointId()
public HarvestJob withOriginEndpointId(String originEndpointId)
originEndpointId
- The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot be changed after the
HarvestJob is submitted.public void setS3Destination(S3Destination s3Destination)
s3Destination
- public S3Destination getS3Destination()
public HarvestJob withS3Destination(S3Destination s3Destination)
s3Destination
- public void setStartTime(String startTime)
startTime
- The start of the time-window which will be harvested.public String getStartTime()
public HarvestJob withStartTime(String startTime)
startTime
- The start of the time-window which will be harvested.public void setStatus(String 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.Status
public String getStatus()
Status
public HarvestJob withStatus(String 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.Status
public HarvestJob withStatus(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.Status
public String toString()
toString
in class Object
Object.toString()
public HarvestJob clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.