Interface GetImportResponse.Builder

    • Method Detail

      • importId

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

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

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

        GetImportResponse.Builder importSource​(ImportSource importSource)

        The source S3 bucket.

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

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

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

        GetImportResponse.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, ImportStatus
      • createdTimestamp

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

        GetImportResponse.Builder updatedTimestamp​(Instant updatedTimestamp)

        The timestamp of when the import was updated.

        Parameters:
        updatedTimestamp - The timestamp of when the import was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • importStatistics

        GetImportResponse.Builder importStatistics​(ImportStatistics importStatistics)

        Provides statistics for the import. CloudTrail does not update import statistics in real-time. Returned values for parameters such as EventsCompleted may be lower than the actual value, because CloudTrail updates statistics incrementally over the course of the import.

        Parameters:
        importStatistics - Provides statistics for the import. CloudTrail does not update import statistics in real-time. Returned values for parameters such as EventsCompleted may be lower than the actual value, because CloudTrail updates statistics incrementally over the course of the import.
        Returns:
        Returns a reference to this object so that method calls can be chained together.