Interface DescribeImportResponse.Builder

    • Method Detail

      • importId

        DescribeImportResponse.Builder importId​(String 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.
      • 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, MergeStrategy
      • 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:
        MergeStrategy, MergeStrategy
      • 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, ImportStatus
      • 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:
        ImportStatus, ImportStatus
      • 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.