public class CreateExportTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateExportTaskRequest() |
Modifier and Type | Method and Description |
---|---|
CreateExportTaskRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDestination()
Name of Amazon S3 bucket to which the log data will be exported.
|
String |
getDestinationPrefix()
Prefix that will be used as the start of Amazon S3 key for every object
exported.
|
Long |
getFrom()
A unix timestamp indicating the start time of the range for the request.
|
String |
getLogGroupName()
The name of the log group to export.
|
String |
getLogStreamNamePrefix()
Will only export log streams that match the provided logStreamNamePrefix.
|
String |
getTaskName()
The name of the export task.
|
Long |
getTo()
A unix timestamp indicating the end time of the range for the request.
|
int |
hashCode() |
void |
setDestination(String destination)
Name of Amazon S3 bucket to which the log data will be exported.
|
void |
setDestinationPrefix(String destinationPrefix)
Prefix that will be used as the start of Amazon S3 key for every object
exported.
|
void |
setFrom(Long from)
A unix timestamp indicating the start time of the range for the request.
|
void |
setLogGroupName(String logGroupName)
The name of the log group to export.
|
void |
setLogStreamNamePrefix(String logStreamNamePrefix)
Will only export log streams that match the provided logStreamNamePrefix.
|
void |
setTaskName(String taskName)
The name of the export task.
|
void |
setTo(Long to)
A unix timestamp indicating the end time of the range for the request.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateExportTaskRequest |
withDestination(String destination)
Name of Amazon S3 bucket to which the log data will be exported.
|
CreateExportTaskRequest |
withDestinationPrefix(String destinationPrefix)
Prefix that will be used as the start of Amazon S3 key for every object
exported.
|
CreateExportTaskRequest |
withFrom(Long from)
A unix timestamp indicating the start time of the range for the request.
|
CreateExportTaskRequest |
withLogGroupName(String logGroupName)
The name of the log group to export.
|
CreateExportTaskRequest |
withLogStreamNamePrefix(String logStreamNamePrefix)
Will only export log streams that match the provided logStreamNamePrefix.
|
CreateExportTaskRequest |
withTaskName(String taskName)
The name of the export task.
|
CreateExportTaskRequest |
withTo(Long to)
A unix timestamp indicating the end time of the range for the request.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
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 CreateExportTaskRequest 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 to export.
logGroupName
- The name of the log group to export.public String getLogGroupName()
The name of the log group to export.
public CreateExportTaskRequest withLogGroupName(String logGroupName)
The name of the log group to export.
logGroupName
- The name of the log group to export.public void setLogStreamNamePrefix(String logStreamNamePrefix)
Will only export log streams that match the provided logStreamNamePrefix. If you don't specify a value, no prefix filter is applied.
logStreamNamePrefix
- Will only export log streams that match the provided
logStreamNamePrefix. If you don't specify a value, no prefix
filter is applied.public String getLogStreamNamePrefix()
Will only export log streams that match the provided logStreamNamePrefix. If you don't specify a value, no prefix filter is applied.
public CreateExportTaskRequest withLogStreamNamePrefix(String logStreamNamePrefix)
Will only export log streams that match the provided logStreamNamePrefix. If you don't specify a value, no prefix filter is applied.
logStreamNamePrefix
- Will only export log streams that match the provided
logStreamNamePrefix. If you don't specify a value, no prefix
filter is applied.public void setFrom(Long from)
A unix timestamp indicating the start time of the range for the request. Events with a timestamp prior to this time will not be exported.
from
- A unix timestamp indicating the start time of the range for the
request. Events with a timestamp prior to this time will not be
exported.public Long getFrom()
A unix timestamp indicating the start time of the range for the request. Events with a timestamp prior to this time will not be exported.
public CreateExportTaskRequest withFrom(Long from)
A unix timestamp indicating the start time of the range for the request. Events with a timestamp prior to this time will not be exported.
from
- A unix timestamp indicating the start time of the range for the
request. Events with a timestamp prior to this time will not be
exported.public void setTo(Long to)
A unix timestamp indicating the end time of the range for the request. Events with a timestamp later than this time will not be exported.
to
- A unix timestamp indicating the end time of the range for the
request. Events with a timestamp later than this time will not be
exported.public Long getTo()
A unix timestamp indicating the end time of the range for the request. Events with a timestamp later than this time will not be exported.
public CreateExportTaskRequest withTo(Long to)
A unix timestamp indicating the end time of the range for the request. Events with a timestamp later than this time will not be exported.
to
- A unix timestamp indicating the end time of the range for the
request. Events with a timestamp later than this time will not be
exported.public void setDestination(String destination)
Name of Amazon S3 bucket to which the log data will be exported.
NOTE: Only buckets in the same AWS region are supported
destination
- Name of Amazon S3 bucket to which the log data will be exported. public String getDestination()
Name of Amazon S3 bucket to which the log data will be exported.
NOTE: Only buckets in the same AWS region are supported
public CreateExportTaskRequest withDestination(String destination)
Name of Amazon S3 bucket to which the log data will be exported.
NOTE: Only buckets in the same AWS region are supported
destination
- Name of Amazon S3 bucket to which the log data will be exported. public void setDestinationPrefix(String destinationPrefix)
Prefix that will be used as the start of Amazon S3 key for every object exported. If not specified, this defaults to 'exportedlogs'.
destinationPrefix
- Prefix that will be used as the start of Amazon S3 key for every
object exported. If not specified, this defaults to
'exportedlogs'.public String getDestinationPrefix()
Prefix that will be used as the start of Amazon S3 key for every object exported. If not specified, this defaults to 'exportedlogs'.
public CreateExportTaskRequest withDestinationPrefix(String destinationPrefix)
Prefix that will be used as the start of Amazon S3 key for every object exported. If not specified, this defaults to 'exportedlogs'.
destinationPrefix
- Prefix that will be used as the start of Amazon S3 key for every
object exported. If not specified, this defaults to
'exportedlogs'.public String toString()
toString
in class Object
Object.toString()
public CreateExportTaskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.