public class ExportTask
extends java.lang.Object
implements java.io.Serializable
Represents an export task.
Constructor and Description |
---|
ExportTask() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDestination()
The name of Amazon S3 bucket to which the log data was exported.
|
java.lang.String |
getDestinationPrefix()
The 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()
The start time, expressed as the number of milliseconds after 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()
The status of the export task.
|
java.lang.String |
getTaskId()
The ID of the export task.
|
java.lang.String |
getTaskName()
The name of the export task.
|
java.lang.Long |
getTo()
The end time, expressed as the number of milliseconds after Jan 1, 1970
00:00:00 UTC.
|
int |
hashCode() |
void |
setDestination(java.lang.String destination)
The name of Amazon S3 bucket to which the log data was exported.
|
void |
setDestinationPrefix(java.lang.String destinationPrefix)
The 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)
The start time, expressed as the number of milliseconds after 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)
The status of the export task.
|
void |
setTaskId(java.lang.String taskId)
The ID of the export task.
|
void |
setTaskName(java.lang.String taskName)
The name of the export task.
|
void |
setTo(java.lang.Long to)
The end time, expressed as the number of milliseconds after 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)
The name of Amazon S3 bucket to which the log data was exported.
|
ExportTask |
withDestinationPrefix(java.lang.String destinationPrefix)
The 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)
The start time, expressed as the number of milliseconds after 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)
The status of the export task.
|
ExportTask |
withTaskId(java.lang.String taskId)
The ID of the export task.
|
ExportTask |
withTaskName(java.lang.String taskName)
The name of the export task.
|
ExportTask |
withTo(java.lang.Long to)
The end time, expressed as the number of milliseconds after Jan 1, 1970
00:00:00 UTC.
|
public java.lang.String getTaskId()
The ID of the export task.
Constraints:
Length: 1 - 512
The ID of the export task.
public void setTaskId(java.lang.String taskId)
The ID of the export task.
Constraints:
Length: 1 - 512
taskId
- The ID of the export task.
public ExportTask withTaskId(java.lang.String taskId)
The ID of the export task.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
taskId
- The ID of the export task.
public java.lang.String getTaskName()
The name of the export task.
Constraints:
Length: 1 - 512
The name of the export task.
public void setTaskName(java.lang.String taskName)
The name of the export task.
Constraints:
Length: 1 - 512
taskName
- The name of the export task.
public ExportTask withTaskName(java.lang.String taskName)
The name of the export task.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
taskName
- The name of the export task.
public java.lang.String getLogGroupName()
The name of the log group from which logs data was exported.
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
The name of the log group from which logs data was exported.
public void setLogGroupName(java.lang.String logGroupName)
The name of the log group from which logs data was exported.
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
logGroupName
- 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
logGroupName
- The name of the log group from which logs data was exported.
public java.lang.Long getFrom()
The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a time stamp before this time are not exported.
Constraints:
Range: 0 -
The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a time stamp before this time are not exported.
public void setFrom(java.lang.Long from)
The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a time stamp before this time are not exported.
Constraints:
Range: 0 -
from
- The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a time stamp before this time are not exported.
public ExportTask withFrom(java.lang.Long from)
The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a time stamp before this time are not exported.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
from
- The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a time stamp before this time are not exported.
public java.lang.Long getTo()
The end time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a time stamp later than this time are not exported.
Constraints:
Range: 0 -
The end time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a time stamp later than this time are not exported.
public void setTo(java.lang.Long to)
The end time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a time stamp later than this time are not exported.
Constraints:
Range: 0 -
to
- The end time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a time stamp later than this time are not exported.
public ExportTask withTo(java.lang.Long to)
The end time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a time stamp later than this time are not exported.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
to
- The end time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a time stamp later than this time are not exported.
public java.lang.String getDestination()
The name of Amazon S3 bucket to which the log data was exported.
Constraints:
Length: 1 - 512
The name of Amazon S3 bucket to which the log data was exported.
public void setDestination(java.lang.String destination)
The name of Amazon S3 bucket to which the log data was exported.
Constraints:
Length: 1 - 512
destination
- The name of Amazon S3 bucket to which the log data was exported.
public ExportTask withDestination(java.lang.String destination)
The name of Amazon S3 bucket to which the log data was exported.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
destination
- The name of Amazon S3 bucket to which the log data was exported.
public java.lang.String getDestinationPrefix()
The prefix that was used as the start of Amazon S3 key for every object exported.
The prefix that was used as the start of Amazon S3 key for every object exported.
public void setDestinationPrefix(java.lang.String destinationPrefix)
The prefix that was used as the start of Amazon S3 key for every object exported.
destinationPrefix
- The prefix that was used as the start of Amazon S3 key for every object exported.
public ExportTask withDestinationPrefix(java.lang.String destinationPrefix)
The prefix that was used as the start of Amazon S3 key for every object exported.
Returns a reference to this object so that method calls can be chained together.
destinationPrefix
- The prefix that was used as the start of Amazon S3 key for every object exported.
public ExportTaskStatus getStatus()
The status of the export task.
The status of the export task.
public void setStatus(ExportTaskStatus status)
The status of the export task.
status
- The status of the export task.
public ExportTask withStatus(ExportTaskStatus status)
The status of the export task.
Returns a reference to this object so that method calls can be chained together.
status
- The status of the export task.
public ExportTaskExecutionInfo getExecutionInfo()
Execution info about the export task.
Execution info about the export task.
public void setExecutionInfo(ExportTaskExecutionInfo executionInfo)
Execution info about the export task.
executionInfo
- Execution info about the export task.
public ExportTask withExecutionInfo(ExportTaskExecutionInfo executionInfo)
Execution info about the export task.
Returns a reference to this object so that method calls can be chained together.
executionInfo
- Execution info about the export task.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.