Interface CreateExportTaskRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CloudWatchLogsRequest.Builder, CopyableBuilder<CreateExportTaskRequest.Builder,CreateExportTaskRequest>, SdkBuilder<CreateExportTaskRequest.Builder,CreateExportTaskRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateExportTaskRequest

public static interface CreateExportTaskRequest.Builder extends CloudWatchLogsRequest.Builder, SdkPojo, CopyableBuilder<CreateExportTaskRequest.Builder,CreateExportTaskRequest>
  • Method Details

    • 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

      CreateExportTaskRequest.Builder logGroupName(String logGroupName)

      The name of the log group.

      Parameters:
      logGroupName - The name of the log group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logStreamNamePrefix

      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.

      Parameters:
      logStreamNamePrefix - Export only log streams that match the provided prefix. If you don't specify a value, no prefix filter is applied.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 timestamp earlier than this time are not exported.

      Parameters:
      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 timestamp earlier than this time are not exported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 timestamp later than this time are not exported.

      You must specify a time that is not earlier than when this log group was created.

      Parameters:
      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 timestamp later than this time are not exported.

      You must specify a time that is not earlier than when this log group was created.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destination

      CreateExportTaskRequest.Builder destination(String destination)

      The name of S3 bucket for the exported log data. The bucket must be in the same Amazon Web Services Region.

      Parameters:
      destination - The name of S3 bucket for the exported log data. The bucket must be in the same Amazon Web Services Region.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationPrefix

      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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateExportTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.