Interface StartDatasetGenerationRequest.Builder

  • Method Details

    • datasetId

      The unique identifier of the dataset to add the generated examples to. The dataset must be ACTIVE.

      Parameters:
      datasetId - The unique identifier of the dataset to add the generated examples to. The dataset must be ACTIVE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the dataset generation. The generation ID starts with this name.

      Parameters:
      name - The name of the dataset generation. The generation ID starts with this name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      A description of the dataset generation.

      Parameters:
      description - A description of the dataset generation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scenarioType

      StartDatasetGenerationRequest.Builder scenarioType(String scenarioType)

      The type of scenario to generate. If you don't specify a value, the generation produces DYNAMIC scenarios.

      Parameters:
      scenarioType - The type of scenario to generate. If you don't specify a value, the generation produces DYNAMIC scenarios.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scenarioType

      The type of scenario to generate. If you don't specify a value, the generation produces DYNAMIC scenarios.

      Parameters:
      scenarioType - The type of scenario to generate. If you don't specify a value, the generation produces DYNAMIC scenarios.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • source

      Where the generation reads sessions from, and how it selects, samples, labels and redacts them.

      Parameters:
      source - Where the generation reads sessions from, and how it selects, samples, labels and redacts them.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • source

      Where the generation reads sessions from, and how it selects, samples, labels and redacts them.

      This is a convenience method that creates an instance of the GenerationSource.Builder avoiding the need to create one manually via GenerationSource.builder().

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

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

      A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.

      Parameters:
      clientToken - A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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