Interface StartImportTaskRequest.Builder

All Superinterfaces:
ApplicationDiscoveryRequest.Builder, AwsRequest.Builder, Buildable, CopyableBuilder<StartImportTaskRequest.Builder,StartImportTaskRequest>, SdkBuilder<StartImportTaskRequest.Builder,StartImportTaskRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
StartImportTaskRequest

  • Method Details

    • clientRequestToken

      StartImportTaskRequest.Builder clientRequestToken(String clientRequestToken)

      Optional. A unique token that you can provide to prevent the same import request from occurring more than once. If you don't provide a token, a token is automatically generated.

      Sending more than one StartImportTask request with the same client request token will return information about the original import task with that client request token.

      Parameters:
      clientRequestToken - Optional. A unique token that you can provide to prevent the same import request from occurring more than once. If you don't provide a token, a token is automatically generated.

      Sending more than one StartImportTask request with the same client request token will return information about the original import task with that client request token.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      A descriptive name for this request. You can use this name to filter future requests related to this import task, such as identifying applications and servers that were included in this import task. We recommend that you use a meaningful name for each import task.

      Parameters:
      name - A descriptive name for this request. You can use this name to filter future requests related to this import task, such as identifying applications and servers that were included in this import task. We recommend that you use a meaningful name for each import task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • importUrl

      StartImportTaskRequest.Builder importUrl(String importUrl)

      The URL for your import file that you've uploaded to Amazon S3.

      If you're using the Amazon Web Services CLI, this URL is structured as follows: s3://BucketName/ImportFileName.CSV

      Parameters:
      importUrl - The URL for your import file that you've uploaded to Amazon S3.

      If you're using the Amazon Web Services CLI, this URL is structured as follows: s3://BucketName/ImportFileName.CSV

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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