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 withStartEventTimeto bound aStartImportrequest, and limit imported trail events to only those events logged within a specified time period.The ID of the import.default StartImportRequest.BuilderimportSource(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 withEndEventTimeto bound aStartImportrequest, 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailRequest.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
-
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.Builderavoiding the need to create one manually viaImportSource.builder().When the
Consumercompletes,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
EndEventTimeto bound aStartImportrequest, 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 specifiedStartEventTimeandEndEventTimebefore attempting to import events.- Parameters:
startEventTime- Use withEndEventTimeto bound aStartImportrequest, 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 specifiedStartEventTimeandEndEventTimebefore attempting to import events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endEventTime
Use with
StartEventTimeto bound aStartImportrequest, 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 specifiedStartEventTimeandEndEventTimebefore attempting to import events.- Parameters:
endEventTime- Use withStartEventTimeto bound aStartImportrequest, 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 specifiedStartEventTimeandEndEventTimebefore 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-