Interface ExportTask.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExportTask.Builder,
,ExportTask> SdkBuilder<ExportTask.Builder,
,ExportTask> SdkPojo
- Enclosing class:
ExportTask
-
Method Summary
Modifier and TypeMethodDescriptiondestination
(String destination) The name of the S3 bucket to which the log data was exported.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 information about the export task.executionInfo
(ExportTaskExecutionInfo executionInfo) Execution information about the export task.The start time, expressed as the number of milliseconds afterJan 1, 1970 00:00:00 UTC
.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.status
(ExportTaskStatus status) The status of the export task.The ID of the export task.The name of the export task.The end time, expressed as the number of milliseconds afterJan 1, 1970 00:00:00 UTC
.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
taskId
The ID of the export task.
- Parameters:
taskId
- The ID of the export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskName
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.
-
logGroupName
The name of the log group from which logs data was exported.
- Parameters:
logGroupName
- The name of the log group from which logs data was exported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
from
The start time, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC
. Events with a timestamp before this time are not exported.- Parameters:
from
- The start time, expressed as the number of milliseconds afterJan 1, 1970 00:00:00 UTC
. Events with a timestamp before this time are not exported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
to
The end time, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC
. Events with a timestamp later than this time are not exported.- Parameters:
to
- The end time, expressed as the number of milliseconds afterJan 1, 1970 00:00:00 UTC
. Events with a timestamp later than this time are not exported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
The name of the S3 bucket to which the log data was exported.
- Parameters:
destination
- The name of the S3 bucket to which the log data was exported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPrefix
The prefix that was used as the start of Amazon S3 key for every object exported.
- Parameters:
destinationPrefix
- The prefix that was used as the start of Amazon S3 key for every object exported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the export task.
- Parameters:
status
- The status of the export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the export task.
This is a convenience method that creates an instance of theExportTaskStatus.Builder
avoiding the need to create one manually viaExportTaskStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(ExportTaskStatus)
.- Parameters:
status
- a consumer that will call methods onExportTaskStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionInfo
Execution information about the export task.
- Parameters:
executionInfo
- Execution information about the export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionInfo
Execution information about the export task.
This is a convenience method that creates an instance of theExportTaskExecutionInfo.Builder
avoiding the need to create one manually viaExportTaskExecutionInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexecutionInfo(ExportTaskExecutionInfo)
.- Parameters:
executionInfo
- a consumer that will call methods onExportTaskExecutionInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-