Interface StartImportRequest.Builder

  • Method Details

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

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

      The source S3 bucket for the import. Use this parameter for a new 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:
    • 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.
    • overrideConfiguration

      StartImportRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.