Interface KnowledgeBase.Builder

    • Method Detail

      • knowledgeBaseId

        KnowledgeBase.Builder knowledgeBaseId​(String knowledgeBaseId)
        Sets the value of the KnowledgeBaseId property for this object.
        Parameters:
        knowledgeBaseId - The new value for the KnowledgeBaseId property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        KnowledgeBase.Builder name​(String name)
        Sets the value of the Name property for this object.
        Parameters:
        name - The new value for the Name property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • knowledgeBaseArn

        KnowledgeBase.Builder knowledgeBaseArn​(String knowledgeBaseArn)
        Sets the value of the KnowledgeBaseArn property for this object.
        Parameters:
        knowledgeBaseArn - The new value for the KnowledgeBaseArn property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        KnowledgeBase.Builder description​(String description)
        Sets the value of the Description property for this object.
        Parameters:
        description - The new value for the Description property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        KnowledgeBase.Builder roleArn​(String roleArn)
        Sets the value of the RoleArn property for this object.
        Parameters:
        roleArn - The new value for the RoleArn property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • knowledgeBaseConfiguration

        KnowledgeBase.Builder knowledgeBaseConfiguration​(KnowledgeBaseConfiguration knowledgeBaseConfiguration)
        Sets the value of the KnowledgeBaseConfiguration property for this object.
        Parameters:
        knowledgeBaseConfiguration - The new value for the KnowledgeBaseConfiguration property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • storageConfiguration

        KnowledgeBase.Builder storageConfiguration​(StorageConfiguration storageConfiguration)
        Sets the value of the StorageConfiguration property for this object.
        Parameters:
        storageConfiguration - The new value for the StorageConfiguration property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        KnowledgeBase.Builder status​(String status)
        Sets the value of the Status property for this object.
        Parameters:
        status - The new value for the Status property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        KnowledgeBaseStatus, KnowledgeBaseStatus
      • createdAt

        KnowledgeBase.Builder createdAt​(Instant createdAt)
        Sets the value of the CreatedAt property for this object.
        Parameters:
        createdAt - The new value for the CreatedAt property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedAt

        KnowledgeBase.Builder updatedAt​(Instant updatedAt)
        Sets the value of the UpdatedAt property for this object.
        Parameters:
        updatedAt - The new value for the UpdatedAt property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureReasons

        KnowledgeBase.Builder failureReasons​(Collection<String> failureReasons)
        Sets the value of the FailureReasons property for this object.
        Parameters:
        failureReasons - The new value for the FailureReasons property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureReasons

        KnowledgeBase.Builder failureReasons​(String... failureReasons)
        Sets the value of the FailureReasons property for this object.
        Parameters:
        failureReasons - The new value for the FailureReasons property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.