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 Details

    • 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

      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 after Jan 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 after Jan 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

      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 the ExportTaskStatus.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).

      Parameters:
      status - a consumer that will call methods on ExportTaskStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the ExportTaskExecutionInfo.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).

      Parameters:
      executionInfo - a consumer that will call methods on ExportTaskExecutionInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: