Interface StartImportRequest.Builder

    • Method Detail

      • destinations

        StartImportRequest.Builder destinations​(Collection<String> destinations)

        The ARN of the destination event data store. Use this parameter for a new import.

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

        StartImportRequest.Builder destinations​(String... destinations)

        The ARN of the destination event data store. Use this parameter for a new import.

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

        StartImportRequest.Builder importSource​(ImportSource importSource)

        The source S3 bucket for the import. Use this parameter for a new import.

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

        StartImportRequest.Builder startEventTime​(Instant startEventTime)

        Use with EndEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period. When you specify a time range, CloudTrail checks the prefix and log file names to verify the names contain a date between the specified StartEventTime and EndEventTime before attempting to import events.

        Parameters:
        startEventTime - Use with EndEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period. When you specify a time range, CloudTrail checks the prefix and log file names to verify the names contain a date between the specified StartEventTime and EndEventTime before attempting to import events.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endEventTime

        StartImportRequest.Builder endEventTime​(Instant endEventTime)

        Use with StartEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period. When you specify a time range, CloudTrail checks the prefix and log file names to verify the names contain a date between the specified StartEventTime and EndEventTime before attempting to import events.

        Parameters:
        endEventTime - Use with StartEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period. When you specify a time range, CloudTrail checks the prefix and log file names to verify the names contain a date between the specified StartEventTime and EndEventTime before attempting to import events.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • importId

        StartImportRequest.Builder importId​(String importId)

        The ID of the import. Use this parameter when you are retrying an import.

        Parameters:
        importId - The ID of the import. Use this parameter when you are retrying an import.
        Returns:
        Returns a reference to this object so that method calls can be chained together.