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 point in time expressed as the number of milliseconds since Jan 1, 1970
00:00:00 UTC.
|
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 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 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 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 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 point in time expressed as the number of milliseconds since Jan 1, 1970
00:00:00 UTC.
|
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 point in time expressed as the number of milliseconds since Jan 1, 1970
00:00:00 UTC.
|
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 point in time expressed as the number of milliseconds since Jan 1, 1970
00:00:00 UTC.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. It indicates the start time of the range for the request. Events with a timestamp prior to this time will not be exported.
from
- A point in time expressed as the number of milliseconds since Jan
1, 1970 00:00:00 UTC. It indicates 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 point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. It indicates 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 point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. It indicates the start time of the range for the request. Events with a timestamp prior to this time will not be exported.
from
- A point in time expressed as the number of milliseconds since Jan
1, 1970 00:00:00 UTC. It indicates 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 point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. It indicates the end time of the range for the request. Events with a timestamp later than this time will not be exported.
to
- A point in time expressed as the number of milliseconds since Jan
1, 1970 00:00:00 UTC. It indicates 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 point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. It indicates 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 point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. It indicates the end time of the range for the request. Events with a timestamp later than this time will not be exported.
to
- A point in time expressed as the number of milliseconds since Jan
1, 1970 00:00:00 UTC. It indicates 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.
Note: Only buckets in the same AWS region are supported.
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.
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.
Note: Only buckets in the same AWS region are supported.
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 © 2013 Amazon Web Services, Inc. All Rights Reserved.