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.Builderdestination(String destination)The name of S3 bucket for the exported log data.CreateExportTaskRequest.BuilderdestinationPrefix(String destinationPrefix)The prefix used as the start of the key for every object exported.CreateExportTaskRequest.Builderfrom(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.BuilderlogGroupName(String logGroupName)The name of the log group.CreateExportTaskRequest.BuilderlogStreamNamePrefix(String logStreamNamePrefix)Export only log streams that match the provided prefix.CreateExportTaskRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateExportTaskRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateExportTaskRequest.BuildertaskName(String taskName)The name of the export task.CreateExportTaskRequest.Builderto(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, sdkFieldNameToField, 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.The length of this parameter must comply with the S3 object key name length limits. The object key name is a sequence of Unicode characters with UTF-8 encoding, and can be up to 1,024 bytes.
- 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.The length of this parameter must comply with the S3 object key name length limits. The object key name is a sequence of Unicode characters with UTF-8 encoding, and can be up to 1,024 bytes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateExportTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateExportTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-