Interface GetContentRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<GetContentRequest.Builder,GetContentRequest>, QConnectRequest.Builder, SdkBuilder<GetContentRequest.Builder,GetContentRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
GetContentRequest

public static interface GetContentRequest.Builder extends QConnectRequest.Builder, SdkPojo, CopyableBuilder<GetContentRequest.Builder,GetContentRequest>
  • Method Details

    • contentId

      GetContentRequest.Builder contentId(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.
    • knowledgeBaseId

      GetContentRequest.Builder knowledgeBaseId(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. URLs cannot contain 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. URLs cannot contain the ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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