Class ExportTask
- All Implemented Interfaces:
Serializable
,Cloneable
Represents an export task.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Name of Amazon S3 bucket to which the log data was exported.Prefix that was used as the start of Amazon S3 key for every object exported.Execution info about the export task.getFrom()
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.The name of the log group from which logs data was exported.Status of the export task.Id of the export task.The name of the export task.getTo()
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.int
hashCode()
void
setDestination
(String destination) Name of Amazon S3 bucket to which the log data was exported.void
setDestinationPrefix
(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
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.void
setLogGroupName
(String logGroupName) The name of the log group from which logs data was exported.void
setStatus
(ExportTaskStatus status) Status of the export task.void
Id of the export task.void
setTaskName
(String taskName) The name of the export task.void
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.toString()
Returns a string representation of this object; useful for testing and debugging.withDestination
(String destination) Name of Amazon S3 bucket to which the log data was exported.withDestinationPrefix
(String destinationPrefix) Prefix that was used as the start of Amazon S3 key for every object exported.withExecutionInfo
(ExportTaskExecutionInfo executionInfo) Execution info about the export task.A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.withLogGroupName
(String logGroupName) The name of the log group from which logs data was exported.withStatus
(ExportTaskStatus status) Status of the export task.withTaskId
(String taskId) Id of the export task.withTaskName
(String taskName) The name of the export task.A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
-
Constructor Details
-
ExportTask
public ExportTask()
-
-
Method Details
-
setTaskId
Id of the export task.
- Parameters:
taskId
- Id of the export task.
-
getTaskId
Id of the export task.
- Returns:
- Id of the export task.
-
withTaskId
Id of the export task.
- Parameters:
taskId
- Id of the export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTaskName
The name of the export task.
- Parameters:
taskName
- The name of the export task.
-
getTaskName
The name of the export task.
- Returns:
- The name of the export task.
-
withTaskName
The name of the export task.
- Parameters:
taskName
- The name of the export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLogGroupName
The name of the log group from which logs data was exported.
- Parameters:
logGroupName
- The name of the log group from which logs data was exported.
-
getLogGroupName
The name of the log group from which logs data was exported.
- Returns:
- The name of the log group from which logs data was exported.
-
withLogGroupName
The name of the log group from which logs data was exported.
- Parameters:
logGroupName
- The name of the log group from which logs data was exported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFrom
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withFrom
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTo
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withTo
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDestination
Name of Amazon S3 bucket to which the log data was exported.
- Parameters:
destination
- Name of Amazon S3 bucket to which the log data was exported.
-
getDestination
Name of Amazon S3 bucket to which the log data was exported.
- Returns:
- Name of Amazon S3 bucket to which the log data was exported.
-
withDestination
Name of Amazon S3 bucket to which the log data was exported.
- Parameters:
destination
- Name of Amazon S3 bucket to which the log data was exported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDestinationPrefix
Prefix that was used as the start of Amazon S3 key for every object exported.
- Parameters:
destinationPrefix
- Prefix that was used as the start of Amazon S3 key for every object exported.
-
getDestinationPrefix
Prefix that was used as the start of Amazon S3 key for every object exported.
- Returns:
- Prefix that was used as the start of Amazon S3 key for every object exported.
-
withDestinationPrefix
Prefix that was used as the start of Amazon S3 key for every object exported.
- Parameters:
destinationPrefix
- Prefix that was used as the start of Amazon S3 key for every object exported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
Status of the export task.
- Parameters:
status
- Status of the export task.
-
getStatus
Status of the export task.
- Returns:
- Status of the export task.
-
withStatus
Status of the export task.
- Parameters:
status
- Status of the export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExecutionInfo
Execution info about the export task.
- Parameters:
executionInfo
- Execution info about the export task.
-
getExecutionInfo
Execution info about the export task.
- Returns:
- Execution info about the export task.
-
withExecutionInfo
Execution info about the export task.
- Parameters:
executionInfo
- Execution info about the export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-