Interface GetPromptRequest.Builder

  • Method Details

    • promptIdentifier

      GetPromptRequest.Builder promptIdentifier(String promptIdentifier)

      The unique identifier of the prompt.

      Parameters:
      promptIdentifier - The unique identifier of the prompt.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • promptVersion

      GetPromptRequest.Builder promptVersion(String promptVersion)

      The version of the prompt about which you want to retrieve information. Omit this field to return information about the working draft of the prompt.

      Parameters:
      promptVersion - The version of the prompt about which you want to retrieve information. Omit this field to return information about the working draft of the prompt.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • includedData

      GetPromptRequest.Builder includedData(String includedData)

      Controls the scope of data returned. Set to METADATA_ONLY to return only resource metadata. Set to ALL_DATA or omit this field to return the full response.

      Parameters:
      includedData - Controls the scope of data returned. Set to METADATA_ONLY to return only resource metadata. Set to ALL_DATA or omit this field to return the full response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • includedData

      GetPromptRequest.Builder includedData(IncludedData includedData)

      Controls the scope of data returned. Set to METADATA_ONLY to return only resource metadata. Set to ALL_DATA or omit this field to return the full response.

      Parameters:
      includedData - Controls the scope of data returned. Set to METADATA_ONLY to return only resource metadata. Set to ALL_DATA or omit this field to return the full response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

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