Interface StartImportFileTaskRequest.Builder

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

  • Method Details

    • s3Bucket

      The S3 bucket where the import file is located. The bucket name is required to begin with migrationhub-strategy-.

      Parameters:
      s3Bucket - The S3 bucket where the import file is located. The bucket name is required to begin with migrationhub-strategy-.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSourceType

      StartImportFileTaskRequest.Builder dataSourceType(String dataSourceType)

      Specifies the source that the servers are coming from. By default, Strategy Recommendations assumes that the servers specified in the import file are available in AWS Application Discovery Service.

      Parameters:
      dataSourceType - Specifies the source that the servers are coming from. By default, Strategy Recommendations assumes that the servers specified in the import file are available in AWS Application Discovery Service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dataSourceType

      StartImportFileTaskRequest.Builder dataSourceType(DataSourceType dataSourceType)

      Specifies the source that the servers are coming from. By default, Strategy Recommendations assumes that the servers specified in the import file are available in AWS Application Discovery Service.

      Parameters:
      dataSourceType - Specifies the source that the servers are coming from. By default, Strategy Recommendations assumes that the servers specified in the import file are available in AWS Application Discovery Service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • groupId

      Groups the resources in the import file together with a unique name. This ID can be as filter in ListApplicationComponents and ListServers.

      Parameters:
      groupId - Groups the resources in the import file together with a unique name. This ID can be as filter in ListApplicationComponents and ListServers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupId

      Groups the resources in the import file together with a unique name. This ID can be as filter in ListApplicationComponents and ListServers.

      Parameters:
      groupId - Groups the resources in the import file together with a unique name. This ID can be as filter in ListApplicationComponents and ListServers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupId

      Groups the resources in the import file together with a unique name. This ID can be as filter in ListApplicationComponents and ListServers.

      This is a convenience method that creates an instance of the Group.Builder avoiding the need to create one manually via Group.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to groupId(List<Group>).

      Parameters:
      groupId - a consumer that will call methods on Group.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      A descriptive name for the request.

      Parameters:
      name - A descriptive name for the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3bucketForReportData

      StartImportFileTaskRequest.Builder s3bucketForReportData(String s3bucketForReportData)

      The S3 bucket where Strategy Recommendations uploads import results. The bucket name is required to begin with migrationhub-strategy-.

      Parameters:
      s3bucketForReportData - The S3 bucket where Strategy Recommendations uploads import results. The bucket name is required to begin with migrationhub-strategy-.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3key

      The Amazon S3 key name of the import file.

      Parameters:
      s3key - The Amazon S3 key name of the import file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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