Interface Import.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Import.Builder,Import>,SdkBuilder<Import.Builder,Import>,SdkPojo
- Enclosing class:
- Import
@Mutable @NotThreadSafe public static interface Import.Builder extends SdkPojo, CopyableBuilder<Import.Builder,Import>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Import.BuildercreationTime(Long creationTime)The timestamp when the import task was created, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.Import.BuildererrorMessage(String errorMessage)Error message related to any failed importsImport.BuilderimportDestinationArn(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.Import.BuilderimportFilter(ImportFilter importFilter)The filter criteria used for this import task.Import.BuilderimportId(String importId)The unique identifier of the import task.Import.BuilderimportSourceArn(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 progressImport.BuilderimportStatistics(ImportStatistics importStatistics)Statistics about the import progressImport.BuilderimportStatus(String importStatus)The current status of the import task.Import.BuilderimportStatus(ImportStatus importStatus)The current status of the import task.Import.BuilderlastUpdatedTime(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
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 Detail
-
importId
Import.Builder importId(String 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
Import.Builder importSourceArn(String 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
Import.Builder importStatus(String 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,ImportStatus
-
importStatus
Import.Builder importStatus(ImportStatus 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,ImportStatus
-
importDestinationArn
Import.Builder importDestinationArn(String 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
Import.Builder importStatistics(ImportStatistics 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
default Import.Builder importStatistics(Consumer<ImportStatistics.Builder> 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:
importStatistics(ImportStatistics)
-
importFilter
Import.Builder importFilter(ImportFilter 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
default Import.Builder importFilter(Consumer<ImportFilter.Builder> 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:
importFilter(ImportFilter)
-
creationTime
Import.Builder creationTime(Long 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
Import.Builder 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.
- 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
Import.Builder errorMessage(String 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.
-
-