Class ExportTask
- java.lang.Object
-
- com.amazonaws.services.logs.model.ExportTask
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ExportTask extends Object implements Serializable, Cloneable
Represents an export task.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExportTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExportTaskclone()booleanequals(Object obj)StringgetDestination()Name of Amazon S3 bucket to which the log data was exported.StringgetDestinationPrefix()Prefix that was used as the start of Amazon S3 key for every object exported.ExportTaskExecutionInfogetExecutionInfo()Execution info about the export task.LonggetFrom()A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.StringgetLogGroupName()The name of the log group from which logs data was exported.ExportTaskStatusgetStatus()Status of the export task.StringgetTaskId()Id of the export task.StringgetTaskName()The name of the export task.LonggetTo()A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.inthashCode()voidsetDestination(String destination)Name of Amazon S3 bucket to which the log data was exported.voidsetDestinationPrefix(String destinationPrefix)Prefix that was used as the start of Amazon S3 key for every object exported.voidsetExecutionInfo(ExportTaskExecutionInfo executionInfo)Execution info about the export task.voidsetFrom(Long from)A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.voidsetLogGroupName(String logGroupName)The name of the log group from which logs data was exported.voidsetStatus(ExportTaskStatus status)Status of the export task.voidsetTaskId(String taskId)Id of the export task.voidsetTaskName(String taskName)The name of the export task.voidsetTo(Long to)A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.StringtoString()Returns a string representation of this object; useful for testing and debugging.ExportTaskwithDestination(String destination)Name of Amazon S3 bucket to which the log data was exported.ExportTaskwithDestinationPrefix(String destinationPrefix)Prefix that was used as the start of Amazon S3 key for every object exported.ExportTaskwithExecutionInfo(ExportTaskExecutionInfo executionInfo)Execution info about the export task.ExportTaskwithFrom(Long from)A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.ExportTaskwithLogGroupName(String logGroupName)The name of the log group from which logs data was exported.ExportTaskwithStatus(ExportTaskStatus status)Status of the export task.ExportTaskwithTaskId(String taskId)Id of the export task.ExportTaskwithTaskName(String taskName)The name of the export task.ExportTaskwithTo(Long to)A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
-
-
-
Method Detail
-
setTaskId
public void setTaskId(String taskId)
Id of the export task.
- Parameters:
taskId- Id of the export task.
-
getTaskId
public String getTaskId()
Id of the export task.
- Returns:
- Id of the export task.
-
withTaskId
public ExportTask withTaskId(String taskId)
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
public void setTaskName(String taskName)
The name of the export task.
- Parameters:
taskName- The name of the export task.
-
getTaskName
public String getTaskName()
The name of the export task.
- Returns:
- The name of the export task.
-
withTaskName
public ExportTask withTaskName(String taskName)
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
public void setLogGroupName(String logGroupName)
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
public String 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
public ExportTask withLogGroupName(String logGroupName)
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
public void setFrom(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.
- 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
public 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.
- 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
public ExportTask withFrom(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.
- 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
public void setTo(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.
- 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
public 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.
- 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
public ExportTask withTo(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.
- 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
public void setDestination(String destination)
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
public String 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
public ExportTask withDestination(String destination)
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
public void setDestinationPrefix(String destinationPrefix)
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
public String 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
public ExportTask withDestinationPrefix(String destinationPrefix)
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
public void setStatus(ExportTaskStatus status)
Status of the export task.
- Parameters:
status- Status of the export task.
-
getStatus
public ExportTaskStatus getStatus()
Status of the export task.
- Returns:
- Status of the export task.
-
withStatus
public ExportTask withStatus(ExportTaskStatus status)
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
public void setExecutionInfo(ExportTaskExecutionInfo executionInfo)
Execution info about the export task.
- Parameters:
executionInfo- Execution info about the export task.
-
getExecutionInfo
public ExportTaskExecutionInfo getExecutionInfo()
Execution info about the export task.
- Returns:
- Execution info about the export task.
-
withExecutionInfo
public ExportTask withExecutionInfo(ExportTaskExecutionInfo executionInfo)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ExportTask clone()
-
-