Interface StartImportRequest.Builder

  • Method Details

    • importId

      StartImportRequest.Builder importId(String importId)

      The unique identifier for the import. It is included in the response from the CreateUploadUrl operation.

      Parameters:
      importId - The unique identifier for the import. It is included in the response from the CreateUploadUrl operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceSpecification

      StartImportRequest.Builder resourceSpecification(ImportResourceSpecification resourceSpecification)

      Parameters for creating the bot, bot locale or custom vocabulary.

      Parameters:
      resourceSpecification - Parameters for creating the bot, bot locale or custom vocabulary.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceSpecification

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

      Parameters for creating the bot, bot locale or custom vocabulary.

      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

      StartImportRequest.Builder mergeStrategy(String mergeStrategy)

      The strategy to use when there is 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 to use when there is 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

      StartImportRequest.Builder mergeStrategy(MergeStrategy mergeStrategy)

      The strategy to use when there is 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 to use when there is 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:
    • filePassword

      StartImportRequest.Builder filePassword(String filePassword)

      The password used to encrypt the zip archive that contains the resource definition. You should always encrypt the zip archive to protect it during transit between your site and Amazon Lex.

      Parameters:
      filePassword - The password used to encrypt the zip archive that contains the resource definition. You should always encrypt the zip archive to protect it during transit between your site and Amazon Lex.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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