public class ExportTask
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents an export task.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
destination
Name of Amazon S3 bucket to which the log data was exported.
|
private java.lang.String |
destinationPrefix
Prefix that was used as the start of Amazon S3 key for every object
exported.
|
private ExportTaskExecutionInfo |
executionInfo
Execution info about the export task.
|
private java.lang.Long |
from
A point in time expressed as the number of milliseconds since Jan 1, 1970
00:00:00 UTC.
|
private java.lang.String |
logGroupName
The name of the log group from which logs data was exported.
|
private ExportTaskStatus |
status
Status of the export task.
|
private java.lang.String |
taskId
Id of the export task.
|
private java.lang.String |
taskName
The name of the export task.
|
private java.lang.Long |
to
A point in time expressed as the number of milliseconds since Jan 1, 1970
00:00:00 UTC.
|
Constructor and Description |
---|
ExportTask() |
Modifier and Type | Method and Description |
---|---|
ExportTask |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDestination()
Name of Amazon S3 bucket to which the log data was exported.
|
java.lang.String |
getDestinationPrefix()
Prefix that was used as the start of Amazon S3 key for every object
exported.
|
ExportTaskExecutionInfo |
getExecutionInfo()
Execution info about the export task.
|
java.lang.Long |
getFrom()
A point in time expressed as the number of milliseconds since Jan 1, 1970
00:00:00 UTC.
|
java.lang.String |
getLogGroupName()
The name of the log group from which logs data was exported.
|
ExportTaskStatus |
getStatus()
Status of the export task.
|
java.lang.String |
getTaskId()
Id of the export task.
|
java.lang.String |
getTaskName()
The name of the export task.
|
java.lang.Long |
getTo()
A point in time expressed as the number of milliseconds since Jan 1, 1970
00:00:00 UTC.
|
int |
hashCode() |
void |
setDestination(java.lang.String destination)
Name of Amazon S3 bucket to which the log data was exported.
|
void |
setDestinationPrefix(java.lang.String destinationPrefix)
Prefix that was used as the start of Amazon S3 key for every object
exported.
|
void |
setExecutionInfo(ExportTaskExecutionInfo executionInfo)
Execution info about the export task.
|
void |
setFrom(java.lang.Long from)
A point in time expressed as the number of milliseconds since Jan 1, 1970
00:00:00 UTC.
|
void |
setLogGroupName(java.lang.String logGroupName)
The name of the log group from which logs data was exported.
|
void |
setStatus(ExportTaskStatus status)
Status of the export task.
|
void |
setTaskId(java.lang.String taskId)
Id of the export task.
|
void |
setTaskName(java.lang.String taskName)
The name of the export task.
|
void |
setTo(java.lang.Long to)
A point in time expressed as the number of milliseconds since Jan 1, 1970
00:00:00 UTC.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ExportTask |
withDestination(java.lang.String destination)
Name of Amazon S3 bucket to which the log data was exported.
|
ExportTask |
withDestinationPrefix(java.lang.String destinationPrefix)
Prefix that was used as the start of Amazon S3 key for every object
exported.
|
ExportTask |
withExecutionInfo(ExportTaskExecutionInfo executionInfo)
Execution info about the export task.
|
ExportTask |
withFrom(java.lang.Long from)
A point in time expressed as the number of milliseconds since Jan 1, 1970
00:00:00 UTC.
|
ExportTask |
withLogGroupName(java.lang.String logGroupName)
The name of the log group from which logs data was exported.
|
ExportTask |
withStatus(ExportTaskStatus status)
Status of the export task.
|
ExportTask |
withTaskId(java.lang.String taskId)
Id of the export task.
|
ExportTask |
withTaskName(java.lang.String taskName)
The name of the export task.
|
ExportTask |
withTo(java.lang.Long to)
A point in time expressed as the number of milliseconds since Jan 1, 1970
00:00:00 UTC.
|
private java.lang.String taskId
Id of the export task.
private java.lang.String taskName
The name of the export task.
private java.lang.String logGroupName
The name of the log group from which logs data was exported.
private java.lang.Long from
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp prior to this time are not exported.
private java.lang.Long to
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported.
private java.lang.String destination
Name of Amazon S3 bucket to which the log data was exported.
private java.lang.String destinationPrefix
Prefix that was used as the start of Amazon S3 key for every object exported.
private ExportTaskStatus status
Status of the export task.
private ExportTaskExecutionInfo executionInfo
Execution info about the export task.
public void setTaskId(java.lang.String taskId)
Id of the export task.
taskId
- Id of the export task.public java.lang.String getTaskId()
Id of the export task.
public ExportTask withTaskId(java.lang.String taskId)
Id of the export task.
taskId
- Id of the export task.public void setTaskName(java.lang.String taskName)
The name of the export task.
taskName
- The name of the export task.public java.lang.String getTaskName()
The name of the export task.
public ExportTask withTaskName(java.lang.String taskName)
The name of the export task.
taskName
- The name of the export task.public void setLogGroupName(java.lang.String logGroupName)
The name of the log group from which logs data was exported.
logGroupName
- The name of the log group from which logs data was exported.public java.lang.String getLogGroupName()
The name of the log group from which logs data was exported.
public ExportTask withLogGroupName(java.lang.String logGroupName)
The name of the log group from which logs data was exported.
logGroupName
- The name of the log group from which logs data was exported.public void setFrom(java.lang.Long from)
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp prior to this time are not exported.
from
- A point in time expressed as the number of milliseconds since Jan
1, 1970 00:00:00 UTC. Events with a timestamp prior to this time
are not exported.public java.lang.Long getFrom()
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp prior to this time are not exported.
public ExportTask withFrom(java.lang.Long from)
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp prior to this time are not exported.
from
- A point in time expressed as the number of milliseconds since Jan
1, 1970 00:00:00 UTC. Events with a timestamp prior to this time
are not exported.public void setTo(java.lang.Long to)
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported.
to
- A point in time expressed as the number of milliseconds since Jan
1, 1970 00:00:00 UTC. Events with a timestamp later than this time
are not exported.public java.lang.Long getTo()
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported.
public ExportTask withTo(java.lang.Long to)
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported.
to
- A point in time expressed as the number of milliseconds since Jan
1, 1970 00:00:00 UTC. Events with a timestamp later than this time
are not exported.public void setDestination(java.lang.String destination)
Name of Amazon S3 bucket to which the log data was exported.
destination
- Name of Amazon S3 bucket to which the log data was exported.public java.lang.String getDestination()
Name of Amazon S3 bucket to which the log data was exported.
public ExportTask withDestination(java.lang.String destination)
Name of Amazon S3 bucket to which the log data was exported.
destination
- Name of Amazon S3 bucket to which the log data was exported.public void setDestinationPrefix(java.lang.String destinationPrefix)
Prefix that was used as the start of Amazon S3 key for every object exported.
destinationPrefix
- Prefix that was used as the start of Amazon S3 key for every
object exported.public java.lang.String getDestinationPrefix()
Prefix that was used as the start of Amazon S3 key for every object exported.
public ExportTask withDestinationPrefix(java.lang.String destinationPrefix)
Prefix that was used as the start of Amazon S3 key for every object exported.
destinationPrefix
- Prefix that was used as the start of Amazon S3 key for every
object exported.public void setStatus(ExportTaskStatus status)
Status of the export task.
status
- Status of the export task.public ExportTaskStatus getStatus()
Status of the export task.
public ExportTask withStatus(ExportTaskStatus status)
Status of the export task.
status
- Status of the export task.public void setExecutionInfo(ExportTaskExecutionInfo executionInfo)
Execution info about the export task.
executionInfo
- Execution info about the export task.public ExportTaskExecutionInfo getExecutionInfo()
Execution info about the export task.
public ExportTask withExecutionInfo(ExportTaskExecutionInfo executionInfo)
Execution info about the export task.
executionInfo
- Execution info about the export task.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ExportTask clone()
clone
in class java.lang.Object