Interface DescribeImportResponse.Builder

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

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

    • importId

      The unique identifier of the described import.

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

      DescribeImportResponse.Builder resourceSpecification(ImportResourceSpecification resourceSpecification)

      The specifications of the imported bot, bot locale, or custom vocabulary.

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

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

      The specifications of the imported 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:
    • importedResourceId

      DescribeImportResponse.Builder importedResourceId(String importedResourceId)

      The unique identifier that Amazon Lex assigned to the resource created by the import.

      Parameters:
      importedResourceId - The unique identifier that Amazon Lex assigned to the resource created by the import.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • importedResourceName

      DescribeImportResponse.Builder importedResourceName(String importedResourceName)

      The name of the imported resource.

      Parameters:
      importedResourceName - The name of the imported resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mergeStrategy

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

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

      DescribeImportResponse.Builder importStatus(String importStatus)

      The status of the import process. When the status is Completed the resource is imported and ready for use.

      Parameters:
      importStatus - The status of the import process. When the status is Completed the resource is imported and ready for use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • importStatus

      DescribeImportResponse.Builder importStatus(ImportStatus importStatus)

      The status of the import process. When the status is Completed the resource is imported and ready for use.

      Parameters:
      importStatus - The status of the import process. When the status is Completed the resource is imported and ready for use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failureReasons

      DescribeImportResponse.Builder failureReasons(Collection<String> failureReasons)

      If the importStatus field is Failed, this provides one or more reasons for the failure.

      Parameters:
      failureReasons - If the importStatus field is Failed, this provides one or more reasons for the failure.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureReasons

      DescribeImportResponse.Builder failureReasons(String... failureReasons)

      If the importStatus field is Failed, this provides one or more reasons for the failure.

      Parameters:
      failureReasons - If the importStatus field is Failed, this provides one or more reasons for the failure.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationDateTime

      DescribeImportResponse.Builder creationDateTime(Instant creationDateTime)

      The date and time that the import was created.

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

      DescribeImportResponse.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)

      The date and time that the import was last updated.

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