Interface StartImportResponse.Builder

    • Method Detail

      • importId

        StartImportResponse.Builder importId​(String importId)

        The ID of the import.

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

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

        StartImportResponse.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.
      • importSource

        StartImportResponse.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.
      • startEventTime

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

        StartImportResponse.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.
      • importStatus

        StartImportResponse.Builder importStatus​(String importStatus)

        Shows the status of the import after a StartImport request. An import finishes with a status of COMPLETED if there were no failures, or FAILED if there were failures.

        Parameters:
        importStatus - Shows the status of the import after a StartImport request. An import finishes with a status of COMPLETED if there were no failures, or FAILED if there were failures.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ImportStatus, ImportStatus
      • importStatus

        StartImportResponse.Builder importStatus​(ImportStatus importStatus)

        Shows the status of the import after a StartImport request. An import finishes with a status of COMPLETED if there were no failures, or FAILED if there were failures.

        Parameters:
        importStatus - Shows the status of the import after a StartImport request. An import finishes with a status of COMPLETED if there were no failures, or FAILED if there were failures.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ImportStatus, ImportStatus
      • createdTimestamp

        StartImportResponse.Builder createdTimestamp​(Instant createdTimestamp)

        The timestamp for the import's creation.

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

        StartImportResponse.Builder updatedTimestamp​(Instant updatedTimestamp)

        The timestamp of the import's last update, if applicable.

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