public static interface ExportTask.Builder extends CopyableBuilder<ExportTask.Builder,ExportTask>
Modifier and Type | Method and Description |
---|---|
ExportTask.Builder |
destination(String destination)
The name of Amazon S3 bucket to which the log data was exported.
|
ExportTask.Builder |
destinationPrefix(String destinationPrefix)
The prefix that was used as the start of Amazon S3 key for every object exported.
|
default ExportTask.Builder |
executionInfo(Consumer<ExportTaskExecutionInfo.Builder> executionInfo)
Execution info about the export task.
|
ExportTask.Builder |
executionInfo(ExportTaskExecutionInfo executionInfo)
Execution info about the export task.
|
ExportTask.Builder |
from(Long from)
The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
ExportTask.Builder |
logGroupName(String logGroupName)
The name of the log group from which logs data was exported.
|
default ExportTask.Builder |
status(Consumer<ExportTaskStatus.Builder> status)
The status of the export task.
|
ExportTask.Builder |
status(ExportTaskStatus status)
The status of the export task.
|
ExportTask.Builder |
taskId(String taskId)
The ID of the export task.
|
ExportTask.Builder |
taskName(String taskName)
The name of the export task.
|
ExportTask.Builder |
to(Long to)
The end time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
copy
apply, build
ExportTask.Builder taskId(String taskId)
The ID of the export task.
taskId
- The ID of the export task.ExportTask.Builder taskName(String taskName)
The name of the export task.
taskName
- The name of the export task.ExportTask.Builder logGroupName(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.ExportTask.Builder from(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.ExportTask.Builder to(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.ExportTask.Builder destination(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.ExportTask.Builder destinationPrefix(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.ExportTask.Builder status(ExportTaskStatus status)
The status of the export task.
status
- The status of the export task.default ExportTask.Builder status(Consumer<ExportTaskStatus.Builder> status)
The status of the export task.
This is a convenience that creates an instance of theExportTaskStatus.Builder
avoiding the need to
create one manually via ExportTaskStatus.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to status(ExportTaskStatus)
.status
- a consumer that will call methods on ExportTaskStatus.Builder
status(ExportTaskStatus)
ExportTask.Builder executionInfo(ExportTaskExecutionInfo executionInfo)
Execution info about the export task.
executionInfo
- Execution info about the export task.default ExportTask.Builder executionInfo(Consumer<ExportTaskExecutionInfo.Builder> executionInfo)
Execution info about the export task.
This is a convenience that creates an instance of theExportTaskExecutionInfo.Builder
avoiding the
need to create one manually via ExportTaskExecutionInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to executionInfo(ExportTaskExecutionInfo)
.executionInfo
- a consumer that will call methods on ExportTaskExecutionInfo.Builder
executionInfo(ExportTaskExecutionInfo)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.