Interface StartImportResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<StartImportResponse.Builder,StartImportResponse>, LexModelsV2Response.Builder, SdkBuilder<StartImportResponse.Builder,StartImportResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
StartImportResponse

public static interface StartImportResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<StartImportResponse.Builder,StartImportResponse>
  • Method Details

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

      default StartImportResponse.Builder resourceSpecification(Consumer<ImportResourceSpecification.Builder> resourceSpecification)

      The parameters used when importing the resource.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resourceSpecification(ImportResourceSpecification).

      Parameters:
      resourceSpecification - a consumer that will call methods on ImportResourceSpecification.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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:
    • 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

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