Interface ExportTask.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ExportTask.Builder,ExportTask>,SdkBuilder<ExportTask.Builder,ExportTask>,SdkPojo
- Enclosing class:
- ExportTask
public static interface ExportTask.Builder extends SdkPojo, CopyableBuilder<ExportTask.Builder,ExportTask>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ExportTask.Builderdestination(String destination)The name of the S3 bucket to which the log data was exported.ExportTask.BuilderdestinationPrefix(String destinationPrefix)The prefix that was used as the start of Amazon S3 key for every object exported.default ExportTask.BuilderexecutionInfo(Consumer<ExportTaskExecutionInfo.Builder> executionInfo)Execution information about the export task.ExportTask.BuilderexecutionInfo(ExportTaskExecutionInfo executionInfo)Execution information about the export task.ExportTask.Builderfrom(Long from)The start time, expressed as the number of milliseconds afterJan 1, 1970 00:00:00 UTC.ExportTask.BuilderlogGroupName(String logGroupName)The name of the log group from which logs data was exported.default ExportTask.Builderstatus(Consumer<ExportTaskStatus.Builder> status)The status of the export task.ExportTask.Builderstatus(ExportTaskStatus status)The status of the export task.ExportTask.BuildertaskId(String taskId)The ID of the export task.ExportTask.BuildertaskName(String taskName)The name of the export task.ExportTask.Builderto(Long to)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 Detail
-
taskId
ExportTask.Builder taskId(String 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
ExportTask.Builder taskName(String 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
ExportTask.Builder logGroupName(String 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
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 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
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 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
ExportTask.Builder destination(String 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
ExportTask.Builder destinationPrefix(String 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
ExportTask.Builder status(ExportTaskStatus 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
default ExportTask.Builder status(Consumer<ExportTaskStatus.Builder> status)
The status of the export task.
This is a convenience method that creates an instance of theExportTaskStatus.Builderavoiding the need to create one manually viaExportTaskStatus.builder().When the
Consumercompletes,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:
status(ExportTaskStatus)
-
executionInfo
ExportTask.Builder executionInfo(ExportTaskExecutionInfo 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
default ExportTask.Builder executionInfo(Consumer<ExportTaskExecutionInfo.Builder> executionInfo)
Execution information about the export task.
This is a convenience method that creates an instance of theExportTaskExecutionInfo.Builderavoiding the need to create one manually viaExportTaskExecutionInfo.builder().When the
Consumercompletes,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:
executionInfo(ExportTaskExecutionInfo)
-
-