Interface StartImportRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudTrailRequest.Builder
,CopyableBuilder<StartImportRequest.Builder,
,StartImportRequest> SdkBuilder<StartImportRequest.Builder,
,StartImportRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartImportRequest
-
Method Summary
Modifier and TypeMethodDescriptiondestinations
(String... destinations) The ARN of the destination event data store.destinations
(Collection<String> destinations) The ARN of the destination event data store.endEventTime
(Instant endEventTime) Use withStartEventTime
to bound aStartImport
request, and limit imported trail events to only those events logged within a specified time period.The ID of the import.default StartImportRequest.Builder
importSource
(Consumer<ImportSource.Builder> importSource) The source S3 bucket for the import.importSource
(ImportSource importSource) The source S3 bucket for the import.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.startEventTime
(Instant startEventTime) Use withEndEventTime
to bound aStartImport
request, and limit imported trail events to only those events logged within a specified time period.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailRequest.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 Details
-
destinations
The ARN of the destination event data store. Use this parameter for a new import.
- Parameters:
destinations
- The ARN of the destination event data store. Use this parameter for a new import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
The ARN of the destination event data store. Use this parameter for a new import.
- Parameters:
destinations
- The ARN of the destination event data store. Use this parameter for a new import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importSource
The source S3 bucket for the import. Use this parameter for a new import.
- Parameters:
importSource
- The source S3 bucket for the import. Use this parameter for a new import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaImportSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimportSource(ImportSource)
.- Parameters:
importSource
- a consumer that will call methods onImportSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startEventTime
Use with
EndEventTime
to bound aStartImport
request, and limit imported trail events to only those events logged within a specified time period. When you specify a time range, CloudTrail checks the prefix and log file names to verify the names contain a date between the specifiedStartEventTime
andEndEventTime
before attempting to import events.- Parameters:
startEventTime
- Use withEndEventTime
to bound aStartImport
request, and limit imported trail events to only those events logged within a specified time period. When you specify a time range, CloudTrail checks the prefix and log file names to verify the names contain a date between the specifiedStartEventTime
andEndEventTime
before attempting to import events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endEventTime
Use with
StartEventTime
to bound aStartImport
request, and limit imported trail events to only those events logged within a specified time period. When you specify a time range, CloudTrail checks the prefix and log file names to verify the names contain a date between the specifiedStartEventTime
andEndEventTime
before attempting to import events.- Parameters:
endEventTime
- Use withStartEventTime
to bound aStartImport
request, and limit imported trail events to only those events logged within a specified time period. When you specify a time range, CloudTrail checks the prefix and log file names to verify the names contain a date between the specifiedStartEventTime
andEndEventTime
before attempting to import events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importId
The ID of the import. Use this parameter when you are retrying an import.
- Parameters:
importId
- The ID of the import. Use this parameter when you are retrying an import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartImportRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartImportRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-