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 Details

    • 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

      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:
    • 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 the 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).

      Parameters:
      importStatistics - a consumer that will call methods on ImportStatistics.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the ImportFilter.Builder avoiding the need to create one manually via ImportFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to importFilter(ImportFilter).

      Parameters:
      importFilter - a consumer that will call methods on ImportFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.