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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateExportTaskRequest.Builder
destination(String destination)
The name of S3 bucket for the exported log data.CreateExportTaskRequest.Builder
destinationPrefix(String destinationPrefix)
The prefix used as the start of the key for every object exported.CreateExportTaskRequest.Builder
from(Long from)
The start time of the range for the request, expressed as the number of milliseconds afterJan 1, 1970 00:00:00 UTC
.CreateExportTaskRequest.Builder
logGroupName(String logGroupName)
The name of the log group.CreateExportTaskRequest.Builder
logStreamNamePrefix(String logStreamNamePrefix)
Export only log streams that match the provided prefix.CreateExportTaskRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateExportTaskRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateExportTaskRequest.Builder
taskName(String taskName)
The name of the export task.CreateExportTaskRequest.Builder
to(Long to)
The end time of the range for the request, expressed as the number of milliseconds afterJan 1, 1970 00:00:00 UTC
.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
build
-
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
-
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 afterJan 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 afterJan 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 isexportedlogs
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateExportTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateExportTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-