Interface CreateExportTaskRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchLogsRequest.Builder,CopyableBuilder<CreateExportTaskRequest.Builder,,CreateExportTaskRequest> SdkBuilder<CreateExportTaskRequest.Builder,,CreateExportTaskRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateExportTaskRequest
-
Method Summary
Modifier and TypeMethodDescriptiondestination(String destination) The name of S3 bucket for the exported log data.destinationPrefix(String destinationPrefix) The prefix used as the start of the key for every object exported.The start time of the range for the request, expressed as the number of milliseconds afterJan 1, 1970 00:00:00 UTC.logGroupName(String logGroupName) The name of the log group.logStreamNamePrefix(String logStreamNamePrefix) Export only log streams that match the provided prefix.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of the export task.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
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 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
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
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
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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateExportTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-