JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.qconnect.model

Class UpdateContentRequest

    • Constructor Detail

      • UpdateContentRequest

        public UpdateContentRequest()
    • Method Detail

      • setContentId

        public void setContentId(String contentId)

        The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.

        Parameters:
        contentId - The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
      • getContentId

        public String getContentId()

        The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.

        Returns:
        The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
      • withContentId

        public UpdateContentRequest withContentId(String contentId)

        The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.

        Parameters:
        contentId - The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setKnowledgeBaseId

        public void setKnowledgeBaseId(String knowledgeBaseId)

        The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN

        Parameters:
        knowledgeBaseId - The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN
      • getKnowledgeBaseId

        public String getKnowledgeBaseId()

        The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN

        Returns:
        The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN
      • withKnowledgeBaseId

        public UpdateContentRequest withKnowledgeBaseId(String knowledgeBaseId)

        The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN

        Parameters:
        knowledgeBaseId - The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getMetadata

        public Map<String,String> getMetadata()

        A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q in Connect, you can store an external version identifier as metadata to utilize for determining drift.

        Returns:
        A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q in Connect, you can store an external version identifier as metadata to utilize for determining drift.
      • setMetadata

        public void setMetadata(Map<String,String> metadata)

        A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q in Connect, you can store an external version identifier as metadata to utilize for determining drift.

        Parameters:
        metadata - A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q in Connect, you can store an external version identifier as metadata to utilize for determining drift.
      • withMetadata

        public UpdateContentRequest withMetadata(Map<String,String> metadata)

        A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q in Connect, you can store an external version identifier as metadata to utilize for determining drift.

        Parameters:
        metadata - A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q in Connect, you can store an external version identifier as metadata to utilize for determining drift.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clearMetadataEntries

        public UpdateContentRequest clearMetadataEntries()
        Removes all the entries added into Metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOverrideLinkOutUri

        public void setOverrideLinkOutUri(String overrideLinkOutUri)

        The URI for the article. If the knowledge base has a templateUri, setting this argument overrides it for this piece of content. To remove an existing overrideLinkOurUri, exclude this argument and set removeOverrideLinkOutUri to true.

        Parameters:
        overrideLinkOutUri - The URI for the article. If the knowledge base has a templateUri, setting this argument overrides it for this piece of content. To remove an existing overrideLinkOurUri, exclude this argument and set removeOverrideLinkOutUri to true.
      • getOverrideLinkOutUri

        public String getOverrideLinkOutUri()

        The URI for the article. If the knowledge base has a templateUri, setting this argument overrides it for this piece of content. To remove an existing overrideLinkOurUri, exclude this argument and set removeOverrideLinkOutUri to true.

        Returns:
        The URI for the article. If the knowledge base has a templateUri, setting this argument overrides it for this piece of content. To remove an existing overrideLinkOurUri, exclude this argument and set removeOverrideLinkOutUri to true.
      • withOverrideLinkOutUri

        public UpdateContentRequest withOverrideLinkOutUri(String overrideLinkOutUri)

        The URI for the article. If the knowledge base has a templateUri, setting this argument overrides it for this piece of content. To remove an existing overrideLinkOurUri, exclude this argument and set removeOverrideLinkOutUri to true.

        Parameters:
        overrideLinkOutUri - The URI for the article. If the knowledge base has a templateUri, setting this argument overrides it for this piece of content. To remove an existing overrideLinkOurUri, exclude this argument and set removeOverrideLinkOutUri to true.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRemoveOverrideLinkOutUri

        public void setRemoveOverrideLinkOutUri(Boolean removeOverrideLinkOutUri)

        Unset the existing overrideLinkOutUri if it exists.

        Parameters:
        removeOverrideLinkOutUri - Unset the existing overrideLinkOutUri if it exists.
      • getRemoveOverrideLinkOutUri

        public Boolean getRemoveOverrideLinkOutUri()

        Unset the existing overrideLinkOutUri if it exists.

        Returns:
        Unset the existing overrideLinkOutUri if it exists.
      • withRemoveOverrideLinkOutUri

        public UpdateContentRequest withRemoveOverrideLinkOutUri(Boolean removeOverrideLinkOutUri)

        Unset the existing overrideLinkOutUri if it exists.

        Parameters:
        removeOverrideLinkOutUri - Unset the existing overrideLinkOutUri if it exists.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isRemoveOverrideLinkOutUri

        public Boolean isRemoveOverrideLinkOutUri()

        Unset the existing overrideLinkOutUri if it exists.

        Returns:
        Unset the existing overrideLinkOutUri if it exists.
      • setRevisionId

        public void setRevisionId(String revisionId)

        The revisionId of the content resource to update, taken from an earlier call to GetContent, GetContentSummary, SearchContent, or ListContents . If included, this argument acts as an optimistic lock to ensure content was not modified since it was last read. If it has been modified, this API throws a PreconditionFailedException.

        Parameters:
        revisionId - The revisionId of the content resource to update, taken from an earlier call to GetContent, GetContentSummary, SearchContent, or ListContents. If included, this argument acts as an optimistic lock to ensure content was not modified since it was last read. If it has been modified, this API throws a PreconditionFailedException.
      • getRevisionId

        public String getRevisionId()

        The revisionId of the content resource to update, taken from an earlier call to GetContent, GetContentSummary, SearchContent, or ListContents . If included, this argument acts as an optimistic lock to ensure content was not modified since it was last read. If it has been modified, this API throws a PreconditionFailedException.

        Returns:
        The revisionId of the content resource to update, taken from an earlier call to GetContent, GetContentSummary, SearchContent, or ListContents. If included, this argument acts as an optimistic lock to ensure content was not modified since it was last read. If it has been modified, this API throws a PreconditionFailedException.
      • withRevisionId

        public UpdateContentRequest withRevisionId(String revisionId)

        The revisionId of the content resource to update, taken from an earlier call to GetContent, GetContentSummary, SearchContent, or ListContents . If included, this argument acts as an optimistic lock to ensure content was not modified since it was last read. If it has been modified, this API throws a PreconditionFailedException.

        Parameters:
        revisionId - The revisionId of the content resource to update, taken from an earlier call to GetContent, GetContentSummary, SearchContent, or ListContents. If included, this argument acts as an optimistic lock to ensure content was not modified since it was last read. If it has been modified, this API throws a PreconditionFailedException.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTitle

        public void setTitle(String title)

        The title of the content.

        Parameters:
        title - The title of the content.
      • getTitle

        public String getTitle()

        The title of the content.

        Returns:
        The title of the content.
      • withTitle

        public UpdateContentRequest withTitle(String title)

        The title of the content.

        Parameters:
        title - The title of the content.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setUploadId

        public void setUploadId(String uploadId)

        A pointer to the uploaded asset. This value is returned by StartContentUpload.

        Parameters:
        uploadId - A pointer to the uploaded asset. This value is returned by StartContentUpload.
      • withUploadId

        public UpdateContentRequest withUploadId(String uploadId)

        A pointer to the uploaded asset. This value is returned by StartContentUpload.

        Parameters:
        uploadId - A pointer to the uploaded asset. This value is returned by StartContentUpload.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /