Interface StopImportResponse.Builder

  • Method Details

    • importId

      StopImportResponse.Builder importId(String importId)

      The ID for the import.

      Parameters:
      importId - The ID for the import.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • importSource

      StopImportResponse.Builder importSource(ImportSource importSource)

      The source S3 bucket for the import.

      Parameters:
      importSource - The source S3 bucket for the import.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • importSource

      default StopImportResponse.Builder importSource(Consumer<ImportSource.Builder> importSource)

      The source S3 bucket for the import.

      This is a convenience method that creates an instance of the ImportSource.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).

      Parameters:
      importSource - a consumer that will call methods on ImportSource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • destinations

      StopImportResponse.Builder destinations(Collection<String> destinations)

      The ARN of the destination event data store.

      Parameters:
      destinations - The ARN of the destination event data store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinations

      StopImportResponse.Builder destinations(String... destinations)

      The ARN of the destination event data store.

      Parameters:
      destinations - The ARN of the destination event data store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • importStatus

      StopImportResponse.Builder importStatus(String importStatus)

      The status of the import.

      Parameters:
      importStatus - The status of the import.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • importStatus

      StopImportResponse.Builder importStatus(ImportStatus importStatus)

      The status of the import.

      Parameters:
      importStatus - The status of the import.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdTimestamp

      StopImportResponse.Builder createdTimestamp(Instant createdTimestamp)

      The timestamp of the import's creation.

      Parameters:
      createdTimestamp - The timestamp of the import's creation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedTimestamp

      StopImportResponse.Builder updatedTimestamp(Instant updatedTimestamp)

      The timestamp of the import's last update.

      Parameters:
      updatedTimestamp - The timestamp of the import's last update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startEventTime

      StopImportResponse.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.

      Parameters:
      startEventTime - Used with EndEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endEventTime

      StopImportResponse.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.

      Parameters:
      endEventTime - Used with StartEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • importStatistics

      StopImportResponse.Builder importStatistics(ImportStatistics importStatistics)

      Returns information on the stopped import.

      Parameters:
      importStatistics - Returns information on the stopped import.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • importStatistics

      default StopImportResponse.Builder importStatistics(Consumer<ImportStatistics.Builder> importStatistics)

      Returns information on the stopped import.

      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: