Interface StartImportRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudTrailRequest.Builder,CopyableBuilder<StartImportRequest.Builder,StartImportRequest>,SdkBuilder<StartImportRequest.Builder,StartImportRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartImportRequest
public static interface StartImportRequest.Builder extends CloudTrailRequest.Builder, SdkPojo, CopyableBuilder<StartImportRequest.Builder,StartImportRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartImportRequest.Builderdestinations(String... destinations)The ARN of the destination event data store.StartImportRequest.Builderdestinations(Collection<String> destinations)The ARN of the destination event data store.StartImportRequest.BuilderendEventTime(Instant endEventTime)Use withStartEventTimeto bound aStartImportrequest, and limit imported trail events to only those events logged within a specified time period.StartImportRequest.BuilderimportId(String importId)The ID of the import.default StartImportRequest.BuilderimportSource(Consumer<ImportSource.Builder> importSource)The source S3 bucket for the import.StartImportRequest.BuilderimportSource(ImportSource importSource)The source S3 bucket for the import.StartImportRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartImportRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartImportRequest.BuilderstartEventTime(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
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, sdkFields
-
-
-
-
Method Detail
-
destinations
StartImportRequest.Builder destinations(Collection<String> 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
StartImportRequest.Builder destinations(String... 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
StartImportRequest.Builder importSource(ImportSource 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
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.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:
importSource(ImportSource)
-
startEventTime
StartImportRequest.Builder startEventTime(Instant 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
StartImportRequest.Builder endEventTime(Instant 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
StartImportRequest.Builder importId(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartImportRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-