Class CreateExportTaskRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
Name of Amazon S3 bucket to which the log data will be exported.Prefix that will be used as the start of Amazon S3 key for every object exported.getFrom()
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.The name of the log group to export.Will only export log streams that match the provided logStreamNamePrefix.The name of the export task.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
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
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.toString()
Returns a string representation of this object; useful for testing and debugging.withDestination
(String destination) Name of Amazon S3 bucket to which the log data will be exported.withDestinationPrefix
(String destinationPrefix) Prefix that will be used as the start of Amazon S3 key for every object exported.A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.withLogGroupName
(String logGroupName) The name of the log group to export.withLogStreamNamePrefix
(String logStreamNamePrefix) Will only export log streams that match the provided logStreamNamePrefix.withTaskName
(String taskName) The name of the export task.A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
CreateExportTaskRequest
public CreateExportTaskRequest()
-
-
Method Details
-
setTaskName
The name of the export task.
- Parameters:
taskName
- The name of the export task.
-
getTaskName
The name of the export task.
- Returns:
- The name of the export task.
-
withTaskName
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
The name of the log group to export.
- Parameters:
logGroupName
- The name of the log group to export.
-
getLogGroupName
The name of the log group to export.
- Returns:
- The name of the log group to export.
-
withLogGroupName
The name of the log group to export.
- Parameters:
logGroupName
- The name of the log group to export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLogStreamNamePrefix
Will only export log streams that match the provided logStreamNamePrefix. If you don't specify a value, no prefix filter is applied.
- Parameters:
logStreamNamePrefix
- Will only export log streams that match the provided logStreamNamePrefix. If you don't specify a value, no prefix filter is applied.
-
getLogStreamNamePrefix
Will only export log streams that match the provided logStreamNamePrefix. If you don't specify a value, no prefix filter is applied.
- Returns:
- Will only export log streams that match the provided logStreamNamePrefix. If you don't specify a value, no prefix filter is applied.
-
withLogStreamNamePrefix
Will only export log streams that match the provided logStreamNamePrefix. If you don't specify a value, no prefix filter is applied.
- Parameters:
logStreamNamePrefix
- Will only export log streams that match the provided logStreamNamePrefix. If you don't specify a value, no prefix filter is applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFrom
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withFrom
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTo
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withTo
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDestination
Name of Amazon S3 bucket to which the log data will be exported.
Note: Only buckets in the same AWS region are supported.
- Parameters:
destination
- Name of Amazon S3 bucket to which the log data will be exported.Note: Only buckets in the same AWS region are supported.
-
getDestination
Name of Amazon S3 bucket to which the log data will be exported.
Note: Only buckets in the same AWS region are supported.
- Returns:
- Name of Amazon S3 bucket to which the log data will be
exported.
Note: Only buckets in the same AWS region are supported.
-
withDestination
Name of Amazon S3 bucket to which the log data will be exported.
Note: Only buckets in the same AWS region are supported.
- Parameters:
destination
- Name of Amazon S3 bucket to which the log data will be exported.Note: Only buckets in the same AWS region are supported.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDestinationPrefix
Prefix that will be used as the start of Amazon S3 key for every object exported. If not specified, this defaults to 'exportedlogs'.
- Parameters:
destinationPrefix
- Prefix that will be used as the start of Amazon S3 key for every object exported. If not specified, this defaults to 'exportedlogs'.
-
getDestinationPrefix
Prefix that will be used as the start of Amazon S3 key for every object exported. If not specified, this defaults to 'exportedlogs'.
- Returns:
- Prefix that will be used as the start of Amazon S3 key for every object exported. If not specified, this defaults to 'exportedlogs'.
-
withDestinationPrefix
Prefix that will be used as the start of Amazon S3 key for every object exported. If not specified, this defaults to 'exportedlogs'.
- Parameters:
destinationPrefix
- Prefix that will be used as the start of Amazon S3 key for every object exported. If not specified, this defaults to 'exportedlogs'.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-