Interface CreateExportTaskRequest.Builder

    • Method Detail

      • taskName

        CreateExportTaskRequest.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

        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

        CreateExportTaskRequest.Builder from​(Long 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

        CreateExportTaskRequest.Builder to​(Long 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.