@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExportTask extends Object implements Serializable, Cloneable, StructuredPojo
Represents an export task.
Constructor and Description |
---|
ExportTask() |
Modifier and Type | Method and Description |
---|---|
ExportTask |
clone() |
boolean |
equals(Object obj) |
String |
getDestination()
The name of Amazon S3 bucket to which the log data was exported.
|
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.
|
Long |
getFrom()
The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
String |
getLogGroupName()
The name of the log group from which logs data was exported.
|
ExportTaskStatus |
getStatus()
The status of the export task.
|
String |
getTaskId()
The ID of the export task.
|
String |
getTaskName()
The name of the export task.
|
Long |
getTo()
The end time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDestination(String destination)
The name of Amazon S3 bucket to which the log data was exported.
|
void |
setDestinationPrefix(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(Long from)
The start time, expressed as the number of milliseconds after 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)
The status of the export task.
|
void |
setTaskId(String taskId)
The ID of the export task.
|
void |
setTaskName(String taskName)
The name of the export task.
|
void |
setTo(Long to)
The end time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ExportTask |
withDestination(String destination)
The name of Amazon S3 bucket to which the log data was exported.
|
ExportTask |
withDestinationPrefix(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(Long from)
The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
ExportTask |
withLogGroupName(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(String taskId)
The ID of the export task.
|
ExportTask |
withTaskName(String taskName)
The name of the export task.
|
ExportTask |
withTo(Long to)
The end time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
public void setTaskId(String taskId)
The ID of the export task.
taskId
- The ID of the export task.public String getTaskId()
The ID of the export task.
public ExportTask withTaskId(String taskId)
The ID of the export task.
taskId
- The ID of the export task.public void setTaskName(String taskName)
The name of the export task.
taskName
- The name of the export task.public String getTaskName()
The name of the export task.
public ExportTask withTaskName(String taskName)
The name of the export task.
taskName
- The name of the export task.public void setLogGroupName(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 String getLogGroupName()
The name of the log group from which logs data was exported.
public ExportTask withLogGroupName(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(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.
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 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.
public ExportTask withFrom(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.
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 void setTo(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.
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 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.
public ExportTask withTo(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.
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 void setDestination(String destination)
The name of Amazon S3 bucket to which the log data was exported.
destination
- The name of Amazon S3 bucket to which the log data was exported.public String getDestination()
The name of Amazon S3 bucket to which the log data was exported.
public ExportTask withDestination(String destination)
The name of Amazon S3 bucket to which the log data was exported.
destination
- The name of Amazon S3 bucket to which the log data was exported.public void setDestinationPrefix(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 String getDestinationPrefix()
The prefix that was used as the start of Amazon S3 key for every object exported.
public ExportTask withDestinationPrefix(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 void setStatus(ExportTaskStatus status)
The status of the export task.
status
- The status of the export task.public ExportTaskStatus getStatus()
The status of the export task.
public ExportTask withStatus(ExportTaskStatus status)
The status of the export task.
status
- The 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 String toString()
toString
in class Object
Object.toString()
public ExportTask clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.