Interface StartImportFileTaskRequest.Builder

    • Method Detail

      • s3Bucket

        StartImportFileTaskRequest.Builder s3Bucket​(String 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, DataSourceType
      • 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:
        DataSourceType, DataSourceType
      • groupId

        StartImportFileTaskRequest.Builder groupId​(Collection<Group> 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

        StartImportFileTaskRequest.Builder groupId​(Group... 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

        StartImportFileTaskRequest.Builder groupId​(Consumer<Group.Builder>... 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).

        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:
        #groupId(java.util.Collection)
      • name

        StartImportFileTaskRequest.Builder name​(String 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

        StartImportFileTaskRequest.Builder s3key​(String 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.