public static interface CreateExportTaskRequest.Builder extends CloudWatchLogsRequest.Builder, CopyableBuilder<CreateExportTaskRequest.Builder,CreateExportTaskRequest>
Modifier and Type | Method and Description |
---|---|
CreateExportTaskRequest.Builder |
destination(String destination)
The name of S3 bucket for the exported log data.
|
CreateExportTaskRequest.Builder |
destinationPrefix(String destinationPrefix)
The prefix used as the start of the key for every object exported.
|
CreateExportTaskRequest.Builder |
from(Long from)
The start time of the range for the request, expressed as the number of milliseconds after Jan 1, 1970
00:00:00 UTC.
|
CreateExportTaskRequest.Builder |
logGroupName(String logGroupName)
The name of the log group.
|
CreateExportTaskRequest.Builder |
logStreamNamePrefix(String logStreamNamePrefix)
Export only log streams that match the provided prefix.
|
CreateExportTaskRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateExportTaskRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateExportTaskRequest.Builder |
taskName(String taskName)
The name of the export task.
|
CreateExportTaskRequest.Builder |
to(Long to)
The end time of the range for the request, expressed as the number of milliseconds after Jan 1, 1970 00:00:00
UTC.
|
build
overrideConfiguration
copy
applyMutation, build
CreateExportTaskRequest.Builder taskName(String taskName)
The name of the export task.
taskName
- The name of the export task.CreateExportTaskRequest.Builder logGroupName(String logGroupName)
The name of the log group.
logGroupName
- The name of the log group.CreateExportTaskRequest.Builder logStreamNamePrefix(String logStreamNamePrefix)
Export only log streams that match the provided prefix. If you don't specify a value, no prefix filter is applied.
logStreamNamePrefix
- Export only log streams that match the provided prefix. If you don't specify a value, no prefix filter
is applied.CreateExportTaskRequest.Builder from(Long from)
The start time of the range for the request, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a time stamp earlier than this time are not exported.
from
- The start time of the range for the request, expressed as the number of milliseconds after Jan 1, 1970
00:00:00 UTC. Events with a time stamp earlier than this time are not exported.CreateExportTaskRequest.Builder to(Long to)
The end time of the range for the request, 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 of the range for the request, 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.CreateExportTaskRequest.Builder destination(String destination)
The name of S3 bucket for the exported log data. The bucket must be in the same AWS region.
destination
- The name of S3 bucket for the exported log data. The bucket must be in the same AWS region.CreateExportTaskRequest.Builder destinationPrefix(String destinationPrefix)
The prefix used as the start of the key for every object exported. If you don't specify a value, the default
is exportedlogs
.
destinationPrefix
- The prefix used as the start of the key for every object exported. If you don't specify a value, the
default is exportedlogs
.CreateExportTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateExportTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.