Interface GetRetrieverResponse.Builder

  • Method Details

    • applicationId

      GetRetrieverResponse.Builder applicationId(String applicationId)

      The identifier of the Amazon Q Business application using the retriever.

      Parameters:
      applicationId - The identifier of the Amazon Q Business application using the retriever.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • retrieverId

      GetRetrieverResponse.Builder retrieverId(String retrieverId)

      The identifier of the retriever.

      Parameters:
      retrieverId - The identifier of the retriever.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • retrieverArn

      GetRetrieverResponse.Builder retrieverArn(String retrieverArn)

      The Amazon Resource Name (ARN) of the IAM role associated with the retriever.

      Parameters:
      retrieverArn - The Amazon Resource Name (ARN) of the IAM role associated with the retriever.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of the retriever.

      Parameters:
      type - The type of the retriever.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of the retriever.

      Parameters:
      type - The type of the retriever.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the retriever.

      Parameters:
      status - The status of the retriever.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the retriever.

      Parameters:
      status - The status of the retriever.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • displayName

      GetRetrieverResponse.Builder displayName(String displayName)

      The name of the retriever.

      Parameters:
      displayName - The name of the retriever.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configuration

      Sets the value of the Configuration property for this object.
      Parameters:
      configuration - The new value for the Configuration property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configuration

      Sets the value of the Configuration property for this object. This is a convenience method that creates an instance of the RetrieverConfiguration.Builder avoiding the need to create one manually via RetrieverConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to configuration(RetrieverConfiguration).

      Parameters:
      configuration - a consumer that will call methods on RetrieverConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • roleArn

      The Amazon Resource Name (ARN) of the role with the permission to access the retriever and required resources.

      Parameters:
      roleArn - The Amazon Resource Name (ARN) of the role with the permission to access the retriever and required resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      GetRetrieverResponse.Builder createdAt(Instant createdAt)

      The Unix timestamp when the retriever was created.

      Parameters:
      createdAt - The Unix timestamp when the retriever was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      GetRetrieverResponse.Builder updatedAt(Instant updatedAt)

      The Unix timestamp when the retriever was last updated.

      Parameters:
      updatedAt - The Unix timestamp when the retriever was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.