public static interface StartImportRequest.Builder extends CloudTrailRequest.Builder, SdkPojo, CopyableBuilder<StartImportRequest.Builder,StartImportRequest>
| Modifier and Type | Method and Description |
|---|---|
StartImportRequest.Builder |
destinations(Collection<String> destinations)
The destination event data store.
|
StartImportRequest.Builder |
destinations(String... destinations)
The destination event data store.
|
StartImportRequest.Builder |
endEventTime(Instant endEventTime)
Use with
StartEventTime to bound a StartImport request, and limit imported trail
events to only those events logged within a specified time period. |
StartImportRequest.Builder |
importId(String importId)
The ID of the import.
|
default StartImportRequest.Builder |
importSource(Consumer<ImportSource.Builder> importSource)
The source S3 bucket for the import.
|
StartImportRequest.Builder |
importSource(ImportSource importSource)
The source S3 bucket for the import.
|
StartImportRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
StartImportRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
StartImportRequest.Builder |
startEventTime(Instant startEventTime)
Use with
EndEventTime to bound a StartImport request, and limit imported trail
events to only those events logged within a specified time period. |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildStartImportRequest.Builder destinations(Collection<String> destinations)
The destination event data store. Use this parameter for a new import.
destinations - The destination event data store. Use this parameter for a new import.StartImportRequest.Builder destinations(String... destinations)
The destination event data store. Use this parameter for a new import.
destinations - The destination event data store. Use this parameter for a new import.StartImportRequest.Builder importSource(ImportSource importSource)
The source S3 bucket for the import. Use this parameter for a new import.
importSource - The source S3 bucket for the import. Use this parameter for a new import.default StartImportRequest.Builder importSource(Consumer<ImportSource.Builder> importSource)
The source S3 bucket for the import. Use this parameter for a new import.
This is a convenience method that creates an instance of theImportSource.Builder avoiding the need
to create one manually via ImportSource.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to importSource(ImportSource).
importSource - a consumer that will call methods on ImportSource.BuilderimportSource(ImportSource)StartImportRequest.Builder startEventTime(Instant startEventTime)
Use with EndEventTime to bound a StartImport request, and limit imported trail
events to only those events logged within a specified time period.
startEventTime - Use with EndEventTime to bound a StartImport request, and limit imported
trail events to only those events logged within a specified time period.StartImportRequest.Builder endEventTime(Instant endEventTime)
Use with StartEventTime to bound a StartImport request, and limit imported trail
events to only those events logged within a specified time period.
endEventTime - Use with StartEventTime to bound a StartImport request, and limit imported
trail events to only those events logged within a specified time period.StartImportRequest.Builder importId(String importId)
The ID of the import. Use this parameter when you are retrying an import.
importId - The ID of the import. Use this parameter when you are retrying an import.StartImportRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderStartImportRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.