Interface StartImportResponse.Builder

    • Method Detail

      • importId

        StartImportResponse.Builder importId​(String importId)

        A unique identifier for the import.

        Parameters:
        importId - A unique identifier for the import.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceSpecification

        StartImportResponse.Builder resourceSpecification​(ImportResourceSpecification resourceSpecification)

        The parameters used when importing the resource.

        Parameters:
        resourceSpecification - The parameters used when importing the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mergeStrategy

        StartImportResponse.Builder mergeStrategy​(String mergeStrategy)

        The strategy used when there was a name conflict between the imported resource and an existing resource. When the merge strategy is FailOnConflict existing resources are not overwritten and the import fails.

        Parameters:
        mergeStrategy - The strategy used when there was a name conflict between the imported resource and an existing resource. When the merge strategy is FailOnConflict existing resources are not overwritten and the import fails.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MergeStrategy, MergeStrategy
      • mergeStrategy

        StartImportResponse.Builder mergeStrategy​(MergeStrategy mergeStrategy)

        The strategy used when there was a name conflict between the imported resource and an existing resource. When the merge strategy is FailOnConflict existing resources are not overwritten and the import fails.

        Parameters:
        mergeStrategy - The strategy used when there was a name conflict between the imported resource and an existing resource. When the merge strategy is FailOnConflict existing resources are not overwritten and the import fails.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MergeStrategy, MergeStrategy
      • importStatus

        StartImportResponse.Builder importStatus​(String importStatus)

        The current status of the import. When the status is Complete the bot, bot alias, or custom vocabulary is ready to use.

        Parameters:
        importStatus - The current status of the import. When the status is Complete the bot, bot alias, or custom vocabulary is ready to use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ImportStatus, ImportStatus
      • importStatus

        StartImportResponse.Builder importStatus​(ImportStatus importStatus)

        The current status of the import. When the status is Complete the bot, bot alias, or custom vocabulary is ready to use.

        Parameters:
        importStatus - The current status of the import. When the status is Complete the bot, bot alias, or custom vocabulary is ready to use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ImportStatus, ImportStatus
      • creationDateTime

        StartImportResponse.Builder creationDateTime​(Instant creationDateTime)

        The date and time that the import request was created.

        Parameters:
        creationDateTime - The date and time that the import request was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.