public static interface GetImportResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<GetImportResponse.Builder,GetImportResponse>
| Modifier and Type | Method and Description |
|---|---|
GetImportResponse.Builder |
createdTimestamp(Instant createdTimestamp)
The timestamp of the import's creation.
|
GetImportResponse.Builder |
destinations(Collection<String> destinations)
The ARN of the destination event data store.
|
GetImportResponse.Builder |
destinations(String... destinations)
The ARN of the destination event data store.
|
GetImportResponse.Builder |
endEventTime(Instant endEventTime)
Used with
StartEventTime to bound a StartImport request, and limit imported trail
events to only those events logged within a specified time period. |
GetImportResponse.Builder |
importId(String importId)
The ID of the import.
|
default GetImportResponse.Builder |
importSource(Consumer<ImportSource.Builder> importSource)
The source S3 bucket.
|
GetImportResponse.Builder |
importSource(ImportSource importSource)
The source S3 bucket.
|
default GetImportResponse.Builder |
importStatistics(Consumer<ImportStatistics.Builder> importStatistics)
Provides statistics for the import.
|
GetImportResponse.Builder |
importStatistics(ImportStatistics importStatistics)
Provides statistics for the import.
|
GetImportResponse.Builder |
importStatus(ImportStatus importStatus)
The status of the import.
|
GetImportResponse.Builder |
importStatus(String importStatus)
The status of the import.
|
GetImportResponse.Builder |
startEventTime(Instant startEventTime)
Used with
EndEventTime to bound a StartImport request, and limit imported trail
events to only those events logged within a specified time period. |
GetImportResponse.Builder |
updatedTimestamp(Instant updatedTimestamp)
The timestamp of when the import was updated.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetImportResponse.Builder importId(String importId)
The ID of the import.
importId - The ID of the import.GetImportResponse.Builder destinations(Collection<String> destinations)
The ARN of the destination event data store.
destinations - The ARN of the destination event data store.GetImportResponse.Builder destinations(String... destinations)
The ARN of the destination event data store.
destinations - The ARN of the destination event data store.GetImportResponse.Builder importSource(ImportSource importSource)
The source S3 bucket.
importSource - The source S3 bucket.default GetImportResponse.Builder importSource(Consumer<ImportSource.Builder> importSource)
The source S3 bucket.
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)GetImportResponse.Builder startEventTime(Instant startEventTime)
Used with EndEventTime to bound a StartImport request, and limit imported trail
events to only those events logged within a specified time period.
startEventTime - Used with EndEventTime to bound a StartImport request, and limit imported
trail events to only those events logged within a specified time period.GetImportResponse.Builder endEventTime(Instant endEventTime)
Used with StartEventTime to bound a StartImport request, and limit imported trail
events to only those events logged within a specified time period.
endEventTime - Used with StartEventTime to bound a StartImport request, and limit imported
trail events to only those events logged within a specified time period.GetImportResponse.Builder importStatus(String importStatus)
The status of the import.
importStatus - The status of the import.ImportStatus,
ImportStatusGetImportResponse.Builder importStatus(ImportStatus importStatus)
The status of the import.
importStatus - The status of the import.ImportStatus,
ImportStatusGetImportResponse.Builder createdTimestamp(Instant createdTimestamp)
The timestamp of the import's creation.
createdTimestamp - The timestamp of the import's creation.GetImportResponse.Builder updatedTimestamp(Instant updatedTimestamp)
The timestamp of when the import was updated.
updatedTimestamp - The timestamp of when the import was updated.GetImportResponse.Builder importStatistics(ImportStatistics importStatistics)
Provides statistics for the import. CloudTrail does not update import statistics in real-time. Returned
values for parameters such as EventsCompleted may be lower than the actual value, because
CloudTrail updates statistics incrementally over the course of the import.
importStatistics - Provides statistics for the import. CloudTrail does not update import statistics in real-time.
Returned values for parameters such as EventsCompleted may be lower than the actual
value, because CloudTrail updates statistics incrementally over the course of the import.default GetImportResponse.Builder importStatistics(Consumer<ImportStatistics.Builder> importStatistics)
Provides statistics for the import. CloudTrail does not update import statistics in real-time. Returned
values for parameters such as EventsCompleted may be lower than the actual value, because
CloudTrail updates statistics incrementally over the course of the import.
ImportStatistics.Builder avoiding the
need to create one manually via ImportStatistics.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to importStatistics(ImportStatistics).
importStatistics - a consumer that will call methods on ImportStatistics.BuilderimportStatistics(ImportStatistics)Copyright © 2023. All rights reserved.