Interface Import.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Import.Builder,,Import> SdkBuilder<Import.Builder,,Import> SdkPojo
- Enclosing class:
Import
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime(Long creationTime) The timestamp when the import task was created, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.errorMessage(String errorMessage) Error message related to any failed importsimportDestinationArn(String importDestinationArn) The ARN of the managed CloudWatch Logs log group where the events are being imported to.default Import.BuilderimportFilter(Consumer<ImportFilter.Builder> importFilter) The filter criteria used for this import task.importFilter(ImportFilter importFilter) The filter criteria used for this import task.The unique identifier of the import task.importSourceArn(String importSourceArn) The ARN of the CloudTrail Lake Event Data Store being imported from.default Import.BuilderimportStatistics(Consumer<ImportStatistics.Builder> importStatistics) Statistics about the import progressimportStatistics(ImportStatistics importStatistics) Statistics about the import progressimportStatus(String importStatus) The current status of the import task.importStatus(ImportStatus importStatus) The current status of the import task.lastUpdatedTime(Long lastUpdatedTime) The timestamp when the import task was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.Methods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
importId
The unique identifier of the import task.
- Parameters:
importId- The unique identifier of the import task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importSourceArn
The ARN of the CloudTrail Lake Event Data Store being imported from.
- Parameters:
importSourceArn- The ARN of the CloudTrail Lake Event Data Store being imported from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importStatus
The current status of the import task. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.
- Parameters:
importStatus- The current status of the import task. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
importStatus
The current status of the import task. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.
- Parameters:
importStatus- The current status of the import task. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
importDestinationArn
The ARN of the managed CloudWatch Logs log group where the events are being imported to.
- Parameters:
importDestinationArn- The ARN of the managed CloudWatch Logs log group where the events are being imported to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importStatistics
Statistics about the import progress
- Parameters:
importStatistics- Statistics about the import progress- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importStatistics
Statistics about the import progress
This is a convenience method that creates an instance of theImportStatistics.Builderavoiding the need to create one manually viaImportStatistics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimportStatistics(ImportStatistics).- Parameters:
importStatistics- a consumer that will call methods onImportStatistics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
importFilter
The filter criteria used for this import task.
- Parameters:
importFilter- The filter criteria used for this import task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importFilter
The filter criteria used for this import task.
This is a convenience method that creates an instance of theImportFilter.Builderavoiding the need to create one manually viaImportFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimportFilter(ImportFilter).- Parameters:
importFilter- a consumer that will call methods onImportFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The timestamp when the import task was created, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
- Parameters:
creationTime- The timestamp when the import task was created, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
The timestamp when the import task was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
- Parameters:
lastUpdatedTime- The timestamp when the import task was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
Error message related to any failed imports
- Parameters:
errorMessage- Error message related to any failed imports- Returns:
- Returns a reference to this object so that method calls can be chained together.
-